Record Class OpcBrowseTools.OpcBrowsePage
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.designer.ai.tool.OpcBrowseTools.OpcBrowsePage
- Enclosing class:
OpcBrowseTools
public static record OpcBrowseTools.OpcBrowsePage(String serverName, String nodeId, List<OpcBrowseTools.OpcNodeRow> results, int totalAvailable, boolean truncated)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOpcBrowsePage(String serverName, String nodeId, List<OpcBrowseTools.OpcNodeRow> results, int totalAvailable, boolean truncated) Creates an instance of aOpcBrowsePagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.nodeId()Returns the value of thenodeIdrecord component.results()Returns the value of theresultsrecord component.Returns the value of theserverNamerecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetotalAvailablerecord component.booleanReturns the value of thetruncatedrecord component.
-
Constructor Details
-
OpcBrowsePage
public OpcBrowsePage(String serverName, String nodeId, List<OpcBrowseTools.OpcNodeRow> results, int totalAvailable, boolean truncated) Creates an instance of aOpcBrowsePagerecord class.- Parameters:
serverName- the value for theserverNamerecord componentnodeId- the value for thenodeIdrecord componentresults- the value for theresultsrecord componenttotalAvailable- the value for thetotalAvailablerecord componenttruncated- the value for thetruncatedrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
nodeId
Returns the value of thenodeIdrecord component.- Returns:
- the value of the
nodeIdrecord component
-
results
Returns the value of theresultsrecord component.- Returns:
- the value of the
resultsrecord component
-
totalAvailable
public int totalAvailable()Returns the value of thetotalAvailablerecord component.- Returns:
- the value of the
totalAvailablerecord component
-
truncated
public boolean truncated()Returns the value of thetruncatedrecord component.- Returns:
- the value of the
truncatedrecord component
-