public class AssociationStatus
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an association status.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
additionalInfo
A user-defined string.
|
private java.util.Date |
dateValue
The date when the status changed.
|
private java.lang.String |
message
The reason for the status.
|
private java.lang.String |
name
The status.
|
Constructor and Description |
---|
AssociationStatus() |
Modifier and Type | Method and Description |
---|---|
AssociationStatus |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAdditionalInfo()
A user-defined string.
|
java.util.Date |
getDate()
The date when the status changed.
|
java.lang.String |
getMessage()
The reason for the status.
|
java.lang.String |
getName()
The status.
|
int |
hashCode() |
void |
setAdditionalInfo(java.lang.String additionalInfo)
A user-defined string.
|
void |
setDate(java.util.Date dateValue)
The date when the status changed.
|
void |
setMessage(java.lang.String message)
The reason for the status.
|
void |
setName(AssociationStatusName name)
The status.
|
void |
setName(java.lang.String name)
The status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociationStatus |
withAdditionalInfo(java.lang.String additionalInfo)
A user-defined string.
|
AssociationStatus |
withDate(java.util.Date dateValue)
The date when the status changed.
|
AssociationStatus |
withMessage(java.lang.String message)
The reason for the status.
|
AssociationStatus |
withName(AssociationStatusName name)
The status.
|
AssociationStatus |
withName(java.lang.String name)
The status.
|
private java.util.Date dateValue
The date when the status changed.
private java.lang.String name
The status.
private java.lang.String message
The reason for the status.
private java.lang.String additionalInfo
A user-defined string.
public void setDate(java.util.Date dateValue)
The date when the status changed.
dateValue
- The date when the status changed.public java.util.Date getDate()
The date when the status changed.
public AssociationStatus withDate(java.util.Date dateValue)
The date when the status changed.
dateValue
- The date when the status changed.public void setName(java.lang.String name)
The status.
name
- The status.AssociationStatusName
public java.lang.String getName()
The status.
AssociationStatusName
public AssociationStatus withName(java.lang.String name)
The status.
name
- The status.AssociationStatusName
public void setName(AssociationStatusName name)
The status.
name
- The status.AssociationStatusName
public AssociationStatus withName(AssociationStatusName name)
The status.
name
- The status.AssociationStatusName
public void setMessage(java.lang.String message)
The reason for the status.
message
- The reason for the status.public java.lang.String getMessage()
The reason for the status.
public AssociationStatus withMessage(java.lang.String message)
The reason for the status.
message
- The reason for the status.public void setAdditionalInfo(java.lang.String additionalInfo)
A user-defined string.
additionalInfo
- A user-defined string.public java.lang.String getAdditionalInfo()
A user-defined string.
public AssociationStatus withAdditionalInfo(java.lang.String additionalInfo)
A user-defined string.
additionalInfo
- A user-defined string.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AssociationStatus clone()
clone
in class java.lang.Object