Class ReferenceableRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.glossarymanager.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
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceablePropertiesReturn the properties for the element.Return an optional parent GUID to attach the new element to.inthashCode()Return hash code for this objectvoidsetElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties elementProperties) Set up the properties for the element.voidsetParentGUID(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
public org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties getElementProperties()Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties elementProperties) 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
-