Class UpdateRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ActivityTermClassificationRequestBody,CalculatedValueClassificationRequestBody,ConnectionRequestBody,ConnectorTypeRequestBody,ContextDefinitionClassificationRequestBody,DataAssetRequestBody,EndpointRequestBody,ExternalReferenceRequestBody,GlossaryCategoryRequestBody,GlossaryTermRequestBody,GlossaryTermStatusRequestBody,PortRequestBody,ProcessRequestBody,ProcessStatusRequestBody,SchemaAttributeRequestBody,SchemaTypeRequestBody,TemplateRequestBody
public class UpdateRequestBody extends Object implements Serializable
UpdateRequestBody carries the correlation properties and effective time for a create, update or delete request.- 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)Return comparison result based on the content of the properties.DategetEffectiveTime()Return the date/time to use for the query.MetadataCorrelationPropertiesgetMetadataCorrelationProperties()Return the properties used to correlate the external metadata element with the open metadata element.inthashCode()Return hash code for this objectvoidsetEffectiveTime(Date effectiveTime)Set up the date/time to use for the query.voidsetMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)Set up the properties used to correlate the external metadata element with the open metadata element.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
-
getMetadataCorrelationProperties
public MetadataCorrelationProperties getMetadataCorrelationProperties()
Return the properties used to correlate the external metadata element with the open metadata element.- Returns:
- properties object
-
setMetadataCorrelationProperties
public void setMetadataCorrelationProperties(MetadataCorrelationProperties metadataCorrelationProperties)
Set up the properties used to correlate the external metadata element with the open metadata element.- Parameters:
metadataCorrelationProperties- properties object
-
getEffectiveTime
public Date getEffectiveTime()
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
public void setEffectiveTime(Date effectiveTime)
Set up the date/time to use for the query.- Parameters:
effectiveTime- date object
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-