public class VariantBeanHelper extends Object
| Constructor and Description |
|---|
VariantBeanHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(Map<String,org.eclipse.scada.core.Variant> data,
Object target,
WriteAttributeResults results) |
static void |
applyValue(Object target,
PropertyDescriptor pd,
org.eclipse.scada.core.Variant value) |
static Map<String,org.eclipse.scada.core.Variant> |
extract(Object source)
Extract the property data as string/variant map
|
static Map<String,org.eclipse.scada.core.Variant> |
extractSafe(Object source) |
public static Map<String,org.eclipse.scada.core.Variant> extract(Object source) throws IntrospectionException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
source - the source objectIntrospectionExceptionIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic static void apply(Map<String,org.eclipse.scada.core.Variant> data, Object target, WriteAttributeResults results) throws IntrospectionException
IntrospectionExceptionpublic static void applyValue(Object target, PropertyDescriptor pd, org.eclipse.scada.core.Variant value) throws org.eclipse.scada.core.OperationException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
org.eclipse.scada.core.OperationExceptionIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetException