Class UpdatePropertiesRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateRequestBody
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.UpdatePropertiesRequestBody
-
- All Implemented Interfaces:
Serializable
public class UpdatePropertiesRequestBody extends UpdateRequestBody
UpdatePropertiesRequestBody provides a structure for passing the properties for updating metadata elements, relationships or classifications.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdatePropertiesRequestBody()Default constructorUpdatePropertiesRequestBody(UpdatePropertiesRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.ElementPropertiesgetProperties()Return the properties for the update.booleangetReplaceProperties()Return the flag to indicate whether to completely replace the existing properties with the new properties, or just update the individual properties specified on the request.inthashCode()Return hash code for this objectvoidsetProperties(ElementProperties properties)Set up the properties for the update.voidsetReplaceProperties(boolean replaceProperties)Set up the flag to indicate whether to completely replace the existing properties with the new properties, or just update the individual properties specified on the request.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateRequestBody
getEffectiveTime, getForDuplicateProcessing, getForLineage, setEffectiveTime, setForDuplicateProcessing, setForLineage
-
-
-
-
Constructor Detail
-
UpdatePropertiesRequestBody
public UpdatePropertiesRequestBody()
Default constructor
-
UpdatePropertiesRequestBody
public UpdatePropertiesRequestBody(UpdatePropertiesRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getReplaceProperties
public boolean getReplaceProperties()
Return the flag to indicate whether to completely replace the existing properties with the new properties, or just update the individual properties specified on the request.- Returns:
- boolean flag
-
setReplaceProperties
public void setReplaceProperties(boolean replaceProperties)
Set up the flag to indicate whether to completely replace the existing properties with the new properties, or just update the individual properties specified on the request.- Parameters:
replaceProperties- boolean flag
-
getProperties
public ElementProperties getProperties()
Return the properties for the update.- Returns:
- list of properties
-
setProperties
public void setProperties(ElementProperties properties)
Set up the properties for the update.- Parameters:
properties- list of properties
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classUpdateRequestBody- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int hash code
-
-