public class MaapiSchemas.CSTypeMethods extends Object
Constructor and Description |
---|
MaapiSchemas.CSTypeMethods() |
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
type
- - type for the converted valuestr
- - string representation of the valueMaapiException
public boolean validate(MaapiSchemas.CSType type, ConfValue val) throws MaapiException
type
- val
- MaapiException
public String valueToString(MaapiSchemas.CSType type, ConfValue val)
type
- - type for the converted valueval
- - ConfValue