Class UpdatePropertiesRequestBody
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.frameworkservices.omf.rest.UpdatePropertiesRequestBody
UpdatePropertiesRequestBody provides a structure for passing the properties for updating metadata elements, relationships or classifications.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorUpdatePropertiesRequestBody
(UpdateOptions template) Copy/clone constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the properties for the update.int
hashCode()
Return hash code for this objectvoid
setProperties
(ElementProperties properties) Set up the properties for the update.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.UpdateOptions
getMergeUpdate, setMergeUpdate
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getGovernanceZoneFilter, setEffectiveTime, setForDuplicateProcessing, setForLineage, setGovernanceZoneFilter
-
Constructor Details
-
UpdatePropertiesRequestBody
public UpdatePropertiesRequestBody()Default constructor -
UpdatePropertiesRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
UpdatePropertiesRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties for the update.- Returns:
- list of properties
-
setProperties
Set up the properties for the update.- Parameters:
properties
- list of properties
-
toString
JSON-style toString.- Overrides:
toString
in classUpdateOptions
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classUpdateOptions
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classUpdateOptions
- Returns:
- int hash code
-