public static final class ModelVersionChange.UpdateComment extends java.lang.Object implements ModelVersionChange
ModelVersionChange.RemoveProperty, ModelVersionChange.SetProperty, ModelVersionChange.UpdateComment, ModelVersionChange.UpdateUri| Constructor and Description |
|---|
UpdateComment(java.lang.String newComment)
Creates a new
ModelVersionChange.UpdateComment instance with the specified new comment. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this
ModelVersionChange.UpdateComment instance with another object for equality. |
int |
hashCode()
Generates a hash code for this
ModelVersionChange.UpdateComment instance. |
java.lang.String |
newComment()
Returns the new comment to be set for the model version.
|
java.lang.String |
toString()
Returns a string representation of the
ModelVersionChange.UpdateComment instance. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitremoveProperty, setProperty, updateComment, updateUripublic UpdateComment(java.lang.String newComment)
ModelVersionChange.UpdateComment instance with the specified new comment.newComment - new comment to be set for the model versionpublic java.lang.String newComment()
public boolean equals(java.lang.Object obj)
ModelVersionChange.UpdateComment instance with another object for equality. The comparison
is based on the new comment of the model version.equals in class java.lang.Objectobj - The object to compare with this instance.true if the given object represents the same model update operation; false otherwise.public int hashCode()
ModelVersionChange.UpdateComment instance. The hash code is based on the
new comment of the model.hashCode in class java.lang.Objectpublic java.lang.String toString()
ModelVersionChange.UpdateComment instance. This string format
includes the class name followed by the comment to be updated.toString in class java.lang.ObjectModelVersionChange.UpdateComment instance.