/** * Explicitly adds the type to the entity. * * @return the entity with new composed type */ public Object addDesignation(Object entity, URI type) throws RepositoryException { return addDesignations(entity, type); }
/** * Explicitly adds the type to the entity. * * @return the entity with new composed type */ public Object addDesignation(Object entity, URI type) throws RepositoryException { return addDesignations(entity, type); }
/** * Explicitly adds the type to the entity. * * @return the entity with new composed types */ public Object addDesignation(Object entity, String uri) throws RepositoryException { return addDesignations(entity, getValueFactory().createURI(uri)); }
/** * Explicitly adds the type to the entity. * * @return the entity with new composed types */ public Object addDesignation(Object entity, String uri) throws RepositoryException { return addDesignations(entity, getValueFactory().createURI(uri)); }
/** * Explicitly adds the types to the entity. * * @return the entity with new composed types */ public Object addDesignations(Object entity, String... uris) throws RepositoryException { URI[] types = new URI[uris.length]; for (int i=0;i<uris.length;i++) { types[i] = getValueFactory().createURI(uris[i]); } return addDesignations(entity, types); }
/** * Explicitly adds the types to the entity. * * @return the entity with new composed types */ public Object addDesignations(Object entity, String... uris) throws RepositoryException { URI[] types = new URI[uris.length]; for (int i=0;i<uris.length;i++) { types[i] = getValueFactory().createURI(uris[i]); } return addDesignations(entity, types); }
Object delegate = support.getBehaviourDelegate(); if (delegate != entity) { return addDesignations(delegate, types);
Object delegate = support.getBehaviourDelegate(); if (delegate != entity) { return addDesignations(delegate, types);