Record Class SwingRpc.SwingSessionInfo
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.rpc.impl.SwingRpc.SwingSessionInfo
- Enclosing interface:
- SwingRpc
-
Constructor Summary
ConstructorsConstructorDescriptionSwingSessionInfo(String username, String project, String address, boolean isDesigner, String clientId, long creationTime) Creates an instance of aSwingSessionInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()Returns the value of theaddressrecord component.clientId()Returns the value of theclientIdrecord component.longReturns the value of thecreationTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisDesignerrecord component.project()Returns the value of theprojectrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
SwingSessionInfo
public SwingSessionInfo(String username, String project, String address, boolean isDesigner, String clientId, long creationTime) Creates an instance of aSwingSessionInforecord class.- Parameters:
username- the value for theusernamerecord componentproject- the value for theprojectrecord componentaddress- the value for theaddressrecord componentisDesigner- the value for theisDesignerrecord componentclientId- the value for theclientIdrecord componentcreationTime- the value for thecreationTimerecord component
-
-
Method Details
-
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. -
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. -
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 '=='. -
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
project
Returns the value of theprojectrecord component.- Returns:
- the value of the
projectrecord component
-
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
isDesigner
public boolean isDesigner()Returns the value of theisDesignerrecord component.- Returns:
- the value of the
isDesignerrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
creationTime
public long creationTime()Returns the value of thecreationTimerecord component.- Returns:
- the value of the
creationTimerecord component
-