nl.telin.mymedia.apolda
Class Term

java.lang.Object
  extended by 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

Field Summary
static int LITERAL
           
 java.lang.String oClass
           
 java.lang.String oIdentifier
           
 java.lang.String ontology
          the ontology ID
static int STANDARD
           
 int type
           
 
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
 

Field Detail

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
Constructor Detail

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 class
oIdentifier - identifier of the ontology node
ontology - ontology
type - literal or standard
Method Detail

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)