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
,Comparable<Tag>
- Direct Known Subclasses:
AppDescriptionTag
,AppNameTag
,AppTitleTag
,CurrentWindowTag
,DateTimeFormatTag
,DefaultDatabaseTag
,DefaultTagProviderTag
,GatewayAddressTag
,GatewayRedundancyRoleTag
,LanguageTag
,LastProjectUpdateTag
,MACAddressTag
,PollingClientSystemTag
,ProjectUpdateAvailableTag
,RolesDataSetTag
,RolesStringTag
,StaticClientSystemTag
,UserNameTag
,UserSourceTag
-
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
ConstructorsModifierConstructorDescriptionprotected
AbstractClientSystemTag
(String name, DataType dataType, Object value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
_setAttribute
(TagProp prop, QualifiedValue value) protected void
void
Applies the diff to this tag, and fires one change at the end.clone()
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
Sets the name of this tagMethods 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 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
-
AbstractClientSystemTag
-
-
Method Details
-
getType
Description copied from interface:Tag
Returns the type of this tag. -
applyDiff
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
-
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
-
setAttribute
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:
ClassCastException
-
setAccessRights
Description copied from interface:MutableTag
Sets the type of access rights for this tag.- Specified by:
setAccessRights
in interfaceMutableTag
- Overrides:
setAccessRights
in classAbstractClientTag
-
_setAttribute
- Throws:
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
Description copied from interface:MutableTag
Sets the name of this tag- Specified by:
setName
in interfaceMutableTag
- Overrides:
setName
in classAbstractClientTag
-
clone
-