gov.nih.nci.evs.domain
Class SemanticType

java.lang.Object
  extended bygov.nih.nci.evs.domain.SemanticType
All Implemented Interfaces:
java.io.Serializable

public class SemanticType
extends java.lang.Object
implements java.io.Serializable

This class encapsulates the sematic types of EVS Concept object.

See Also:
Serialized Form

Constructor Summary
SemanticType()
          Initializes a newly created SemanticType object so that it represents an SemanticType.
SemanticType(java.lang.String name, java.lang.String id)
          Initializes a newly created SemanticType object so that it represents an SemanticType.
 
Method Summary
 java.lang.String getId()
          Returns the id
 java.lang.String getName()
          Returns the name
 void setId(java.lang.String id)
          Sets the id for this SemanticType object
 void setName(java.lang.String name)
          Sets the name for this SemanticType object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SemanticType

public SemanticType()
Initializes a newly created SemanticType object so that it represents an SemanticType.


SemanticType

public SemanticType(java.lang.String name,
                    java.lang.String id)
Initializes a newly created SemanticType object so that it represents an SemanticType.

Method Detail

getName

public java.lang.String getName()
Returns the name

Returns:
the name for this SemanticType object

getId

public java.lang.String getId()
Returns the id

Returns:
the id for this SemanticType object

setName

public void setName(java.lang.String name)
Sets the name for this SemanticType object

Parameters:
name - the name

setId

public void setId(java.lang.String id)
Sets the id for this SemanticType object

Parameters:
id - the id

toString

public java.lang.String toString()