|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.portlet.state.PropertyChange
A property change. The class is immutable
Field Summary | |
private java.lang.String |
key
The key. |
static int |
PREF_RESET
The change is a reset of the property value. |
static int |
PREF_UPDATE
The change is an update of the property value. |
private Value |
value
The value. |
Constructor Summary | |
private |
PropertyChange(java.lang.String key,
Value value)
|
Method Summary | |
java.lang.String |
getKey()
Return the property key |
int |
getType()
Return the property change type. |
Value |
getValue()
Return the new value or null in case of a property reset. |
static PropertyChange |
newReset(java.lang.String key)
Create a new property reset. |
static PropertyChange |
newUpdate(java.lang.String key,
Value value)
Create a new property update. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PREF_UPDATE
public static final int PREF_RESET
private final java.lang.String key
private final Value value
Constructor Detail |
private PropertyChange(java.lang.String key, Value value)
Method Detail |
public static PropertyChange newUpdate(java.lang.String key, Value value)
key
- the property keyvalue
- the property value
public static PropertyChange newReset(java.lang.String key)
key
- the property key
public int getType()
public java.lang.String getKey()
public Value getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |