Record Class OpcBrowseTools.OpcNodeRow

java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.ai.tool.OpcBrowseTools.OpcNodeRow
Enclosing class:
OpcBrowseTools

public static record OpcBrowseTools.OpcNodeRow(String serverName, @Nullable String nodeId, @Nullable String itemName, String itemType, @Nullable String dataType, @Nullable String browsePath, boolean complete, Map<String,String> metadata) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    OpcNodeRow(String serverName, @Nullable String nodeId, @Nullable String itemName, String itemType, @Nullable String dataType, @Nullable String browsePath, boolean complete, Map<String,String> metadata)
    Creates an instance of a OpcNodeRow record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Returns the value of the browsePath record component.
    boolean
    Returns the value of the complete record component.
    @Nullable String
    Returns the value of the dataType record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    @Nullable String
    Returns the value of the itemName record component.
    Returns the value of the itemType record component.
    Returns the value of the metadata record component.
    @Nullable String
    Returns the value of the nodeId record component.
    Returns the value of the serverName record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OpcNodeRow

      public OpcNodeRow(String serverName, @Nullable String nodeId, @Nullable String itemName, String itemType, @Nullable String dataType, @Nullable String browsePath, boolean complete, Map<String,String> metadata)
      Creates an instance of a OpcNodeRow record class.
      Parameters:
      serverName - the value for the serverName record component
      nodeId - the value for the nodeId record component
      itemName - the value for the itemName record component
      itemType - the value for the itemType record component
      dataType - the value for the dataType record component
      browsePath - the value for the browsePath record component
      complete - the value for the complete record component
      metadata - the value for the metadata record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • serverName

      public String serverName()
      Returns the value of the serverName record component.
      Returns:
      the value of the serverName record component
    • nodeId

      public @Nullable String nodeId()
      Returns the value of the nodeId record component.
      Returns:
      the value of the nodeId record component
    • itemName

      public @Nullable String itemName()
      Returns the value of the itemName record component.
      Returns:
      the value of the itemName record component
    • itemType

      public String itemType()
      Returns the value of the itemType record component.
      Returns:
      the value of the itemType record component
    • dataType

      public @Nullable String dataType()
      Returns the value of the dataType record component.
      Returns:
      the value of the dataType record component
    • browsePath

      public @Nullable String browsePath()
      Returns the value of the browsePath record component.
      Returns:
      the value of the browsePath record component
    • complete

      public boolean complete()
      Returns the value of the complete record component.
      Returns:
      the value of the complete record component
    • metadata

      public Map<String,String> metadata()
      Returns the value of the metadata record component.
      Returns:
      the value of the metadata record component