public final class ShortValue extends PrimitiveValueBase
Constructor and Description |
---|
ShortValue() |
Modifier and Type | Method and Description |
---|---|
PrimitiveValueType |
getType()
Returns the type of primitive value this instance represents.
|
java.lang.Object |
getValueObject()
Returns a value object.
|
void |
parse(java.lang.String value)
Parse the string literal value into the specific data type.
|
static short |
parseString(java.lang.String value)
Parses a string value as a short.
|
void |
setShort(short x)
Set a short value.
|
java.lang.String |
toString() |
parse, setBoolean, setByte, setDouble, setFloat, setInt, setLong, setString
public PrimitiveValueType getType()
PrimitiveValue
public static short parseString(java.lang.String value)
value
- to parsepublic final void parse(java.lang.String value)
PrimitiveValue
value
- is the textual value to parsepublic final java.lang.Object getValueObject()
PrimitiveValue
public final void setShort(short x)
PrimitiveValue
setShort
in interface PrimitiveValue
setShort
in class PrimitiveValueBase
x
- is the value to setpublic final java.lang.String toString()
toString
in class java.lang.Object