Interface RdfTermConstraintOld

All Superinterfaces:
Cloneable

public interface RdfTermConstraintOld extends Cloneable
  • Method Details

    • stateConstraint

      boolean stateConstraint(RdfTermConstraintOld other)
    • stateType

      boolean stateType(RdfTermType newType)
      State whether the resource is a URI or a Literal
      Parameters:
      type -
      Returns:
    • stateNode

      boolean stateNode(org.apache.jena.graph.Node newNode)
      Stating a node implies stating the type
      Parameters:
      newNode -
      Returns:
    • stateUriPrefixes

      boolean stateUriPrefixes(PrefixSet prefixes)
      States a set of valid prefixes. Note: Stating an empty set implies that no URI can be used as a value. If you do not want to constrain the prefixes, don't call this method. If the set of prefixes becomes empty after stating more prefixes, the constraint becomes inconsistent.
      Parameters:
      prefixes -
    • isContradiction

      boolean isContradiction()
      Return true when the constraint is known to always yield false
      Returns:
    • clone

    • hasConstant

      boolean hasConstant()
      State a URI regex pattern. To be done.
    • getRdfTermTypes

      EnumSet<RdfTermType> getRdfTermTypes()
      The set of possible RDF term types this restriction may have.
      Returns:
    • getNode

      org.apache.jena.graph.Node getNode()
      Retrieve the node if it has been set. Implies an RDF term type consistent with the node value.s
      Returns:
      The set node. Null if not set.
    • getUriPrefixes

      PrefixSet getUriPrefixes()
      Retrieve the set of possible URI prefixes. Implies Type.URI
      Returns: