edu.lehigh.swat.hawk.core
Class DatatypeValue
java.lang.Object
edu.lehigh.swat.hawk.core.ObjectId
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 |
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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
DatatypeValue
public DatatypeValue(java.lang.String v,
java.lang.String t)
- Constructor
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.