Class DataProductInputContract
java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.odps.DataProductInputContract
This class identifies a data contract that an output port of an Open Data Product Standard (ODPS) data product
depends on.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.getId()Return the identifier of the data contract.Return the version of the data contract.inthashCode()Return hash code based on properties.voidSet up the identifier of the data contract.voidsetVersion(String version) Set up the version of the data contract.toString()Standard toString method.
-
Constructor Details
-
DataProductInputContract
public DataProductInputContract()Default constructor
-
-
Method Details
-
getId
Return the identifier of the data contract.- Returns:
- string contract identifier
-
setId
Set up the identifier of the data contract.- Parameters:
id- string contract identifier
-
getVersion
Return the version of the data contract.- Returns:
- string version
-
setVersion
Set up the version of the data contract.- Parameters:
version- string version
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-