Package com.thingworx.types.primitives
Class GUIDPrimitive
java.lang.Object
com.thingworx.types.primitives.GUIDPrimitive
- All Implemented Interfaces:
IPrimitiveType<GUIDPrimitive,
,String> Serializable
,Cloneable
,Comparable
,Comparator<GUIDPrimitive>
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public final class GUIDPrimitive
extends Object
implements IPrimitiveType<GUIDPrimitive,String>, Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
compare
(GUIDPrimitive v1, GUIDPrimitive v2) int
static GUIDPrimitive
convertFromObject
(Object data) static GUIDPrimitive
getValue()
void
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
GUIDPrimitive
-
GUIDPrimitive
-
-
Method Details
-
getNewGUID
-
getBaseType
- Specified by:
getBaseType
in interfaceIPrimitiveType<GUIDPrimitive,
String>
-
getValue
- Specified by:
getValue
in interfaceIPrimitiveType<GUIDPrimitive,
String>
-
getStringValue
- Specified by:
getStringValue
in interfaceIPrimitiveType<GUIDPrimitive,
String>
-
setValue
- Specified by:
setValue
in interfaceIPrimitiveType<GUIDPrimitive,
String>
-
getSerializedValue
- Specified by:
getSerializedValue
in interfaceIPrimitiveType<GUIDPrimitive,
String>
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
compare
- Specified by:
compare
in interfaceComparator<GUIDPrimitive>
-
convertFromObject
@ThingworxExtensionApiMethod(since={6,6}) public static GUIDPrimitive convertFromObject(Object data) throws Exception - Throws:
Exception
- If an error occurs
-
clone
- Specified by:
clone
in interfaceIPrimitiveType<GUIDPrimitive,
String> - Overrides:
clone
in classObject
-