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
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the optional anchor unique identifier.Return the properties for this external reference.int
hashCode()
Return hash code for this objectvoid
setAnchorGUID
(String guid) Set up the optional anchor unique identifier.void
setProperties
(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. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-