Class CalculatedValueClassificationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
-
- org.odpi.openmetadata.accessservices.assetmanager.rest.CalculatedValueClassificationRequestBody
-
- All Implemented Interfaces:
Serializable
public class CalculatedValueClassificationRequestBody extends UpdateRequestBody
CalculatedValueClassificationRequestBody is used to identify the schema elements that are calculated (derived) rather than stored. Examples of this are relational database views.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CalculatedValueClassificationRequestBody()Default constructorCalculatedValueClassificationRequestBody(CalculatedValueClassificationRequestBody template)Copy/clone constructor for a primary key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetFormula()Return the formula used to calculate the value.inthashCode()Return has code based on properties.voidsetFormula(String formula)Set up the formula used to calculate the value.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.UpdateRequestBody
getEffectiveTime, getMetadataCorrelationProperties, setEffectiveTime, setMetadataCorrelationProperties
-
-
-
-
Constructor Detail
-
CalculatedValueClassificationRequestBody
public CalculatedValueClassificationRequestBody()
Default constructor
-
CalculatedValueClassificationRequestBody
public CalculatedValueClassificationRequestBody(CalculatedValueClassificationRequestBody template)
Copy/clone constructor for a primary key.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getFormula
public String getFormula()
Return the formula used to calculate the value.- Returns:
- string formula with placeholders
-
setFormula
public void setFormula(String formula)
Set up the formula used to calculate the value.- Parameters:
formula- string description
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classUpdateRequestBody- 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:
equalsin classUpdateRequestBody- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classUpdateRequestBody- Returns:
- int
-
-