Package com.thingworx.types
Class NamedObject
java.lang.Object
com.thingworx.types.NamedObject
- All Implemented Interfaces:
IDiffableObject
,INamedObject
,Serializable
- Direct Known Subclasses:
AlertDefinition
,ConfigurationTableDefinition
,DataShapeDefinition
,EventDefinition
,FieldDefinition
,OrganizationalUnit
,PersistableNamedObject
,ServiceDefinition
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public abstract class NamedObject
extends Object
implements INamedObject, Serializable, IDiffableObject
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator
<NamedObject> Comparator used to compare the names of twoNamedObjects
. -
Constructor Summary
-
Method Summary
-
Field Details
-
NAME_COMPARATOR
Comparator used to compare the names of twoNamedObjects
.Please note that this Comparator considers
null
instances to be less than non-null
instances. Likewise, this Comparator also considersnull
name values to be less than non-null
name values.- See Also:
-
-
Constructor Details
-
NamedObject
public NamedObject()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceINamedObject
-
setName
-
getDescription
- Specified by:
getDescription
in interfaceINamedObject
-
setDescription
-
toValueCollection
-