Class AppointmentRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.AppointmentRequestBody
-
- All Implemented Interfaces:
Serializable
public class AppointmentRequestBody extends GovernanceProgramOMASAPIRequestBody
AppointmentRequestBody provides a structure for appointing a person to a role.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AppointmentRequestBody()Default constructorAppointmentRequestBody(AppointmentRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.DategetEffectiveDate()Return the date that this action is effective.StringgetProfileGUID()Return the the unique employee number for this governance officer.inthashCode()Return hash code for this objectvoidsetEffectiveDate(Date effectiveDate)Set up the date that this action is effective.voidsetProfileGUID(String guid)Set up the unique employee number for this governance officer.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
AppointmentRequestBody
public AppointmentRequestBody()
Default constructor
-
AppointmentRequestBody
public AppointmentRequestBody(AppointmentRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProfileGUID
public String getProfileGUID()
Return the the unique employee number for this governance officer.- Returns:
- String identifier
-
setProfileGUID
public void setProfileGUID(String guid)
Set up the unique employee number for this governance officer.- Parameters:
guid- String identifier
-
getEffectiveDate
public Date getEffectiveDate()
Return the date that this action is effective.- Returns:
- date
-
setEffectiveDate
public void setEffectiveDate(Date effectiveDate)
Set up the date that this action is effective.- Parameters:
effectiveDate- date
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classGovernanceProgramOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-