public class SimpleChangeSet extends ChangeSet
ChangeSet
.EMPTY_CHANGE_SET
Constructor and Description |
---|
SimpleChangeSet()
Constructs a simple change set.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ObjectDiffs diffs)
Adds an
ObjectDiffs object. |
java.lang.String |
getSummary()
Gets the summary of the changes.
|
java.util.Iterator<ObjectDiffs> |
iterator()
Returns an iterator over the changes in this set.
|
void |
setSummary(java.lang.String summary)
Sets the summary.
|
java.lang.String |
toString() |
public void add(ObjectDiffs diffs)
ObjectDiffs
object. This method returns immediately
if the given object is null.diffs
- the ObjectDiffs
object to be addedpublic void setSummary(java.lang.String summary)
summary
- the summarypublic java.lang.String getSummary()
ChangeSet
getSummary
in class ChangeSet
public java.util.Iterator<ObjectDiffs> iterator()
ChangeSet
iterator
in interface java.lang.Iterable<ObjectDiffs>
iterator
in class ChangeSet
public java.lang.String toString()
toString
in class java.lang.Object