public class MarshallValueImpl extends Object implements MarshallValue
| Constructor and Description |
|---|
MarshallValueImpl(boolean aBool) |
MarshallValueImpl(byte aByte) |
MarshallValueImpl(char aChar) |
MarshallValueImpl(double aDouble) |
MarshallValueImpl(float aFloat) |
MarshallValueImpl(int aInt) |
MarshallValueImpl(long aLong) |
MarshallValueImpl(Object aReference) |
MarshallValueImpl(short aShort) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean()
Get the primitive boolean value.
|
byte |
getByte()
Get the primitive byte value.
|
char |
getChar()
Get the primitive char value.
|
double |
getDouble()
Get the primitive double value.
|
float |
getFloat()
Get the primitive float value.
|
int |
getInt()
Get the primitive int value.
|
long |
getLong()
Get the primitive long value.
|
Object |
getReference()
Get the reference to a Java object.
|
short |
getShort()
Get the primitive short value.
|
int |
getType()
Get the type of the value so that you can access its value safely.
|
public MarshallValueImpl(boolean aBool)
public MarshallValueImpl(byte aByte)
public MarshallValueImpl(char aChar)
public MarshallValueImpl(double aDouble)
public MarshallValueImpl(float aFloat)
public MarshallValueImpl(int aInt)
public MarshallValueImpl(long aLong)
public MarshallValueImpl(short aShort)
public MarshallValueImpl(Object aReference)
public int getType()
MarshallValuegetType in interface MarshallValuepublic boolean getBoolean()
throws MarshallException
MarshallValuegetBoolean in interface MarshallValueMarshallException - If it is not a boolean representation.public byte getByte()
throws MarshallException
MarshallValuegetByte in interface MarshallValueMarshallException - If it is not a byte representation.public short getShort()
throws MarshallException
MarshallValuegetShort in interface MarshallValueMarshallException - If it is not a short representation.public char getChar()
throws MarshallException
MarshallValuegetChar in interface MarshallValueMarshallException - If it is not a char representation.public int getInt()
throws MarshallException
MarshallValuegetInt in interface MarshallValueMarshallException - If it is not an int representation.public long getLong()
throws MarshallException
MarshallValuegetLong in interface MarshallValueMarshallException - If it is not a long representation.public float getFloat()
throws MarshallException
MarshallValuegetFloat in interface MarshallValueMarshallException - If it is not a float representation.public double getDouble()
throws MarshallException
MarshallValuegetDouble in interface MarshallValueMarshallException - If it is not a double representation.public Object getReference() throws MarshallException
MarshallValuegetReference in interface MarshallValueMarshallException - If it is not a reference representation.Copyright © 2013. All Rights Reserved.