|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ARTLiteral
interface for literal RDF nodes
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Compares a literal object to another object. |
ARTURIResource |
getDatatype()
Gets the datatype for this literal. |
java.lang.String |
getLabel()
Gets the label of this literal. |
java.lang.String |
getLanguage()
Gets the language tag for this literal, normalized to lowercase. |
int |
hashCode()
The hash code of a literal is defined as the hash code of its label: label.hashCode(). |
Methods inherited from interface it.uniroma2.art.owlart.model.ARTNode |
---|
asBNode, asLiteral, asResource, asURIResource, getNominalValue, isBlank, isLiteral, isResource, isURIResource, toString |
Method Detail |
---|
java.lang.String getLabel()
java.lang.String getLanguage()
ARTURIResource getDatatype()
boolean equals(java.lang.Object other)
equals
in interface ARTNode
equals
in class java.lang.Object
other
- The object to compare this literal to.
other
are equal
equal.int hashCode()
hashCode
in interface ARTNode
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |