public class ActivityTypeInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Detailed information about an activity type.
Modifier and Type | Field and Description |
---|---|
private ActivityType |
activityType
The ActivityType type structure representing the activity type.
|
private java.util.Date |
creationDate
The date and time this activity type was created through
RegisterActivityType.
|
private java.util.Date |
deprecationDate
If DEPRECATED, the date and time DeprecateActivityType was called.
|
private java.lang.String |
description
The description of the activity type provided in
RegisterActivityType.
|
private java.lang.String |
status
The current status of the activity type.
|
Constructor and Description |
---|
ActivityTypeInfo() |
Modifier and Type | Method and Description |
---|---|
ActivityTypeInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
ActivityType |
getActivityType()
The ActivityType type structure representing the activity type.
|
java.util.Date |
getCreationDate()
The date and time this activity type was created through
RegisterActivityType.
|
java.util.Date |
getDeprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
|
java.lang.String |
getDescription()
The description of the activity type provided in
RegisterActivityType.
|
java.lang.String |
getStatus()
The current status of the activity type.
|
int |
hashCode() |
void |
setActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
|
void |
setCreationDate(java.util.Date creationDate)
The date and time this activity type was created through
RegisterActivityType.
|
void |
setDeprecationDate(java.util.Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
|
void |
setDescription(java.lang.String description)
The description of the activity type provided in
RegisterActivityType.
|
void |
setStatus(RegistrationStatus status)
The current status of the activity type.
|
void |
setStatus(java.lang.String status)
The current status of the activity type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivityTypeInfo |
withActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
|
ActivityTypeInfo |
withCreationDate(java.util.Date creationDate)
The date and time this activity type was created through
RegisterActivityType.
|
ActivityTypeInfo |
withDeprecationDate(java.util.Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
|
ActivityTypeInfo |
withDescription(java.lang.String description)
The description of the activity type provided in
RegisterActivityType.
|
ActivityTypeInfo |
withStatus(RegistrationStatus status)
The current status of the activity type.
|
ActivityTypeInfo |
withStatus(java.lang.String status)
The current status of the activity type.
|
private ActivityType activityType
The ActivityType type structure representing the activity type.
private java.lang.String status
The current status of the activity type.
private java.lang.String description
The description of the activity type provided in RegisterActivityType.
private java.util.Date creationDate
The date and time this activity type was created through RegisterActivityType.
private java.util.Date deprecationDate
If DEPRECATED, the date and time DeprecateActivityType was called.
public void setActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
activityType
- The ActivityType type structure representing the activity
type.public ActivityType getActivityType()
The ActivityType type structure representing the activity type.
public ActivityTypeInfo withActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
activityType
- The ActivityType type structure representing the activity
type.public void setStatus(java.lang.String status)
The current status of the activity type.
status
- The current status of the activity type.RegistrationStatus
public java.lang.String getStatus()
The current status of the activity type.
RegistrationStatus
public ActivityTypeInfo withStatus(java.lang.String status)
The current status of the activity type.
status
- The current status of the activity type.RegistrationStatus
public void setStatus(RegistrationStatus status)
The current status of the activity type.
status
- The current status of the activity type.RegistrationStatus
public ActivityTypeInfo withStatus(RegistrationStatus status)
The current status of the activity type.
status
- The current status of the activity type.RegistrationStatus
public void setDescription(java.lang.String description)
The description of the activity type provided in RegisterActivityType.
description
- The description of the activity type provided in
RegisterActivityType.public java.lang.String getDescription()
The description of the activity type provided in RegisterActivityType.
public ActivityTypeInfo withDescription(java.lang.String description)
The description of the activity type provided in RegisterActivityType.
description
- The description of the activity type provided in
RegisterActivityType.public void setCreationDate(java.util.Date creationDate)
The date and time this activity type was created through RegisterActivityType.
creationDate
- The date and time this activity type was created through
RegisterActivityType.public java.util.Date getCreationDate()
The date and time this activity type was created through RegisterActivityType.
public ActivityTypeInfo withCreationDate(java.util.Date creationDate)
The date and time this activity type was created through RegisterActivityType.
creationDate
- The date and time this activity type was created through
RegisterActivityType.public void setDeprecationDate(java.util.Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was
called.public java.util.Date getDeprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
public ActivityTypeInfo withDeprecationDate(java.util.Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was
called.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 ActivityTypeInfo clone()
clone
in class java.lang.Object