|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.elmo.rolemapper.RoleMapperImpl<URI>
public class RoleMapperImpl<URI>
| Constructor Summary | |
|---|---|
RoleMapperImpl(ComplexMapper<URI> roleMapper)
|
|
| Method Summary | |
|---|---|
void |
addFactory(Class<?> javaClass)
|
void |
addFactory(Class<?> javaClass,
String type)
|
void |
addRole(Class<?> role)
|
void |
addRole(Class<?> role,
String type)
|
Class<?>[] |
findBaseRoles()
Roles that should be included by any bean. |
Collection<Class<?>> |
findIndividualRoles(URI instance,
Collection<Class<?>> classes)
Adds roles to the collection that are specific to this instance. |
Collection<Class<?>> |
findRoles(Collection<URI> types,
Collection<Class<?>> roles)
Finds all the roles that should be implemented by these types. |
Class<?>[] |
findRoles(URI type)
Finds the Java Class for this rdf:Class. |
Collection<URI> |
findSubTypes(Class<?> role,
Collection<URI> rdfTypes)
Finds the rdf:types for concept and any sub-concept(s). |
URI |
findType(Class<?> concept)
Finds the rdf:Class for this Java Class. |
Collection<URI> |
findTypes(Class<?> role,
Collection<URI> rdfTypes)
Finds the rdf:types that this interface or class represents. |
boolean |
isIndividualRolesPresent(URI instance)
Determines if a registered role hase this value as a {link org.openrdf.annotations.oneOf} value. |
boolean |
isTypeRecorded(URI type)
Finds if there exists a Java Class for this rdf:Class. |
void |
setRdfTypeFactory(RdfTypeFactory<URI> vf)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoleMapperImpl(ComplexMapper<URI> roleMapper)
| Method Detail |
|---|
public void setRdfTypeFactory(RdfTypeFactory<URI> vf)
setRdfTypeFactory in interface RoleMapper<URI>public Class<?>[] findBaseRoles()
RoleMapper
findBaseRoles in interface RoleMapper<URI>
public Collection<Class<?>> findIndividualRoles(URI instance,
Collection<Class<?>> classes)
RoleMapper
findIndividualRoles in interface RoleMapper<URI>classespublic Class<?>[] findRoles(URI type)
RoleMapper
findRoles in interface RoleMapper<URI>
public Collection<Class<?>> findRoles(Collection<URI> types,
Collection<Class<?>> roles)
RoleMapper
findRoles in interface RoleMapper<URI>types - rdf:typesroles - collection should be used to add the classes.
roles
public Collection<URI> findSubTypes(Class<?> role,
Collection<URI> rdfTypes)
RoleMapper
findSubTypes in interface RoleMapper<URI>rdfTypespublic URI findType(Class<?> concept)
RoleMapper
findType in interface RoleMapper<URI>
public Collection<URI> findTypes(Class<?> role,
Collection<URI> rdfTypes)
RoleMapper
findTypes in interface RoleMapper<URI>rdfTypespublic boolean isIndividualRolesPresent(URI instance)
RoleMapper
isIndividualRolesPresent in interface RoleMapper<URI>true if {link
RoleMapper.findIndividualRoles(Object, Collection) will modify the
collection.public boolean isTypeRecorded(URI type)
RoleMapper
isTypeRecorded in interface RoleMapper<URI>public void addFactory(Class<?> javaClass)
addFactory in interface RoleMapper<URI>
public void addFactory(Class<?> javaClass,
String type)
addFactory in interface RoleMapper<URI>public void addRole(Class<?> role)
addRole in interface RoleMapper<URI>
public void addRole(Class<?> role,
String type)
addRole in interface RoleMapper<URI>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||