Class UpdateWithTemplateRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
org.odpi.openmetadata.frameworks.openmetadata.search.UpdateOptions
org.odpi.openmetadata.frameworks.openmetadata.search.UpdateWithTemplateOptions
org.odpi.openmetadata.commonservices.ffdc.rest.UpdateWithTemplateRequestBody
UpdateElementRequestBody describes the properties to update an open metadata element.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the properties for the new element.inthashCode()Return hash code for this objectvoidsetProperties(OpenMetadataRootProperties properties) Set up the properties for the new element.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.UpdateWithTemplateOptions
getMergeClassifications, setMergeClassificationsMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.UpdateOptions
getMergeUpdate, setMergeUpdateMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getGovernanceZoneFilter, setEffectiveTime, setForDuplicateProcessing, setForLineage, setGovernanceZoneFilter
-
Constructor Details
-
UpdateWithTemplateRequestBody
public UpdateWithTemplateRequestBody()Default constructor -
UpdateWithTemplateRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProperties
Return the properties for the new element.- Returns:
- properties
-
setProperties
Set up the properties for the new element.- Parameters:
properties- properties
-
toString
JSON-style toString.- Overrides:
toStringin classUpdateWithTemplateOptions- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classUpdateWithTemplateOptions- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classUpdateWithTemplateOptions- Returns:
- int hash code
-