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