Class FormulaRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FormulaRequestBody
FormulaRequestBody carries the parameters for creating a new CalculatedValue classification.
-
Constructor Summary
ConstructorDescriptionDefault constructorFormulaRequestBody
(FormulaRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the unique identifier of the software server capability entity that represented the external source - null for local.Return the unique name of the software server capability entity that represented the external source.Return the string containing the formula for the calculated value - it may contain placeholders for queryIds.int
hashCode()
Return hash code for this objectvoid
setExternalSourceGUID
(String externalSourceGUID) Set up the unique identifier of the software server capability entity that represented the external source - null for local.void
setExternalSourceName
(String externalSourceName) Set up the unique name of the software server capability entity that represented the external source.void
setFormula
(String formula) Set up the string containing the formula for the calculated value - it may contain placeholders for queryIds.toString()
JSON-style toString
-
Constructor Details
-
FormulaRequestBody
public FormulaRequestBody()Default constructor -
FormulaRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getExternalSourceGUID
Return the unique identifier of the software server capability entity that represented the external source - null for local.- Returns:
- string guid
-
setExternalSourceGUID
Set up the unique identifier of the software server capability entity that represented the external source - null for local.- Parameters:
externalSourceGUID
- string guid
-
getExternalSourceName
Return the unique name of the software server capability entity that represented the external source.- Returns:
- string name
-
setExternalSourceName
Set up the unique name of the software server capability entity that represented the external source.- Parameters:
externalSourceName
- string name
-
getFormula
Return the string containing the formula for the calculated value - it may contain placeholders for queryIds.- Returns:
- string formula
-
setFormula
Set up the string containing the formula for the calculated value - it may contain placeholders for queryIds.- Parameters:
formula
- string formula
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-