Class AbstractClientSystemTag
- java.lang.Object
-
- com.inductiveautomation.ignition.common.sqltags.tags.AbstractTag
-
- com.inductiveautomation.factorypmi.application.sqltags.AbstractClientTag
-
- com.inductiveautomation.factorypmi.application.sqltags.system.client.AbstractClientSystemTag
-
- All Implemented Interfaces:
ClientTag
,Diagnosable
,MutableTag
,Tag
,TagNode
,TagScriptMonitor
,java.lang.Comparable<Tag>
- Direct Known Subclasses:
AppDescriptionTag
,AppNameTag
,AppTitleTag
,CurrentWindowTag
,DateTimeFormatTag
,DefaultDatabaseTag
,DefaultTagProviderTag
,GatewayAddressTag
,GatewayRedundancyRoleTag
,LanguageTag
,LastProjectUpdateTag
,MACAddressTag
,PollingClientSystemTag
,RolesDataSetTag
,RolesStringTag
,StaticClientSystemTag
,UserNameTag
,UserSourceTag
public abstract class AbstractClientSystemTag extends AbstractClientTag
-
-
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 Modifier Constructor Description protected
AbstractClientSystemTag(java.lang.String name, DataType dataType, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_setAttribute(TagProp prop, QualifiedValue value)
protected void
_setValue(java.lang.Object value)
void
applyDiff(TagDiff diff)
Applies the diff to this tag, and fires one change at the end.ClientTag
clone()
TagType
getType()
Returns the type of this tag.void
setAccessRights(AccessRightsType accessRights)
Sets the type of access rights for this tag.void
setAttribute(Property<?> prop, QualifiedValue value)
Sets the value of the given tag attribute.void
setCurrentValue(QualifiedValue value)
Sets this tags value.void
setEnabled(boolean en)
Sets this tag enabled/disabledvoid
setName(java.lang.String name)
Sets the name of this tag-
Methods inherited from class com.inductiveautomation.factorypmi.application.sqltags.AbstractClientTag
checkName, findChild, fireScriptEvent, fireTagChange, getAlarmStates, getAttribute, getChildren, getCurrentValue, getName, getPath, getValueRaw, hasPermission, isAlarmingSupported, notifyTagDeleted, onScriptError, onScriptSuccess, removeChild, sampleDiagnostics, setAlarmStates, setAlarmStates, setEventScripts, setTypeAndValue, setTypeAndValue, setTypeAndValue, startBinding, stopBinding, 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
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 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 Detail
-
AbstractClientSystemTag
protected AbstractClientSystemTag(java.lang.String name, DataType dataType, java.lang.Object value)
-
-
Method Detail
-
getType
public TagType getType()
Description copied from interface:Tag
Returns the type of this tag.
-
applyDiff
public void applyDiff(TagDiff diff)
Description copied from class:AbstractClientTag
Applies the diff to this tag, and fires one change at the end.- Specified by:
applyDiff
in interfaceClientTag
- Overrides:
applyDiff
in classAbstractClientTag
-
_setValue
protected void _setValue(java.lang.Object value)
-
setCurrentValue
public void setCurrentValue(QualifiedValue value)
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
-
setAttribute
public void setAttribute(Property<?> prop, QualifiedValue value) throws java.lang.ClassCastException
Description copied from interface:MutableTag
Sets the value of the given tag attribute. If the type of the argument is incorrect, an ClassCastException will be thrown.- Specified by:
setAttribute
in interfaceMutableTag
- Overrides:
setAttribute
in classAbstractClientTag
- Throws:
java.lang.ClassCastException
-
setAccessRights
public void setAccessRights(AccessRightsType accessRights)
Description copied from interface:MutableTag
Sets the type of access rights for this tag.- Specified by:
setAccessRights
in interfaceMutableTag
- Overrides:
setAccessRights
in classAbstractClientTag
-
_setAttribute
public void _setAttribute(TagProp prop, QualifiedValue value) throws java.lang.ClassCastException
- Throws:
java.lang.ClassCastException
-
setEnabled
public void setEnabled(boolean en)
Description copied from interface:MutableTag
Sets this tag enabled/disabled- Specified by:
setEnabled
in interfaceMutableTag
- Overrides:
setEnabled
in classAbstractClientTag
-
setName
public void setName(java.lang.String name)
Description copied from interface:MutableTag
Sets the name of this tag- Specified by:
setName
in interfaceMutableTag
- Overrides:
setName
in classAbstractClientTag
-
clone
public ClientTag clone()
- Overrides:
clone
in classjava.lang.Object
-
-