|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.domino.PropertyValue
This class stores the value for a property.
| Inner 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
public PropertyValue(PropertyKey key,
java.lang.String sValue)
throws DominoException
key - the property keysValue - the string value
public PropertyValue(PropertyKey key,
int iValue)
throws DominoException
key - the property keyiValue - the int value
public PropertyValue(PropertyKey key,
java.lang.Integer value)
throws DominoException
key - the property keyvalue - the int value
public PropertyValue(PropertyKey key,
double dValue)
throws DominoException
key - the property keydValue - the double value
public PropertyValue(PropertyKey key,
boolean bValue)
throws DominoException
key - the property keybValue - the boolean value
public PropertyValue(PropertyKey key,
java.util.Date value,
java.util.TimeZone timeZone)
throws DominoException
key - the property keyvalue - the date valuetimeZone - the time zone| 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 value
public 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 value
public java.lang.String[] getStringArrayValue()
throws DominoException
DominoException - if the value is not a stringpublic void setIntValue(int iValue)
true.iValue - the int value
public int getIntValue()
throws DominoException
DominoException - if the value is not an intpublic void setDoubleValue(double dValue)
true.dValue - the double value
public double getDoubleValue()
throws DominoException
DominoException - if the value is not an doublepublic void setBooleanValue(boolean bValue)
true.bValue - the boolean value
public boolean getBooleanValue()
throws DominoException
DominoException - if the value is not an intpublic void setDateValue(java.util.Date value)
true.value - the date value
public java.util.Date getDateValue()
throws DominoException
DominoException - if the value is not an date
public 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.Objectnull
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||