Package com.thingworx.types.primitives
Class BooleanPrimitive
- java.lang.Object
-
- com.thingworx.types.primitives.BooleanPrimitive
-
- All Implemented Interfaces:
IPrimitiveType<BooleanPrimitive,java.lang.Boolean>
,java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
,java.util.Comparator<BooleanPrimitive>
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class BooleanPrimitive extends java.lang.Object implements IPrimitiveType<BooleanPrimitive,java.lang.Boolean>, java.lang.Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BooleanPrimitive()
BooleanPrimitive(java.lang.Boolean value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanPrimitive
clone()
int
compare(BooleanPrimitive v1, BooleanPrimitive v2)
int
compareTo(java.lang.Object value)
static BooleanPrimitive
convertFromObject(java.lang.Object data)
BaseTypes
getBaseType()
java.lang.Object
getSerializedValue()
java.lang.String
getStringValue()
java.lang.Boolean
getValue()
void
setValue(java.lang.Boolean value)
-
-
-
Constructor Detail
-
BooleanPrimitive
@ThingworxExtensionApiMethod(since={6,6}) public BooleanPrimitive()
-
BooleanPrimitive
@ThingworxExtensionApiMethod(since={6,6}) public BooleanPrimitive(java.lang.Boolean value)
-
-
Method Detail
-
getValue
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Boolean getValue()
- Specified by:
getValue
in interfaceIPrimitiveType<BooleanPrimitive,java.lang.Boolean>
-
setValue
@ThingworxExtensionApiMethod(since={6,6}) public void setValue(java.lang.Boolean value)
- Specified by:
setValue
in interfaceIPrimitiveType<BooleanPrimitive,java.lang.Boolean>
-
getSerializedValue
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Object getSerializedValue()
- Specified by:
getSerializedValue
in interfaceIPrimitiveType<BooleanPrimitive,java.lang.Boolean>
-
getStringValue
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getStringValue()
- Specified by:
getStringValue
in interfaceIPrimitiveType<BooleanPrimitive,java.lang.Boolean>
-
compare
@ThingworxExtensionApiMethod(since={6,6}) public int compare(BooleanPrimitive v1, BooleanPrimitive v2)
- Specified by:
compare
in interfacejava.util.Comparator<BooleanPrimitive>
-
compareTo
@ThingworxExtensionApiMethod(since={6,6}) public int compareTo(java.lang.Object value)
- Specified by:
compareTo
in interfacejava.lang.Comparable
-
getBaseType
@ThingworxExtensionApiMethod(since={6,6}) public BaseTypes getBaseType()
- Specified by:
getBaseType
in interfaceIPrimitiveType<BooleanPrimitive,java.lang.Boolean>
-
convertFromObject
@ThingworxExtensionApiMethod(since={6,6}) public static BooleanPrimitive convertFromObject(java.lang.Object data) throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
clone
@ThingworxExtensionApiMethod(since={6,6}) public BooleanPrimitive clone()
- Specified by:
clone
in interfaceIPrimitiveType<BooleanPrimitive,java.lang.Boolean>
- Overrides:
clone
in classjava.lang.Object
-
-