edu.lehigh.swat.hawk.core
Class DatatypeValue

java.lang.Object
  extended by edu.lehigh.swat.hawk.core.ObjectId
      extended by edu.lehigh.swat.hawk.core.DatatypeValue
All Implemented Interfaces:
java.io.Serializable

public class DatatypeValue
extends ObjectId

Encapsulating the datatype values.

See Also:
Serialized Form

Field Summary
static java.lang.String INTEGER
           
static java.lang.String STRING
           
 
Constructor Summary
DatatypeValue(java.lang.String v, java.lang.String t)
          Constructor
 
Method Summary
 java.lang.String getId()
          Get the id.
 java.lang.String getType()
          Get the data type.
 java.lang.String getValue()
          Get the value.
 void setType(java.lang.String t)
          Set the data type.
 
Methods inherited from class edu.lehigh.swat.hawk.core.ObjectId
equals, getLocalName, getNameSpace, hashCode, setLocalName, setNameSpace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTEGER

public static final java.lang.String INTEGER
See Also:
Constant Field Values

STRING

public static final java.lang.String STRING
See Also:
Constant Field Values
Constructor Detail

DatatypeValue

public DatatypeValue(java.lang.String v,
                     java.lang.String t)
Constructor

Method Detail

getId

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

Overrides:
getId in class ObjectId

getValue

public java.lang.String getValue()
Get the value.


getType

public java.lang.String getType()
Get the data type. (link to XSD)


setType

public void setType(java.lang.String t)
Set the data type.