nl.telin.mymedia.apolda
Class Term
java.lang.Object
nl.telin.mymedia.apolda.Term
- All Implemented Interfaces:
- java.io.Serializable
public class Term
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Term(java.lang.String oClass,
java.lang.String oIdentifier,
java.lang.String ontology,
int type)
Creates a new Term value with the given major and minor types |
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getRepresentations()
|
void |
setRepresentations(java.util.List<java.lang.String> representations)
|
java.lang.String |
toString()
Returns a string representation of this term |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
STANDARD
public static final int STANDARD
- See Also:
- Constant Field Values
LITERAL
public static final int LITERAL
- See Also:
- Constant Field Values
oIdentifier
public java.lang.String oIdentifier
oClass
public java.lang.String oClass
ontology
public java.lang.String ontology
- the ontology ID
type
public int type
Term
public Term(java.lang.String oClass,
java.lang.String oIdentifier,
java.lang.String ontology,
int type)
- Creates a new Term value with the given major and minor types
- Parameters:
oClass
- ontology classoIdentifier
- identifier of the ontology nodeontology
- ontologytype
- literal or standard
toString
public java.lang.String toString()
- Returns a string representation of this term
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
-
getRepresentations
public java.util.List<java.lang.String> getRepresentations()
setRepresentations
public void setRepresentations(java.util.List<java.lang.String> representations)