|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.terms.concrete.NOTATION
public class NOTATION
An simple implementation of NOTATION.
| Field Summary |
|---|
| Fields inherited from interface org.deri.iris.api.terms.concrete.INOTATION |
|---|
DATATYPE_URI |
| Constructor Summary | |
|---|---|
NOTATION(String namespaceName,
String localPart)
Creates a new NOTATION instance for the given namespace name and local part. |
|
| Method Summary | |
|---|---|
int |
compareTo(ITerm thatObject)
|
boolean |
equals(Object obj)
|
URI |
getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to this term. |
String |
getLocalPart()
Returns the local part of this NOTATION. |
String |
getNamespaceName()
Returns the namespace name of this NOTATION. |
String[] |
getValue()
Returns an array containing the namespace name (first element) and the local part (second element). |
int |
hashCode()
|
boolean |
isGround()
Checks whether the term is ground (a term with no variables). |
String |
toCanonicalString()
Returns a canonical string representation of this term. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NOTATION(String namespaceName,
String localPart)
namespaceName - The namespace name for this NOTATION. May be null.localPart - The local part of this NOTATION.
NullPointerException - If the local part is null.| Method Detail |
|---|
public String getNamespaceName()
INOTATION
getNamespaceName in interface INOTATIONpublic String getLocalPart()
INOTATION
getLocalPart in interface INOTATIONpublic String[] getValue()
INOTATION
getValue in interface INOTATIONgetValue in interface ITermpublic URI getDatatypeIRI()
IConcreteTerm
getDatatypeIRI in interface IConcreteTermpublic String toCanonicalString()
IConcreteTerm
toCanonicalString in interface IConcreteTermpublic String toString()
toString in class Objectpublic boolean isGround()
ITerm
isGround in interface ITermtrue if the term is ground,
otherwise false.public int compareTo(ITerm thatObject)
compareTo in interface Comparable<ITerm>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||