Class UpdateRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateRequestBody
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UpdateEffectivityDatesRequestBody,UpdatePropertiesRequestBody,UpdateStatusRequestBody
public class UpdateRequestBody extends Object implements Serializable
UpdateRequestBody provides a structure for passing the common request parameters for updating metadata elements, relationships or classifications.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateRequestBody()Default constructorUpdateRequestBody(UpdateRequestBody 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.DategetEffectiveTime()Return the effective time that this update is to occur in.booleangetForDuplicateProcessing()Return whether this request is updating an element as part of a deduplication exercise.booleangetForLineage()Return whether this request is to update lineage memento elements.inthashCode()Return hash code for this objectvoidsetEffectiveTime(Date effectiveTime)Set up the effective time that this update is to occur in.voidsetForDuplicateProcessing(boolean forDuplicateProcessing)Set up whether this request is updating an element as part of a deduplication exercise.voidsetForLineage(boolean forLineage)Set up whether this request is to update lineage memento elements.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
UpdateRequestBody
public UpdateRequestBody()
Default constructor
-
UpdateRequestBody
public UpdateRequestBody(UpdateRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getForLineage
public boolean getForLineage()
Return whether this request is to update lineage memento elements.- Returns:
- flag
-
setForLineage
public void setForLineage(boolean forLineage)
Set up whether this request is to update lineage memento elements.- Parameters:
forLineage- flag
-
getForDuplicateProcessing
public boolean getForDuplicateProcessing()
Return whether this request is updating an element as part of a deduplication exercise.- Returns:
- flag
-
setForDuplicateProcessing
public void setForDuplicateProcessing(boolean forDuplicateProcessing)
Set up whether this request is updating an element as part of a deduplication exercise.- Parameters:
forDuplicateProcessing- flag
-
getEffectiveTime
public Date getEffectiveTime()
Return the effective time that this update is to occur in.- Returns:
- date/time
-
setEffectiveTime
public void setEffectiveTime(Date effectiveTime)
Set up the effective time that this update is to occur in.- Parameters:
effectiveTime- date/time
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-