Class UpdateRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
- Direct Known Subclasses:
ArchiveRequestBody,CalculatedValueClassificationRequestBody,ConnectionRequestBody,ConnectorTypeRequestBody,DataAssetRequestBody,EndpointRequestBody,ExternalReferenceRequestBody,GlossaryTermStatusRequestBody,PortRequestBody,ProcessRequestBody,ProcessStatusRequestBody,SchemaAttributeRequestBody,SchemaTypeRequestBody,TemplateRequestBody
UpdateRequestBody carries the correlation properties and effective time for a create, update or delete request.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorUpdateRequestBody(UpdateRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the date/time to use for the query.org.odpi.openmetadata.frameworks.openmetadata.properties.MetadataCorrelationPropertiesReturn 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(org.odpi.openmetadata.frameworks.openmetadata.properties.MetadataCorrelationProperties metadataCorrelationProperties) Set up the properties used to correlate the external metadata element with the open metadata element.toString()JSON-style toString
-
Constructor Details
-
UpdateRequestBody
public UpdateRequestBody()Default constructor -
UpdateRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getMetadataCorrelationProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.MetadataCorrelationProperties getMetadataCorrelationProperties()Return the properties used to correlate the external metadata element with the open metadata element.- Returns:
- properties object
-
setMetadataCorrelationProperties
public void setMetadataCorrelationProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.MetadataCorrelationProperties metadataCorrelationProperties) Set up the properties used to correlate the external metadata element with the open metadata element.- Parameters:
metadataCorrelationProperties- properties object
-
getEffectiveTime
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
Set up the date/time to use for the query.- Parameters:
effectiveTime- date object
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-