|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.portal.propertybroker.property.PropertyValueChangeType
public class PropertyValueChangeType
Typesafe enum pattern storing the possible reasons why a property value
change was generated - e.g. the value was created, deleted, updated, queried, or
the reason for change may be unspecified. May be passed to methods for
creating PropertyValue objects.
| Field Summary | |
|---|---|
static PropertyValueChangeType |
CREATED
The property value change is being propagated as the value was newly created |
static PropertyValueChangeType |
DELETED
The property value change is being propagated as the value was deleted |
static PropertyValueChangeType |
QUERIED
The property value change is being propagated as the value was obtained in a query |
static PropertyValueChangeType |
UNSPECIFIED
The property value change is being propagated but the reason for change is unspecified |
static PropertyValueChangeType |
UPDATED
The property value change is being propagated as the value was updated |
| Constructor Summary | |
|---|---|
protected |
PropertyValueChangeType(java.lang.String changeType)
Constructor that can only be used by this class or subclasses |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object that)
Marked final to ensure that subclasses do not change this method |
int |
hashCode()
Marked final to ensure that subclasses do not change this method |
java.lang.String |
toString()
Override default |
static boolean |
validateChangeType(PropertyValueChangeType changeType)
A utility method which checks that the input parameter is one of the predefined constants defined in this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PropertyValueChangeType CREATED
public static final PropertyValueChangeType UPDATED
public static final PropertyValueChangeType DELETED
public static final PropertyValueChangeType QUERIED
public static final PropertyValueChangeType UNSPECIFIED
| Constructor Detail |
|---|
protected PropertyValueChangeType(java.lang.String changeType)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic final boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic static boolean validateChangeType(PropertyValueChangeType changeType)
changeType - the change type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||