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 aSwingSessionInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()
Returns the value of theaddress
record component.clientId()
Returns the value of theclientId
record component.long
Returns the value of thecreationTime
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisDesigner
record component.project()
Returns the value of theproject
record component.final String
toString()
Returns a string representation of this record class.username()
Returns the value of theusername
record component.
-
Constructor Details
-
SwingSessionInfo
public SwingSessionInfo(String username, String project, String address, boolean isDesigner, String clientId, long creationTime) Creates an instance of aSwingSessionInfo
record class.- Parameters:
username
- the value for theusername
record componentproject
- the value for theproject
record componentaddress
- the value for theaddress
record componentisDesigner
- the value for theisDesigner
record componentclientId
- the value for theclientId
record componentcreationTime
- the value for thecreationTime
record 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 theusername
record component.- Returns:
- the value of the
username
record component
-
project
Returns the value of theproject
record component.- Returns:
- the value of the
project
record component
-
address
Returns the value of theaddress
record component.- Returns:
- the value of the
address
record component
-
isDesigner
public boolean isDesigner()Returns the value of theisDesigner
record component.- Returns:
- the value of the
isDesigner
record component
-
clientId
Returns the value of theclientId
record component.- Returns:
- the value of the
clientId
record component
-
creationTime
public long creationTime()Returns the value of thecreationTime
record component.- Returns:
- the value of the
creationTime
record component
-