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