org.snmp4j.agent.mo.jmx.types
Class Boolean2IntegerType
java.lang.Object
org.snmp4j.agent.mo.jmx.types.TypedAttribute
org.snmp4j.agent.mo.jmx.types.Boolean2IntegerType
- All Implemented Interfaces:
- java.io.Serializable, SMITransformType, TransformType
public class Boolean2IntegerType
- extends TypedAttribute
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
transformFromNative(java.lang.Object nativeValue,
javax.management.ObjectName objectName)
|
java.lang.Object |
transformToNative(java.lang.Object transformedValue,
java.lang.Object oldNativeValue,
javax.management.ObjectName objectName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRUTH_VALUE_FOR_TRUE
public static final int TRUTH_VALUE_FOR_TRUE
- See Also:
- Constant Field Values
TRUTH_VALUE_FOR_FALSE
public static final int TRUTH_VALUE_FOR_FALSE
- See Also:
- Constant Field Values
Boolean2IntegerType
public Boolean2IntegerType(java.lang.String name)
Boolean2IntegerType
public Boolean2IntegerType(java.lang.String name,
java.lang.Integer trueValue,
java.lang.Integer falseValue)
transformFromNative
public java.lang.Object transformFromNative(java.lang.Object nativeValue,
javax.management.ObjectName objectName)
- Specified by:
transformFromNative in interface TransformType- Overrides:
transformFromNative in class TypedAttribute
transformToNative
public java.lang.Object transformToNative(java.lang.Object transformedValue,
java.lang.Object oldNativeValue,
javax.management.ObjectName objectName)
- Specified by:
transformToNative in interface TransformType- Overrides:
transformToNative in class TypedAttribute