|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
URI - Class used to represent a rdf:type.public interface RoleMapper<URI>
Maps between roles and rdf:type.
| Method Summary | |
|---|---|
void |
addBehaviour(Class<?> behaviour)
|
void |
addBehaviour(Class<?> behaviour,
String type)
|
void |
addConcept(Class<?> concept)
|
void |
addConcept(Class<?> concept,
String type)
|
void |
addFactory(Class<?> factory)
|
void |
addFactory(Class<?> factory,
String type)
|
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. |
Collection<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<Class<?>> |
getConceptClasses()
|
Collection<Class<?>> |
getConceptOnlyClasses()
|
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)
|
| Method Detail |
|---|
void setRdfTypeFactory(RdfTypeFactory<URI> vf)
Collection<Class<?>> getConceptClasses()
Collection<Class<?>> getConceptOnlyClasses()
void addFactory(Class<?> factory)
void addFactory(Class<?> factory,
String type)
void addConcept(Class<?> concept)
void addConcept(Class<?> concept,
String type)
void addBehaviour(Class<?> behaviour)
void addBehaviour(Class<?> behaviour,
String type)
boolean isIndividualRolesPresent(URI instance)
instance -
true if {link
findIndividualRoles(Object, Collection) will modify the
collection.
Collection<Class<?>> findIndividualRoles(URI instance,
Collection<Class<?>> classes)
instance - classes -
classesCollection<Class<?>> findRoles(URI type)
type -
Collection<Class<?>> findRoles(Collection<URI> types,
Collection<Class<?>> roles)
types - rdf:typesroles - collection should be used to add the classes.
rolesboolean isTypeRecorded(URI type)
type - URI findType(Class<?> concept)
concept -
Collection<URI> findSubTypes(Class<?> role,
Collection<URI> rdfTypes)
concept - rdfTypes -
rdfTypes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||