Interface MutableTag
-
- All Known Subinterfaces:
ClientTag
- All Known Implementing Classes:
AbstractClientSystemTag
,AbstractClientTag
,AbstractTag
,AppDescriptionTag
,AppNameTag
,AppTitleTag
,ClientTagFolder
,ClientTimeTag
,ComplexTagDefinition
,ComplexTagDiff
,CurrentWindowTag
,DateTimeFormatTag
,DefaultDatabaseTag
,DefaultTagProviderTag
,FolderTag
,GatewayAddressTag
,GatewayRedundancyRoleTag
,HostnameTag
,IPAddressTag
,LanguageTag
,LastProjectUpdateTag
,MACAddressTag
,PollingClientSystemTag
,ProjectTag
,RolesDataSetTag
,RolesStringTag
,StaticClientSystemTag
,SystemFlagsTag
,SystemTagFolder
,TagDefinition
,TagDiff
,UserNameTag
,UserSourceTag
public interface MutableTag extends Tag
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setAccessRights(AccessRightsType type)
Sets the type of access rights for this tag.void
setAlarmStates(AlarmConfiguration config)
void
setAttribute(Property<?> prop, QualifiedValue value)
Sets the value of the given tag attribute.void
setCurrentValue(QualifiedValue value)
Sets this tags value.void
setDataType(DataType type)
Sets the data type for this tag.void
setEnabled(boolean en)
Sets this tag enabled/disabledvoid
setEventScripts(TagEventScripts scripts)
void
setName(java.lang.String name)
Sets the name of this tag-
Methods inherited from interface com.inductiveautomation.ignition.common.sqltags.model.Tag
getAccessRights, getAlarmStates, getAttribute, getCurrentValue, getDataType, getEventScripts, getName, getPermissionModel, getType, isEnabled
-
-
-
-
Method Detail
-
setEnabled
void setEnabled(boolean en)
Sets this tag enabled/disabled
-
setName
void setName(java.lang.String name)
Sets the name of this tag
-
setDataType
void setDataType(DataType type)
Sets the data type for this tag. The existing value will most likely be lost.
-
setAccessRights
void setAccessRights(AccessRightsType type)
Sets the type of access rights for this tag.
-
setAlarmStates
void setAlarmStates(AlarmConfiguration config)
-
setEventScripts
void setEventScripts(TagEventScripts scripts)
-
setAttribute
void setAttribute(Property<?> prop, QualifiedValue value) throws java.lang.ClassCastException
Sets the value of the given tag attribute. If the type of the argument is incorrect, an ClassCastException will be thrown.- Throws:
java.lang.ClassCastException
-
setCurrentValue
void setCurrentValue(QualifiedValue value) throws java.lang.ClassCastException
Sets this tags value. Will throw an ClassCastException if the value cannot be coerced into the datatype of this tag.- Throws:
java.lang.ClassCastException
-
-