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