Package energy.eddie.aiida.dtos.events
Record Class InboundPermissionAcceptEvent
java.lang.Object
java.lang.Record
energy.eddie.aiida.dtos.events.InboundPermissionAcceptEvent
- Record Components:
permissionId- Id of the accepted inbound permission.asset- Asset of the inbound data source, one of the assets allowed by the data need.
- All Implemented Interfaces:
AiidaEvent
public record InboundPermissionAcceptEvent(UUID permissionId, AiidaAsset asset)
extends Record
implements AiidaEvent
Published after an inbound permission was accepted to create its inbound data source.
-
Constructor Summary
ConstructorsConstructorDescriptionInboundPermissionAcceptEvent(UUID permissionId, AiidaAsset asset) Creates an instance of aInboundPermissionAcceptEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionasset()Returns the value of theassetrecord 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InboundPermissionAcceptEvent
Creates an instance of aInboundPermissionAcceptEventrecord class.- Parameters:
permissionId- the value for thepermissionIdrecord componentasset- the value for theassetrecord 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). -
permissionId
Returns the value of thepermissionIdrecord component.- Returns:
- the value of the
permissionIdrecord component
-
asset
Returns the value of theassetrecord component.- Returns:
- the value of the
assetrecord component
-