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