Class TemplateRequestBody
java.lang.Object
org.odpi.openmetadata.viewservices.glossarymanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.viewservices.glossarymanager.rest.TemplateRequestBody
- Direct Known Subclasses:
GlossaryTemplateRequestBody
TemplateRequestBody describes the request body used to create/update elements from templates.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorTemplateRequestBody(TemplateRequestBody template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.accessservices.assetmanager.properties.TemplatePropertiesReturn 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.accessservices.assetmanager.properties.TemplateProperties 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 toStringMethods inherited from class org.odpi.openmetadata.viewservices.glossarymanager.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTime
-
Constructor Details
-
TemplateRequestBody
public TemplateRequestBody()Default constructor -
TemplateRequestBody
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getElementProperties
public org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties getElementProperties()Return the properties for the element.- Returns:
- properties object
-
setElementProperties
public void setElementProperties(org.odpi.openmetadata.accessservices.assetmanager.properties.TemplateProperties 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- Overrides:
toStringin classEffectiveTimeQueryRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classEffectiveTimeQueryRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classEffectiveTimeQueryRequestBody- Returns:
- int hash code
-