All Superinterfaces:
Comparable<Tag>, Tag
All Known Subinterfaces:
ClientTag
All Known Implementing Classes:
AbstractClientSystemTag, AbstractClientTag, AbstractTag, AppDescriptionTag, AppNameTag, AppTitleTag, ArrayIndexTag, ClientTagFolder, ClientTimeTag, ComplexTagDefinition, ComplexTagDiff, CurrentWindowTag, DateTimeFormatTag, DefaultDatabaseTag, DefaultTagProviderTag, FolderTag, GatewayAddressTag, GatewayRedundancyRoleTag, HostnameTag, IPAddressTag, LanguageTag, LastProjectUpdateTag, MACAddressTag, PollingClientSystemTag, ProjectTag, ProjectUpdateAvailableTag, RolesDataSetTag, RolesStringTag, StaticClientSystemTag, SystemFlagsTag, SystemTagFolder, TagDefinition, TagDiff, UserNameTag, UserSourceTag

public interface MutableTag extends Tag
  • Method Details

    • setEnabled

      void setEnabled(boolean en)
      Sets this tag enabled/disabled
    • setName

      void setName(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 ClassCastException
      Sets the value of the given tag attribute. If the type of the argument is incorrect, an ClassCastException will be thrown.
      Throws:
      ClassCastException
    • setCurrentValue

      void setCurrentValue(QualifiedValue value) throws ClassCastException
      Sets this tags value. Will throw an ClassCastException if the value cannot be coerced into the datatype of this tag.
      Throws:
      ClassCastException