java.lang.Object
com.inductiveautomation.factorypmi.application.binding.UDTProperty
All Implemented Interfaces:
Serializable

public class UDTProperty extends Object implements Serializable
See Also:
  • Field Details

    • LOG

      protected static final LoggerEx LOG
    • META_PATH

      public static TagPath META_PATH
      The path to the sub-property that holds the current tag's path.
  • Constructor Details

    • UDTProperty

      public UDTProperty()
      For XML serialization
    • UDTProperty

      public UDTProperty(TagPath qualifiedType)
      Creates a UDT property that represents a given type.
  • Method Details

    • setupDirectBinding

      public void setupDirectBinding(JComponent comp, String name) throws Exception
      Throws:
      Exception
    • updateFromToString

      public void updateFromToString(String toStringValue)
    • createMap

      protected void createMap()
      Initializes the properties map. Only here so that our subclass in TemplateHolder can avoid this initialization
    • initialize

      public void initialize(JComponent parent, String propertyName, ClientContext context)
      UDT properties must be initialized to learn the current structure of the UDT they represent.
    • getSubProperties

      public Collection<TagPath> getSubProperties()
    • getQualifiedType

      public TagPath getQualifiedType()
      The tag path of the type of this UDT
    • setQualifiedType

      @Deprecated public void setQualifiedType(TagPath qualifiedType)
      Deprecated.
      For deserialization backwards compatibility only
    • setQualifiedType

      public void setQualifiedType(TagPath qualifiedType)
    • getType

      public Class<?> getType(TagPath subProperty)
    • updateDefinition

      public void updateDefinition(UdtDefinitionInfo tag, boolean fireEvents)
    • setTag

      public void setTag(UdtDefinitionInfo tag, TagPath tagPath)
    • setDrivingTagPath

      public void setDrivingTagPath(TagPath tagPath)
    • getDrivingTagPath

      public TagPath getDrivingTagPath()
      Returns the path of the instance this UDTProperty is currently representing, if any. Otherwise, null.
    • getDefinition

      public UdtDefinitionInfo getDefinition()
    • setValue

      public void setValue(TagPath path, QualifiedValue value)
    • setValueInternal

      protected void setValueInternal(TagPath path, QualifiedValue value, boolean checkExisting, boolean fireGlobal)
    • getValue

      public QualifiedValue getValue(TagPath path)
    • toString

      public String toString()
      Overrides:
      toString in class Object