Class ExternalReferenceRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalReferenceRequestBody
- Direct Known Subclasses:
LinkedExternalReferenceRequestBody
ExternalReferenceRequestBody provides a structure for a new ExternalReference.
-
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.org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferencePropertiesReturn the properties for this external reference.inthashCode()Return hash code for this objectvoidsetAnchorGUID(String guid) Set up the optional anchor unique identifier.voidsetProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.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
public org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferenceProperties getProperties()Return the properties for this external reference.- Returns:
- date
-
setProperties
public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferenceProperties properties) Set up the properties for this external reference.- Parameters:
properties- date
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-