public class GroupChangeManagementTypeDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GroupManagementType |
newValue |
protected GroupManagementType |
previousValue |
Constructor and Description |
---|
GroupChangeManagementTypeDetails(GroupManagementType newValue)
Changed group management type.
|
GroupChangeManagementTypeDetails(GroupManagementType newValue,
GroupManagementType previousValue)
Changed group management type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
GroupManagementType |
getNewValue()
New group management type.
|
GroupManagementType |
getPreviousValue()
Previous group management type.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final GroupManagementType newValue
protected final GroupManagementType previousValue
public GroupChangeManagementTypeDetails(GroupManagementType newValue, GroupManagementType previousValue)
newValue
- New group management type. Must not be null
.previousValue
- Previous group management type. Might be missing
due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public GroupChangeManagementTypeDetails(GroupManagementType newValue)
The default values for unset fields will be used.
newValue
- New group management type. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public GroupManagementType getNewValue()
null
.public GroupManagementType getPreviousValue()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.