public abstract class RdfTypeCollection extends RdfTypeComplexBase
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
collectionClass |
protected org.apache.jena.graph.Node |
predicate |
| Constructor and Description |
|---|
RdfTypeCollection(Class<?> collectionClass,
org.apache.jena.graph.Node predicate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createJavaObject(org.apache.jena.rdf.model.RDFNode node)
Extract a Java (literal) object from a given node.
|
void |
exposeShape(ResourceShapeBuilder rsb) |
Class<?> |
getEntityClass()
Return the Java class corresponding to this type
(maybe it should be Type instead of Class)
|
org.apache.jena.graph.Node |
getRootNode(Object obj)
Return the root node that corresponds to the given object in regard to this RdfType.
|
boolean |
hasIdentity()
Flag to indicate whether entities created from this mapping have their own identity.
|
isSimpleTyperesolveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexposeFragment, populateprotected org.apache.jena.graph.Node predicate
protected Class<?> collectionClass
public RdfTypeCollection(Class<?> collectionClass, org.apache.jena.graph.Node predicate)
public Class<?> getEntityClass()
RdfTypepublic org.apache.jena.graph.Node getRootNode(Object obj)
RdfTypepublic Object createJavaObject(org.apache.jena.rdf.model.RDFNode node)
RdfTypepublic void exposeShape(ResourceShapeBuilder rsb)
public boolean hasIdentity()
RdfTypeCopyright © 2017. All rights reserved.