Class ReferenceableRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.glossarybrowser.rest.ReferenceableRequestBody
- Direct Known Subclasses:
ReferenceableUpdateRequestBody
ReferenceableRequestBody describes the request body used to create/update properties in referenceables. The properties
of the specific element must inherit from ReferenceableProperties and be included in the subtype list of the ReferenceableProperties class
to make it possible for the server to correctly unpack this bean.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties for the element.Return an optional parent GUID to attach the new element to.int
hashCode()
Return hash code for this objectvoid
setElementProperties
(ReferenceableProperties elementProperties) Set up the properties for the element.void
setParentGUID
(String parentGUID) Set up an optional parent GUID to attach the new element to.toString()
JSON-style toString
-
Constructor Details
-
ReferenceableRequestBody
public ReferenceableRequestBody()Default constructor -
ReferenceableRequestBody
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getElementProperties
Return the properties for the element.- Returns:
- properties object
-
setElementProperties
Set up the properties for the element.- Parameters:
elementProperties
- properties object
-
getParentGUID
Return an optional parent GUID to attach the new element to.- Returns:
- guid
-
setParentGUID
Set up an optional parent GUID to attach the new element to.- Parameters:
parentGUID
- guid
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-