@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public abstract class NamedObject extends java.lang.Object implements INamedObject, java.io.Serializable, IDiffableObject
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<NamedObject> |
NAME_COMPARATOR
Comparator used to compare the names of two
NamedObjects . |
Constructor and Description |
---|
NamedObject() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
void |
setDescription(java.lang.String value) |
void |
setName(java.lang.String value) |
ValueCollection |
toValueCollection() |
public static final java.util.Comparator<NamedObject> NAME_COMPARATOR
NamedObjects
.
Please note that this Comparator considers null
instances to be less than non-null
instances. Likewise, this
Comparator also considers null
name values to be less than non-null
name values.
getName()
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getName()
getName
in interface INamedObject
@ThingworxExtensionApiMethod(since={6,6}) public void setName(java.lang.String value)
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String getDescription()
getDescription
in interface INamedObject
@ThingworxExtensionApiMethod(since={6,6}) public void setDescription(java.lang.String value)
@ThingworxExtensionApiMethod(since={6,6}) public ValueCollection toValueCollection()