|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class stores a property value.
Method Summary | |
boolean |
getBoolean()
Gets the value as a boolean. |
java.util.Date |
getDate()
Gets the value as a Date . |
double |
getDouble()
Gets the value as a double. |
float |
getFloat()
Gets the value as a float. |
int |
getInt()
Gets the value as an integer. |
InvalidValue |
getInvalidValue()
Gets the InvalidValue instance. |
Key |
getKey()
Gets the key associated with the value. |
long |
getLong()
Gets the value as a long. |
java.lang.Object |
getObject()
Gets the value as an object. |
short |
getShort()
Gets the value as a short. |
java.lang.String |
getString()
Gets the value as a string. |
boolean |
isInvalid()
Gets if this Value is invalid. |
boolean |
isUpdated()
Has this Value been updated? |
void |
setValue(java.lang.Object value)
Sets the value. |
Method Detail |
public Key getKey()
public java.lang.Object getObject()
null
)InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)public boolean getBoolean()
ClassCastException
- if the value is not a Boolean
.InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)NullValueException
- if the value is valid but unexpectedly
null
(check the data type of the property
you're trying to access)public int getInt()
ClassCastException
- if the value is not a Number.InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)NullValueException
- if the value is valid but unexpectedly
null
(check the data type of the property
you're trying to access)public short getShort()
ClassCastException
- if the value is not a Number
.InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)NullValueException
- if the value is valid but unexpectedly
null
(check the data type of the property
you're trying to access)public long getLong()
ClassCastException
- if the value is not a Number
.InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)NullValueException
- if the value is valid but unexpectedly
null
(check the data type of the property
you're trying to access)public float getFloat()
ClassCastException
- if the value is not a Number
.InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)NullValueException
- if the value is valid but unexpectedly
null
(check the data type of the property
you're trying to access)public double getDouble()
ClassCastException
- if the value is not a Number
.InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)NullValueException
- if the value is valid but unexpectedly
null
(check the data type of the property
you're trying to access)public java.util.Date getDate()
Date
.null
)ClassCastException
- if the value is not a Date
.InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)public java.lang.String getString()
null
)InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)public void setValue(java.lang.Object value)
value
- the valueClassCastException
- if the value is the wrong typepublic boolean isUpdated()
true
if the value has been updatedpublic boolean isInvalid()
public InvalidValue getInvalidValue()
InvalidValue
instance.
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |