Class CalculatedValueClassificationRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.CalculatedValueClassificationRequestBody
CalculatedValueClassificationRequestBody is used to identify the schema elements that are calculated (derived)
rather than stored. Examples of this are relational database views.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor for a primary key. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the formula used to calculate the value.int
hashCode()
Return hash code based on properties.void
setFormula
(String formula) Set up the formula used to calculate the value.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
Constructor Details
-
CalculatedValueClassificationRequestBody
public CalculatedValueClassificationRequestBody()Default constructor -
CalculatedValueClassificationRequestBody
Copy/clone constructor for a primary key.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getFormula
Return the formula used to calculate the value.- Returns:
- string formula with placeholders
-
setFormula
Set up the formula used to calculate the value.- Parameters:
formula
- string description
-
toString
Standard toString method.- Overrides:
toString
in classUpdateRequestBody
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classUpdateRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classUpdateRequestBody
- Returns:
- int
-