public class ActivityTypeInfo extends Object implements Serializable, Cloneable
Detailed information about an activity type.
Constructor and Description |
---|
ActivityTypeInfo() |
Modifier and Type | Method and Description |
---|---|
ActivityTypeInfo |
clone() |
boolean |
equals(Object obj) |
ActivityType |
getActivityType()
The ActivityType type structure representing the activity type.
|
Date |
getCreationDate()
The date and time this activity type was created through
RegisterActivityType.
|
Date |
getDeprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
|
String |
getDescription()
The description of the activity type provided in
RegisterActivityType.
|
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(Date creationDate)
The date and time this activity type was created through
RegisterActivityType.
|
void |
setDeprecationDate(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
|
void |
setDescription(String description)
The description of the activity type provided in
RegisterActivityType.
|
void |
setStatus(RegistrationStatus status)
The current status of the activity type.
|
void |
setStatus(String status)
The current status of the activity type.
|
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(Date creationDate)
The date and time this activity type was created through
RegisterActivityType.
|
ActivityTypeInfo |
withDeprecationDate(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
|
ActivityTypeInfo |
withDescription(String description)
The description of the activity type provided in
RegisterActivityType.
|
ActivityTypeInfo |
withStatus(RegistrationStatus status)
The current status of the activity type.
|
ActivityTypeInfo |
withStatus(String status)
The current status of the activity type.
|
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(String status)
The current status of the activity type.
status
- The current status of the activity type.RegistrationStatus
public String getStatus()
The current status of the activity type.
RegistrationStatus
public ActivityTypeInfo withStatus(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(String description)
The description of the activity type provided in RegisterActivityType.
description
- The description of the activity type provided in
RegisterActivityType.public String getDescription()
The description of the activity type provided in RegisterActivityType.
public ActivityTypeInfo withDescription(String description)
The description of the activity type provided in RegisterActivityType.
description
- The description of the activity type provided in
RegisterActivityType.public void setCreationDate(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 Date getCreationDate()
The date and time this activity type was created through RegisterActivityType.
public ActivityTypeInfo withCreationDate(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(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was
called.public Date getDeprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
public ActivityTypeInfo withDeprecationDate(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was
called.public String toString()
toString
in class Object
Object.toString()
public ActivityTypeInfo clone()
Copyright © 2018. All rights reserved.