Package energy.eddie.api.agnostic.aiida
Record Class AiidaConnectionStatusMessageDto
java.lang.Object
java.lang.Record
energy.eddie.api.agnostic.aiida.AiidaConnectionStatusMessageDto
- Record Components:
connectionId- unique id of the connectiondataNeedId- unique id of the dataNeed for the permissiontimestamp- timestamp of the messagestatus- status of the messagepermissionId- unique id of the permissioneddieId- unique id of the eddie application
public record AiidaConnectionStatusMessageDto(String connectionId, UUID dataNeedId, Instant timestamp, PermissionProcessStatus status, UUID permissionId, UUID eddieId)
extends Record
Represents a generic status message for a permission
-
Constructor Summary
ConstructorsConstructorDescriptionAiidaConnectionStatusMessageDto(String connectionId, UUID dataNeedId, Instant timestamp, PermissionProcessStatus status, UUID permissionId, UUID eddieId) Creates an instance of aAiidaConnectionStatusMessageDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionIdrecord component.Returns the value of thedataNeedIdrecord component.eddieId()Returns the value of theeddieIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepermissionIdrecord component.status()Returns the value of thestatusrecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AiidaConnectionStatusMessageDto
public AiidaConnectionStatusMessageDto(String connectionId, UUID dataNeedId, Instant timestamp, PermissionProcessStatus status, UUID permissionId, UUID eddieId) Creates an instance of aAiidaConnectionStatusMessageDtorecord class.- Parameters:
connectionId- the value for theconnectionIdrecord componentdataNeedId- the value for thedataNeedIdrecord componenttimestamp- the value for thetimestamprecord componentstatus- the value for thestatusrecord componentpermissionId- the value for thepermissionIdrecord componenteddieId- the value for theeddieIdrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
connectionId
Returns the value of theconnectionIdrecord component.- Returns:
- the value of the
connectionIdrecord component
-
dataNeedId
Returns the value of thedataNeedIdrecord component.- Returns:
- the value of the
dataNeedIdrecord component
-
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
permissionId
Returns the value of thepermissionIdrecord component.- Returns:
- the value of the
permissionIdrecord component
-
eddieId
Returns the value of theeddieIdrecord component.- Returns:
- the value of the
eddieIdrecord component
-