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

public class UpdateRequestBody extends Object
UpdateRequestBody carries the correlation properties and effective time for a create, update or delete request.
  • Constructor Details

    • UpdateRequestBody

      public UpdateRequestBody()
      Default constructor
    • UpdateRequestBody

      public UpdateRequestBody(UpdateRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code