public static final class ModelChange.UpdateComment extends java.lang.Object implements ModelChange
ModelChange.RemoveProperty, ModelChange.RenameModel, ModelChange.SetProperty, ModelChange.UpdateComment
Constructor and Description |
---|
UpdateComment(java.lang.String newComment)
Constructs a new
ModelChange.UpdateComment instance with the specified new comment. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this UpdateComment instance with another object for equality.
|
int |
hashCode()
Generates a hash code for this UpdateComment instance.
|
java.lang.String |
newComment()
Retrieves the new comment for the model.
|
java.lang.String |
toString()
Provides a string representation of the UpdateComment instance.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
removeProperty, rename, setProperty, updateComment
public UpdateComment(java.lang.String newComment)
ModelChange.UpdateComment
instance with the specified new comment.newComment
- The new comment of the model.public java.lang.String newComment()
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 model comment update; false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object