public static final class ModelVersionChange.SetProperty extends java.lang.Object implements ModelVersionChange
ModelVersionChange.RemoveProperty, ModelVersionChange.SetProperty, ModelVersionChange.UpdateComment, ModelVersionChange.UpdateUri| Constructor and Description |
|---|
SetProperty(java.lang.String property,
java.lang.String value)
Creates a new
ModelVersionChange.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()
Returns the name of the property to be set.
|
java.lang.String |
toString()
Provides a string representation of the SetProperty instance.
|
java.lang.String |
value()
Returns the value to be set for the property.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitremoveProperty, setProperty, updateComment, updateUripublic SetProperty(java.lang.String property,
java.lang.String value)
ModelVersionChange.SetProperty instance with the specified property name and value.property - name of the property to be setvalue - value to be set for the propertypublic 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