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