Class UpdateRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.rest.UpdateRequestBody
- Direct Known Subclasses:
UpdateEffectivityDatesRequestBody,UpdatePropertiesRequestBody,UpdateStatusRequestBody
UpdateRequestBody provides a structure for passing the common request parameters for updating metadata elements, relationships or classifications.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorUpdateRequestBody(UpdateRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the effective time that this update is to occur in.booleanReturn whether this request is updating an element as part of a deduplication exercise.booleanReturn 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.toString()JSON-style toString.
-
Constructor Details
-
UpdateRequestBody
public UpdateRequestBody()Default constructor -
UpdateRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
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
Return the effective time that this update is to occur in.- Returns:
- date/time
-
setEffectiveTime
Set up the effective time that this update is to occur in.- Parameters:
effectiveTime- date/time
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-