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, setprotected Object[] getArgs(SBPropertyDescriptor pd, Map<String,List<Object>> params, SchemaUtil.SchemaProvider schemaProvider) throws TypecheckException
SBPropertyDescriptor.SettergetArgs in class SBPropertyDescriptor.Setterpd - 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 exceptionCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.