protected abstract static class SBPropertyDescriptor.SingleValueSetter extends SBPropertyDescriptor.Setter
Modifier | Constructor and Description |
---|---|
protected |
SingleValueSetter() |
Modifier and Type | Method and Description |
---|---|
protected Object[] |
getArgs(SBPropertyDescriptor pd,
Map<String,List<Object>> params,
SchemaUtil.SchemaProvider schemaProvider)
Get the setter arguments for Method.invoke, consume the
property values.
|
protected abstract Object[] |
parseArgs(SBPropertyDescriptor pd,
String val,
SchemaUtil.SchemaProvider schemaProvider)
Parse the single argument value from a string into the
array of parameters to pass to the setter method.
|
getSingleValue, getValue, getValues, set
protected Object[] getArgs(SBPropertyDescriptor pd, Map<String,List<Object>> params, SchemaUtil.SchemaProvider schemaProvider) throws TypecheckException
SBPropertyDescriptor.Setter
getArgs
in class SBPropertyDescriptor.Setter
pd
- property descriptorparams
- parametersschemaProvider
- a schema providerTypecheckException
- on type check exceptionprotected abstract Object[] parseArgs(SBPropertyDescriptor pd, String val, SchemaUtil.SchemaProvider schemaProvider) throws TypecheckException
pd
- a property descriptorval
- for the setter methodschemaProvider
- a schema providerTypecheckException
- on type check exception