Class AppointmentRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.AppointmentRequestBody
- All Implemented Interfaces:
Serializable
AppointmentRequestBody provides a structure for appointing a person to a role.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAppointmentRequestBody(AppointmentRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the date that this action is effective.Return 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.toString()JSON-style toString.
-
Constructor Details
-
AppointmentRequestBody
public AppointmentRequestBody()Default constructor -
AppointmentRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProfileGUID
Return the unique employee number for this governance officer.- Returns:
- String identifier
-
setProfileGUID
Set up the unique employee number for this governance officer.- Parameters:
guid- String identifier
-
getEffectiveDate
Return the date that this action is effective.- Returns:
- date
-
setEffectiveDate
Set up the date that this action is effective.- Parameters:
effectiveDate- date
-
toString
JSON-style toString.- Overrides:
toStringin classGovernanceProgramOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-