public class MemberChangeNameDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected UserNameLogInfo |
newValue |
protected UserNameLogInfo |
previousValue |
Constructor and Description |
---|
MemberChangeNameDetails(UserNameLogInfo newValue)
Changed team member name.
|
MemberChangeNameDetails(UserNameLogInfo newValue,
UserNameLogInfo previousValue)
Changed team member name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
UserNameLogInfo |
getNewValue()
New user's name.
|
UserNameLogInfo |
getPreviousValue()
Previous user's name.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final UserNameLogInfo newValue
protected final UserNameLogInfo previousValue
public MemberChangeNameDetails(UserNameLogInfo newValue, UserNameLogInfo previousValue)
newValue
- New user's name. Must not be null
.previousValue
- Previous user's name. Might be missing due to
historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public MemberChangeNameDetails(UserNameLogInfo newValue)
The default values for unset fields will be used.
newValue
- New user's name. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public UserNameLogInfo getNewValue()
null
.public UserNameLogInfo 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.