Record Class TurJobItemWithSession
public record TurJobItemWithSession(TurSNJobItem turSNJobItem, TurConnectorSession session, boolean standalone)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTurJobItemWithSession
(TurSNJobItem turSNJobItem, TurConnectorSession session, boolean standalone) Creates an instance of aTurJobItemWithSession
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.session()
Returns the value of thesession
record component.boolean
Returns the value of thestandalone
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theturSNJobItem
record component.
-
Constructor Details
-
TurJobItemWithSession
public TurJobItemWithSession(TurSNJobItem turSNJobItem, TurConnectorSession session, boolean standalone) Creates an instance of aTurJobItemWithSession
record class.- Parameters:
turSNJobItem
- the value for theturSNJobItem
record componentsession
- the value for thesession
record componentstandalone
- the value for thestandalone
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 '=='. -
turSNJobItem
Returns the value of theturSNJobItem
record component.- Returns:
- the value of the
turSNJobItem
record component
-
session
Returns the value of thesession
record component.- Returns:
- the value of the
session
record component
-
standalone
public boolean standalone()Returns the value of thestandalone
record component.- Returns:
- the value of the
standalone
record component
-