|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValue
This class stores a property value.
Method Summary | |
---|---|
boolean |
getBoolean()
Gets the value as a boolean. |
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. |
Object |
getObject()
Gets the value as an object. |
short |
getShort()
Gets the value as a short. |
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(Object value)
Sets the value. |
Method Detail |
---|
Key getKey()
Object getObject()
null
)
InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)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)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)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)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)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)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)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
)String getString()
null
)
InvalidValueException
- if the value is not valid (could not
be retrieved by the Stub
)void setValue(Object value)
value
- the value
ClassCastException
- if the value is the wrong typeboolean isUpdated()
true
if the value has been updatedboolean isInvalid()
InvalidValue getInvalidValue()
InvalidValue
instance.
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |