Package com.thingworx.types.primitives
Interface IPrimitiveType<T,JT>
-
- Type Parameters:
T
- the Platform typeJT
- the corresponding java type
- All Superinterfaces:
java.lang.Comparable
,java.util.Comparator<T>
,java.io.Serializable
- All Known Implementing Classes:
BlobPrimitive
,BooleanPrimitive
,DatetimePrimitive
,GUIDPrimitive
,ImagePrimitive
,InfoTablePrimitive
,IntegerPrimitive
,JSONPrimitive
,LocationPrimitive
,LongPrimitive
,NumberPrimitive
,PasswordPrimitive
,StringPrimitive
,TagCollectionPrimitive
,ThingCodePrimitive
,TimespanPrimitive
,VariantPrimitive
,Vec2Primitive
,Vec3Primitive
,Vec4Primitive
,XMLPrimitive
@ThingworxExtensionApiClass(since={6,6}) public interface IPrimitiveType<T,JT> extends java.lang.Comparable, java.util.Comparator<T>, java.io.Serializable
A container for types of data as defined in theBaseTypes
enumeration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPrimitiveType<T,JT>
clone()
BaseTypes
getBaseType()
java.lang.Object
getSerializedValue()
java.lang.String
getStringValue()
JT
getValue()
void
setValue(JT value)
-
-
-
Method Detail
-
clone
@ThingworxExtensionApiMethod(since={6,6}) IPrimitiveType<T,JT> clone()
-
getSerializedValue
@ThingworxExtensionApiMethod(since={6,6}) java.lang.Object getSerializedValue() throws java.lang.Exception
- Throws:
java.lang.Exception
- If an error occurs
-
getStringValue
@ThingworxExtensionApiMethod(since={6,6}) java.lang.String getStringValue()
-
getValue
@ThingworxExtensionApiMethod(since={6,6}) JT getValue()
-
setValue
@ThingworxExtensionApiMethod(since={6,6}) void setValue(JT value)
-
getBaseType
@ThingworxExtensionApiMethod(since={6,6}) BaseTypes getBaseType()
-
-