|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.portlet.state.PropertyChange
public class PropertyChange
A property change. The class is immutable
| Field Summary | |
|---|---|
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. |
| 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
| 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 | ||||||||