|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.domino.PropertyValue
public class PropertyValue
This class stores the value for a property.
Nested Class Summary | |
---|---|
class |
PropertyValue.PropertyValueNullException
Inner class. |
Constructor Summary | |
---|---|
PropertyValue(PropertyKey key,
boolean bValue)
Constructor. |
|
PropertyValue(PropertyKey key,
java.util.Date value,
java.util.TimeZone timeZone)
Constructor. |
|
PropertyValue(PropertyKey key,
double dValue)
Constructor. |
|
PropertyValue(PropertyKey key,
int iValue)
Constructor. |
|
PropertyValue(PropertyKey key,
java.lang.Integer value)
Constructor. |
|
PropertyValue(PropertyKey key,
java.lang.Object value)
Constructor. |
|
PropertyValue(PropertyKey key,
java.lang.String sValue)
Constructor. |
Method Summary | |
---|---|
boolean |
getBooleanValue()
Gets the value of a boolean property. |
java.util.Date[] |
getDateArrayValue()
Sets the value of a date property. |
java.util.Date |
getDateValue()
Gets the value of a Date property. |
double |
getDoubleValue()
Gets the value of a double property. |
int |
getIntValue()
Gets the value of an int property. |
PropertyKey |
getKey()
Gets the property key. |
java.lang.String[] |
getStringArrayValue()
Sets the value of a string property. |
java.lang.String |
getStringValue()
Gets the value of a string property. |
java.lang.Object |
getValue()
Gets the value of the property. |
boolean |
isUpdated()
Determines if the value has been updated. |
void |
setBooleanValue(boolean bValue)
Sets a boolean value and sets the updated flag to true . |
void |
setDateValue(java.util.Date value)
Sets a Date value and sets the updated flag to true . |
void |
setDoubleValue(double dValue)
Sets a double value and sets the updated flag to true . |
void |
setIntValue(int iValue)
Sets an int value and sets the updated flag to true . |
void |
setStringArrayValue(java.lang.String[] value)
Sets a string array value and sets the updated flag to true . |
void |
setStringValue(java.lang.String sValue)
Sets a string value and sets the updated flag to true . |
void |
setTimeZone(java.util.TimeZone timeZone)
Sets the time zone. |
void |
setUpdated(boolean bUpdated)
Sets the updated flag (forces a property for an item to be saved to the server the next time it is updated). |
java.lang.String |
toString()
Creates a string representation of the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyValue(PropertyKey key, java.lang.Object value) throws DominoException
key
- the property keyvalue
- the property value
DominoException
public PropertyValue(PropertyKey key, java.lang.String sValue) throws DominoException
key
- the property keysValue
- the string value
DominoException
public PropertyValue(PropertyKey key, int iValue) throws DominoException
key
- the property keyiValue
- the int value
DominoException
public PropertyValue(PropertyKey key, java.lang.Integer value) throws DominoException
key
- the property keyvalue
- the int value
DominoException
public PropertyValue(PropertyKey key, double dValue) throws DominoException
key
- the property keydValue
- the double value
DominoException
public PropertyValue(PropertyKey key, boolean bValue) throws DominoException
key
- the property keybValue
- the boolean value
DominoException
public PropertyValue(PropertyKey key, java.util.Date value, java.util.TimeZone timeZone) throws DominoException
key
- the property keyvalue
- the date valuetimeZone
- the time zone
DominoException
Method Detail |
---|
public void setTimeZone(java.util.TimeZone timeZone)
timeZone
- the time zone (may not be null
)public PropertyKey getKey()
public java.lang.Object getValue()
public void setStringValue(java.lang.String sValue)
true
.
sValue
- the string valuepublic java.lang.String getStringValue() throws DominoException
DominoException
- if the value is not a stringpublic void setStringArrayValue(java.lang.String[] value)
true
.
value
- the string array valuepublic java.lang.String[] getStringArrayValue() throws DominoException
DominoException
- if the value is not a stringpublic void setIntValue(int iValue)
true
.
iValue
- the int valuepublic int getIntValue() throws DominoException
DominoException
- if the value is not an intpublic void setDoubleValue(double dValue)
true
.
dValue
- the double valuepublic double getDoubleValue() throws DominoException
DominoException
- if the value is not an doublepublic void setBooleanValue(boolean bValue)
true
.
bValue
- the boolean valuepublic boolean getBooleanValue() throws DominoException
DominoException
- if the value is not an intpublic void setDateValue(java.util.Date value)
true
.
value
- the date valuepublic java.util.Date getDateValue() throws DominoException
DominoException
- if the value is not an datepublic java.util.Date[] getDateArrayValue() throws DominoException
DominoException
- if the value is not a stringpublic boolean isUpdated()
public void setUpdated(boolean bUpdated)
public java.lang.String toString()
toString
in class java.lang.Object
null
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |