Package com.thingworx.metadata
Class PropertyDefinition
java.lang.Object
com.thingworx.types.NamedObject
com.thingworx.metadata.FieldDefinition
com.thingworx.metadata.PropertyDefinition
- All Implemented Interfaces:
ISupportsAccessModifier
,ISupportsDeprecation
,IDiffableObject
,ICategorizedObject
,IAspectContainer
,INamedObject
,Serializable
,Cloneable
@ThingworxExtensionApiClass(since={6,6},
canInstantiate=true)
public final class PropertyDefinition
extends FieldDefinition
implements ICategorizedObject, Cloneable, ISupportsAccessModifier, ISupportsDeprecation
- See Also:
-
Field Summary
Fields inherited from class com.thingworx.types.NamedObject
NAME_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a deep clone of this field definition.isLogged()
boolean
isRemote()
void
setCategory
(String category) void
setIndexed
(Boolean value) void
void
setReadOnly
(Boolean value) void
Methods inherited from class com.thingworx.metadata.FieldDefinition
aspectsMatch, getAspects, getBaseType, getDataShapeName, getDefaultValue, getOrdinal, hasDataShape, hasDefaultValue, isContentCrawlerEntry, isDataTableEntry, isPrimaryKey, isPrivate, isQueryParameter, isRequired, isStreamEntry, setAspects, setBaseType, setOrdinal
Methods inherited from class com.thingworx.types.NamedObject
getDescription, getName, setDescription, setName, toValueCollection
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.thingworx.accesscontrol.ISupportsAccessModifier
getAccessModifier, getAccessModifierScope, getExemptList, hasAccessModifier, isInternalAccess, isPrivateAccess, isRestrictedAccess
Methods inherited from interface com.thingworx.deprecation.ISupportsDeprecation
getDeprecated, isDeprecated, isDeprecatedBefore, since
-
Constructor Details
-
PropertyDefinition
@ThingworxExtensionApiMethod(since={6,6}) public PropertyDefinition(String name, String description, BaseTypes baseType)
-
-
Method Details
-
getCategory
- Specified by:
getCategory
in interfaceICategorizedObject
-
setCategory
- Specified by:
setCategory
in interfaceICategorizedObject
-
isBuiltIn
-
isReadOnly
-
isRemote
-
isLogged
-
isIndexed
-
isLocalProperty
-
setLogged
-
setRemote
-
setReadOnly
-
setIndexed
-
getCacheTime
-
getDataChangeType
-
getDataChangeThreshold
-
clone
Description copied from class:FieldDefinition
Creates a deep clone of this field definition.- Overrides:
clone
in classFieldDefinition
- Returns:
- a clone of this field definition
-
getSourceType
@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getSourceType() -
getSourceName
-