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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a deep clone of this field definition.isLogged()booleanisRemote()voidsetCategory(String category) voidsetIndexed(Boolean value) voidvoidsetReadOnly(Boolean value) voidMethods inherited from class com.thingworx.metadata.FieldDefinition
aspectsMatch, getAspects, getBaseType, getDataShapeName, getDefaultValue, getOrdinal, hasDataShape, hasDefaultValue, isContentCrawlerEntry, isDataTableEntry, isPrimaryKey, isPrivate, isQueryParameter, isRequired, isStreamEntry, setAspects, setBaseType, setOrdinalMethods inherited from class com.thingworx.types.NamedObject
getDescription, getName, setDescription, setName, toValueCollectionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.thingworx.accesscontrol.ISupportsAccessModifier
getAccessModifier, getAccessModifierScope, getExemptList, hasAccessModifier, isInternalAccess, isPrivateAccess, isRestrictedAccessMethods 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:
getCategoryin interfaceICategorizedObject
-
setCategory
- Specified by:
setCategoryin interfaceICategorizedObject
-
isBuiltIn
-
isReadOnly
-
isRemote
-
isLogged
-
isIndexed
-
isLocalProperty
-
setLogged
-
setRemote
-
setReadOnly
-
setIndexed
-
getCacheTime
-
getDataChangeType
-
getDataChangeThreshold
-
clone
Description copied from class:FieldDefinitionCreates a deep clone of this field definition.- Overrides:
clonein classFieldDefinition- Returns:
- a clone of this field definition
-
getSourceType
@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getSourceType() -
getSourceName
-