Class ExternalReferenceRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalReferenceRequestBody
- All Implemented Interfaces:
Serializable
ExternalReferenceRequestBody provides a structure for a new ExternalReference.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the optional anchor unique identifier.Return the properties for this external reference.inthashCode()Return hash code for this objectvoidsetAnchorGUID(String guid) Set up the optional anchor unique identifier.voidsetProperties(ExternalReferenceProperties properties) Set up the properties for this external reference.toString()JSON-style toString.
-
Constructor Details
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody()Default constructor -
ExternalReferenceRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getAnchorGUID
Return the optional anchor unique identifier.- Returns:
- String guid
-
setAnchorGUID
Set up the optional anchor unique identifier.- Parameters:
guid- String guid
-
getProperties
Return the properties for this external reference.- Returns:
- date
-
setProperties
Set up the properties for this external reference.- Parameters:
properties- 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
-