public class MaapiSchemas.UnionTypeMethodsImpl extends MaapiSchemas.CSTypeMethods
| Constructor and Description |
|---|
MaapiSchemas.UnionTypeMethodsImpl() |
| Modifier and Type | Method and Description |
|---|---|
ConfValue |
stringToValue(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 CSType
|
String |
valueToString(MaapiSchemas.CSType type,
ConfValue val)
convert to string representation for the corresponding Confvalue
|
public ConfValue stringToValue(MaapiSchemas.CSType type, String str) throws MaapiException
MaapiSchemas.CSTypeMethodsstringToValue in class MaapiSchemas.CSTypeMethodstype - - type for the converted valuestr - - string representation of the valueMaapiExceptionpublic boolean validate(MaapiSchemas.CSType type, ConfValue val) throws MaapiException
MaapiSchemas.CSTypeMethodsvalidate in class MaapiSchemas.CSTypeMethodsMaapiExceptionpublic String valueToString(MaapiSchemas.CSType type, ConfValue val)
MaapiSchemas.CSTypeMethodsvalueToString in class MaapiSchemas.CSTypeMethodstype - - type for the converted valueval - - ConfValue