Package org.rdfhdt.hdtjena.bindings
Class HDTId
- java.lang.Object
-
- org.rdfhdt.hdtjena.bindings.HDTId
-
public class HDTId extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HDTId(long id, TripleComponentRole role, NodeDictionary dict)HDTId(org.apache.jena.graph.Node node)"Does not exist" id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleanexists()NodeDictionarygetDictionary()org.apache.jena.graph.NodegetNode()TripleComponentRolegetRole()longgetValue()java.lang.StringtoString()
-
-
-
Constructor Detail
-
HDTId
public HDTId(long id, TripleComponentRole role, NodeDictionary dict)
-
HDTId
public HDTId(org.apache.jena.graph.Node node)
"Does not exist" id. Guaranteed to be not equal to any other HDTId.
-
-
Method Detail
-
getDictionary
public NodeDictionary getDictionary()
-
getValue
public long getValue()
-
getRole
public TripleComponentRole getRole()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getNode
public org.apache.jena.graph.Node getNode()
-
exists
public boolean exists()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-