public class Boolean2IntegerType extends TypedAttribute
| Modifier and Type | Field and Description |
|---|---|
static int |
TRUTH_VALUE_FOR_FALSE |
static int |
TRUTH_VALUE_FOR_TRUE |
| Constructor and Description |
|---|
Boolean2IntegerType(String name) |
Boolean2IntegerType(String name,
Integer trueValue,
Integer falseValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
transformFromNative(Object nativeValue,
ObjectName objectName) |
Object |
transformToNative(Object transformedValue,
Object oldNativeValue,
ObjectName objectName) |
getName, getType, isNativeValueAlwaysNeeded, transformObject2SMI, transformSMI2Objectpublic static final int TRUTH_VALUE_FOR_TRUE
public static final int TRUTH_VALUE_FOR_FALSE
public Boolean2IntegerType(String name)
public Object transformFromNative(Object nativeValue, ObjectName objectName)
transformFromNative in interface TransformTypetransformFromNative in class TypedAttributepublic Object transformToNative(Object transformedValue, Object oldNativeValue, ObjectName objectName)
transformToNative in interface TransformTypetransformToNative in class TypedAttributeCopyright © 2014 SNMP4J.org. All Rights Reserved.