Package org.aksw.jenax.reprogen.hashid
Class PropertyDescriptor
java.lang.Object
org.aksw.jenax.reprogen.hashid.PropertyDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Predicate<org.apache.jena.rdf.model.Statement>A predicate that can decide for a given RDFNode whether to descend into that node.protected ClassDescriptorprotected booleanprotected booleanprotected booleanWhether the target of this property is owned by the source entity.protected org.apache.jena.sparql.path.P_Path0protected Function<? super org.apache.jena.rdf.model.Resource,? extends Collection<? extends org.apache.jena.rdf.model.RDFNode>> protected booleanOnly valid if includeInHashId is true: Usually the rdf property (path) is combined with the value to form the id.protected org.aksw.commons.beans.datatype.DataType -
Constructor Summary
ConstructorsConstructorDescriptionPropertyDescriptor(ClassDescriptor classDescriptor, org.apache.jena.sparql.path.P_Path0 path) -
Method Summary
Modifier and TypeMethodDescriptionPredicate<org.apache.jena.rdf.model.Statement>org.apache.jena.sparql.path.P_Path0getPath()Function<? super org.apache.jena.rdf.model.Resource,? extends Collection<? extends org.apache.jena.rdf.model.RDFNode>> org.aksw.commons.beans.datatype.DataTypebooleanbooleanbooleanbooleansetAllowDescendPredicate(Predicate<org.apache.jena.rdf.model.Statement> allowDescendPredicate) setIncludedInHashId(boolean onOrOff) setIriType(boolean isIriType) setRawProcessor(Function<? super org.apache.jena.rdf.model.Resource, ? extends Collection<? extends org.apache.jena.rdf.model.RDFNode>> rawProcessor) setRdfPropertyExcludedFromHashId(boolean onOrOff) setTargetOwned(boolean isTargetOwned) setTargetType(org.aksw.commons.beans.datatype.DataType targetType)
-
Field Details
-
classDescriptor
-
path
protected org.apache.jena.sparql.path.P_Path0 path -
targetType
protected org.aksw.commons.beans.datatype.DataType targetType -
rawProcessor
protected Function<? super org.apache.jena.rdf.model.Resource,? extends Collection<? extends org.apache.jena.rdf.model.RDFNode>> rawProcessor -
allowDescendPredicate
A predicate that can decide for a given RDFNode whether to descend into that node. If the predicate evaluates to false for an IRIs then it is not descended into -
includedInHashId
protected boolean includedInHashId -
isIriType
protected boolean isIriType -
rdfPropertyExcludedFromHashId
protected boolean rdfPropertyExcludedFromHashIdOnly valid if includeInHashId is true: Usually the rdf property (path) is combined with the value to form the id. This excludes the rdf property and thus only uses the value. -
isTargetOwned
protected boolean isTargetOwnedWhether the target of this property is owned by the source entity. Ownerships trigger a second hash-id assignment pass that alters the hash ids of owned entities with the hash id of the owner.
-
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor(ClassDescriptor classDescriptor, org.apache.jena.sparql.path.P_Path0 path)
-
-
Method Details
-
getPath
public org.apache.jena.sparql.path.P_Path0 getPath() -
setRdfPropertyExcludedFromHashId
-
isExcludeRdfPropertyFromHashId
public boolean isExcludeRdfPropertyFromHashId() -
setIncludedInHashId
-
isIncludedInHashId
public boolean isIncludedInHashId() -
setIriType
-
isIriType
public boolean isIriType() -
setAllowDescendPredicate
public PropertyDescriptor setAllowDescendPredicate(Predicate<org.apache.jena.rdf.model.Statement> allowDescendPredicate) -
getAllowDescendPredicate
-
setRawProcessor
public PropertyDescriptor setRawProcessor(Function<? super org.apache.jena.rdf.model.Resource, ? extends Collection<? extends org.apache.jena.rdf.model.RDFNode>> rawProcessor) -
getRawProcessor
public Function<? super org.apache.jena.rdf.model.Resource,? extends Collection<? extends org.apache.jena.rdf.model.RDFNode>> getRawProcessor() -
isTargetOwned
public boolean isTargetOwned() -
setTargetOwned
-
getTargetType
public org.aksw.commons.beans.datatype.DataType getTargetType() -
setTargetType
-