Class BrowseElement

java.lang.Object
com.inductiveautomation.ignition.common.opc.BrowseElement
All Implemented Interfaces:
Serializable

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

    • PROP_PROVIDER

      public static final Integer PROP_PROVIDER
    • PROP_DRIVER

      public static final Integer PROP_DRIVER
    • server

      protected String server
    • browsePath

      protected String browsePath
    • itemName

      protected String itemName
    • itemId

      protected String itemId
    • itemType

      protected int itemType
    • properties

      protected Map<Integer,BrowseElement.PropertyElement> properties
    • complete

      protected boolean complete
  • Constructor Details

    • BrowseElement

      public BrowseElement()
    • BrowseElement

      public BrowseElement(int itemType)
  • Method Details

    • asServerNodeId

      public ServerNodeId asServerNodeId()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getServer

      public String getServer()
    • getBrowsePath

      public String getBrowsePath()
    • getItemName

      public String getItemName()
    • getItemId

      public String getItemId()
    • getItemType

      public int getItemType()
    • getProperty

      public BrowseElement.PropertyElement getProperty(int id)
    • isComplete

      public boolean isComplete()
    • setComplete

      public void setComplete(boolean value)
    • fillInDetails

      public void fillInDetails(BrowseElement elm)
    • getProperties

      public Collection<BrowseElement.PropertyElement> getProperties()
      Returns all defined properties. Will return an empty collection (not null) if there are no properties
    • setServer

      public void setServer(String server)
    • setBrowsePath

      public void setBrowsePath(String browsePath)
    • setItemName

      public void setItemName(String itemName)
    • setItemId

      public void setItemId(String itemId)
    • setItemType

      public void setItemType(int itemType)
    • createRequestElement

      public BrowseElement createRequestElement(int type)
      Creates a copy of this browse element, but with the given type and no properties
    • toXML

      public void toXML(StringBuilder out)
    • toXML

      public void toXML(StringBuilder out, int type, boolean includeProperties)
    • addProperty

      public void addProperty(int id, String name, String value)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toBrowseElements

      public static List<BrowseElement> toBrowseElements(List<OPCBrowseElement> opcElements)
    • toBrowseElement

      public static BrowseElement toBrowseElement(OPCBrowseElement opcElem)
    • toServerNodeId

      public static ServerNodeId toServerNodeId(BrowseElement elem)