Class PropertyDescriptor

java.lang.Object
org.aksw.jenax.reprogen.hashid.PropertyDescriptor

public class PropertyDescriptor extends Object
  • Field Details

    • classDescriptor

      protected ClassDescriptor 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

      protected Predicate<org.apache.jena.rdf.model.Statement> 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 rdfPropertyExcludedFromHashId
      Only 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 isTargetOwned
      Whether 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

      public PropertyDescriptor setRdfPropertyExcludedFromHashId(boolean onOrOff)
    • isExcludeRdfPropertyFromHashId

      public boolean isExcludeRdfPropertyFromHashId()
    • setIncludedInHashId

      public PropertyDescriptor setIncludedInHashId(boolean onOrOff)
    • isIncludedInHashId

      public boolean isIncludedInHashId()
    • setIriType

      public PropertyDescriptor setIriType(boolean isIriType)
    • isIriType

      public boolean isIriType()
    • setAllowDescendPredicate

      public PropertyDescriptor setAllowDescendPredicate(Predicate<org.apache.jena.rdf.model.Statement> allowDescendPredicate)
    • getAllowDescendPredicate

      public Predicate<org.apache.jena.rdf.model.Statement> 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

      public PropertyDescriptor setTargetOwned(boolean isTargetOwned)
    • getTargetType

      public org.aksw.commons.beans.datatype.DataType getTargetType()
    • setTargetType

      public PropertyDescriptor setTargetType(org.aksw.commons.beans.datatype.DataType targetType)