Class ProjectTag
java.lang.Object
com.inductiveautomation.ignition.common.sqltags.tags.AbstractTag
com.inductiveautomation.factorypmi.application.sqltags.AbstractClientTag
com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTag
- All Implemented Interfaces:
ClientTag
,Diagnosable
,MutableTag
,Tag
,TagNode
,TagScriptMonitor
,Comparable<Tag>
ProjectTags are what we call Client Tags. (ClientTag is System > Client Tag)
-
Field Summary
Fields inherited from class com.inductiveautomation.factorypmi.application.sqltags.AbstractClientTag
appContext, deleted, LOGGER, name, pathContext
Fields inherited from class com.inductiveautomation.ignition.common.sqltags.tags.AbstractTag
accessRights, attributes, enabled, eventScripts, permissionModel, type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TagBinding
Creates a new TagBinding object if this tag should have some sort of binding.getType()
Returns the type of this tag.void
setAttributes
(Map<TagProp, Object> map) void
Sets this tags value.void
setEnabled
(boolean enabled) Sets this tag enabled/disabledvoid
startBinding
(VisionClientContext appContext, TagPath pathContext, TagChangeListener rootListener) Starts any binding for the tag, such as an expression binding or a SQL query bindingvoid
Stops any binding activities for this tagMethods inherited from class com.inductiveautomation.factorypmi.application.sqltags.AbstractClientTag
applyDiff, checkName, findChild, fireScriptEvent, fireTagChange, getAlarmStates, getAttribute, getChildren, getCurrentValue, getName, getPath, getValueRaw, hasPermission, isAlarmingSupported, notifyTagDeleted, onScriptError, onScriptSuccess, removeChild, sampleDiagnostics, setAccessRights, setAlarmStates, setAlarmStates, setAttribute, setEventScripts, setName, setTypeAndValue, setTypeAndValue, setTypeAndValue, transferState, updateRuntimeQuality
Methods inherited from class com.inductiveautomation.ignition.common.sqltags.tags.AbstractTag
addChild, coerceValue, compareTo, getAccessRights, getChild, getDataType, getEventScripts, getPermissionModel, getRawAttributes, isEnabled, main, setDataType, setPermissionModel, setRawAttributes, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.factorypmi.application.sqltags.ClientTag
addChild
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.inductiveautomation.ignition.common.sqltags.model.MutableTag
setDataType
Methods inherited from interface com.inductiveautomation.ignition.common.sqltags.model.Tag
getAccessRights, getDataType, getEventScripts, getPermissionModel, isEnabled
-
Constructor Details
-
ProjectTag
public ProjectTag() -
ProjectTag
-
-
Method Details
-
setCurrentValue
Description copied from interface:MutableTag
Sets this tags value. Will throw an ClassCastException if the value cannot be coerced into the datatype of this tag.- Specified by:
setCurrentValue
in interfaceMutableTag
- Overrides:
setCurrentValue
in classAbstractClientTag
- Throws:
ClassCastException
-
createTagBinding
Creates a new TagBinding object if this tag should have some sort of binding.- Returns:
- the appropriate TagBinding, or null if this is a memory tag
- Throws:
Exception
- if no expression is defined for non-memory tags
-
startBinding
public void startBinding(VisionClientContext appContext, TagPath pathContext, TagChangeListener rootListener) Description copied from interface:ClientTag
Starts any binding for the tag, such as an expression binding or a SQL query binding- Specified by:
startBinding
in interfaceClientTag
- Overrides:
startBinding
in classAbstractClientTag
-
stopBinding
public void stopBinding()Description copied from interface:ClientTag
Stops any binding activities for this tag- Specified by:
stopBinding
in interfaceClientTag
- Overrides:
stopBinding
in classAbstractClientTag
-
setEnabled
public void setEnabled(boolean enabled) Description copied from interface:MutableTag
Sets this tag enabled/disabled- Specified by:
setEnabled
in interfaceMutableTag
- Overrides:
setEnabled
in classAbstractClientTag
-
getType
Description copied from interface:Tag
Returns the type of this tag. -
getAttributes
-
setAttributes
-