public interface Restriction extends Cloneable
| Modifier and Type | Method and Description |
|---|---|
Restriction |
clone() |
com.hp.hpl.jena.graph.Node |
getNode()
Retrieve the node if it has been set.
|
EnumSet<RdfTermType> |
getRdfTermTypes()
The set of possible RDF term types this restriction may have.
|
PrefixSet |
getUriPrefixes()
Retrieve the set of possible URI prefixes.
|
boolean |
hasConstant() |
boolean |
isUnsatisfiable()
Test wether the restriction is unsatisfiable
|
boolean |
stateNode(com.hp.hpl.jena.graph.Node newNode)
Stating a node implies stating the type
|
void |
statePattern(com.karneim.util.collection.regex.PatternPro pattern)
State a URI regex pattern.
|
boolean |
stateRestriction(Restriction other) |
boolean |
stateType(RdfTermType newType)
State whether the resource is a URI or a Literal
|
boolean |
stateUriPrefixes(PrefixSet prefixes)
States a set of valid prefixes.
|
boolean stateRestriction(Restriction other)
boolean stateType(RdfTermType newType)
type - boolean stateNode(com.hp.hpl.jena.graph.Node newNode)
newNode - boolean stateUriPrefixes(PrefixSet prefixes)
prefixes - boolean isUnsatisfiable()
Restriction clone()
void statePattern(com.karneim.util.collection.regex.PatternPro pattern)
boolean hasConstant()
EnumSet<RdfTermType> getRdfTermTypes()
com.hp.hpl.jena.graph.Node getNode()
PrefixSet getUriPrefixes()
Copyright © 2014. All Rights Reserved.