|
||||||||||
| 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 |
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)
|
| Method Detail |
|---|
void setRdfTypeFactory(RdfTypeFactory<URI> vf)
void addFactory(Class<?> javaClass)
void addFactory(Class<?> javaClass,
String type)
void addRole(Class<?> role)
void addRole(Class<?> role,
String type)
Class<?>[] findBaseRoles()
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 -
classesClass<?>[] 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> findTypes(Class<?> role,
Collection<URI> rdfTypes)
concept - rdfTypes -
rdfTypes
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 | |||||||||