Class DataProductInputContract

java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.odps.DataProductInputContract

public class DataProductInputContract extends Object
This class identifies a data contract that an output port of an Open Data Product Standard (ODPS) data product depends on.
  • Constructor Details

    • DataProductInputContract

      public DataProductInputContract()
      Default constructor
  • Method Details

    • getId

      public String getId()
      Return the identifier of the data contract.
      Returns:
      string contract identifier
    • setId

      public void setId(String id)
      Set up the identifier of the data contract.
      Parameters:
      id - string contract identifier
    • getVersion

      public String getVersion()
      Return the version of the data contract.
      Returns:
      string version
    • setVersion

      public void setVersion(String version)
      Set up the version of the data contract.
      Parameters:
      version - string version
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int