Class ExternalReferenceRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceProgramOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalReferenceRequestBody
-
- All Implemented Interfaces:
Serializable
public class ExternalReferenceRequestBody extends GovernanceProgramOMASAPIRequestBody
ExternalReferenceRequestBody provides a structure for a new ExternalReference.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalReferenceRequestBody()Default constructorExternalReferenceRequestBody(ExternalReferenceRequestBody 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.StringgetAnchorGUID()Return the optional anchor unique identifier.ExternalReferencePropertiesgetProperties()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.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody()
Default constructor
-
ExternalReferenceRequestBody
public ExternalReferenceRequestBody(ExternalReferenceRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getAnchorGUID
public String getAnchorGUID()
Return the optional anchor unique identifier.- Returns:
- String guid
-
setAnchorGUID
public void setAnchorGUID(String guid)
Set up the optional anchor unique identifier.- Parameters:
guid- String guid
-
getProperties
public ExternalReferenceProperties getProperties()
Return the properties for this external reference.- Returns:
- date
-
setProperties
public void setProperties(ExternalReferenceProperties properties)
Set up the properties for this external reference.- Parameters:
properties- 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.
-
-