Package com.tailf.maapi
Class MaapiSchemas.Decimal64TypeMethodsImpl
Object
com.tailf.maapi.MaapiSchemas.CSTypeMethods
com.tailf.maapi.MaapiSchemas.Decimal64TypeMethodsImpl
- Enclosing class:
- MaapiSchemas
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstringToValue
(MaapiSchemas.CSType type, String str) parse value located in str and convert to ConfValue, the value is validated.boolean
validate
(MaapiSchemas.CSType type, ConfValue val) Validates ConfValue of with rules from CSTypevalueToString
(MaapiSchemas.CSType type, ConfValue val) convert to string representation for the corresponding Confvalue
-
Constructor Details
-
Decimal64TypeMethodsImpl
public Decimal64TypeMethodsImpl()
-
-
Method Details
-
stringToValue
Description copied from class:MaapiSchemas.CSTypeMethods
parse value located in str and convert to ConfValue, the value is validated.- Overrides:
stringToValue
in classMaapiSchemas.CSTypeMethods
- Parameters:
type
- - type for the converted valuestr
- - string representation of the value- Returns:
- ConfValue for the corresponding type
- Throws:
MaapiException
-
validate
Description copied from class:MaapiSchemas.CSTypeMethods
Validates ConfValue of with rules from CSType- Overrides:
validate
in classMaapiSchemas.CSTypeMethods
- Returns:
- boolean true if valid
- Throws:
MaapiException
-
valueToString
Description copied from class:MaapiSchemas.CSTypeMethods
convert to string representation for the corresponding Confvalue- Overrides:
valueToString
in classMaapiSchemas.CSTypeMethods
- Parameters:
type
- - type for the converted valueval
- - ConfValue- Returns:
- String representation of the value
-