public static final class ModelChange.SetProperty extends java.lang.Object implements ModelChange
ModelChange.RemoveProperty, ModelChange.RenameModel, ModelChange.SetProperty, ModelChange.UpdateComment| Constructor and Description |
|---|
SetProperty(java.lang.String property,
java.lang.String value)
Constructs a new
ModelChange.SetProperty instance with the specified property name and value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this SetProperty instance with another object for equality.
|
int |
hashCode()
Generates a hash code for this SetProperty instance.
|
java.lang.String |
property()
Retrieves the name of the property to be set.
|
java.lang.String |
toString()
Provides a string representation of the SetProperty instance.
|
java.lang.String |
value()
Retrieves the value to be set for the property.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitremoveProperty, rename, setProperty, updateCommentpublic SetProperty(java.lang.String property,
java.lang.String value)
ModelChange.SetProperty instance with the specified property name and value.property - The name of the property to be set.value - The value to be set for the property.public java.lang.String property()
public java.lang.String value()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object to compare with this instance.true if the given object represents the same property set; false
otherwise.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object