public class AssociationStatus extends Object implements Serializable, Cloneable
Describes an association status.
Constructor and Description |
---|
AssociationStatus() |
Modifier and Type | Method and Description |
---|---|
AssociationStatus |
clone() |
boolean |
equals(Object obj) |
String |
getAdditionalInfo()
A user-defined string.
|
Date |
getDate()
The date when the status changed.
|
String |
getMessage()
The reason for the status.
|
String |
getName()
The status.
|
int |
hashCode() |
void |
setAdditionalInfo(String additionalInfo)
A user-defined string.
|
void |
setDate(Date date)
The date when the status changed.
|
void |
setMessage(String message)
The reason for the status.
|
void |
setName(AssociationStatusName name)
The status.
|
void |
setName(String name)
The status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociationStatus |
withAdditionalInfo(String additionalInfo)
A user-defined string.
|
AssociationStatus |
withDate(Date date)
The date when the status changed.
|
AssociationStatus |
withMessage(String message)
The reason for the status.
|
AssociationStatus |
withName(AssociationStatusName name)
The status.
|
AssociationStatus |
withName(String name)
The status.
|
public Date getDate()
public void setDate(Date date)
date
- The date when the status changed.public AssociationStatus withDate(Date date)
Returns a reference to this object so that method calls can be chained together.
date
- The date when the status changed.public String getName()
Constraints:
Allowed Values: Pending, Success, Failed
AssociationStatusName
public void setName(String name)
Constraints:
Allowed Values: Pending, Success, Failed
name
- The status.AssociationStatusName
public AssociationStatus withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Success, Failed
name
- The status.AssociationStatusName
public void setName(AssociationStatusName name)
Constraints:
Allowed Values: Pending, Success, Failed
name
- The status.AssociationStatusName
public AssociationStatus withName(AssociationStatusName name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Success, Failed
name
- The status.AssociationStatusName
public String getMessage()
Constraints:
Length: 0 - 1024
public void setMessage(String message)
Constraints:
Length: 0 - 1024
message
- The reason for the status.public AssociationStatus withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
message
- The reason for the status.public String getAdditionalInfo()
Constraints:
Length: 0 - 1024
public void setAdditionalInfo(String additionalInfo)
Constraints:
Length: 0 - 1024
additionalInfo
- A user-defined string.public AssociationStatus withAdditionalInfo(String additionalInfo)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
additionalInfo
- A user-defined string.public String toString()
toString
in class Object
Object.toString()
public AssociationStatus clone()
Copyright © 2015. All rights reserved.