Record Class EntityMetadata.TransitionDecision
java.lang.Object
java.lang.Record
io.fluxzero.sdk.modeling.EntityMetadata.TransitionDecision
- Enclosing class:
EntityMetadata
public static record EntityMetadata.TransitionDecision(boolean active, boolean storeEvent, boolean publishEvent, boolean updateState)
extends Record
Storage-neutral effects of one resolved transition.
-
Constructor Summary
ConstructorsConstructorDescriptionTransitionDecision(boolean active, boolean storeEvent, boolean publishEvent, boolean updateState) Creates an instance of aTransitionDecisionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord 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 thepublishEventrecord component.booleanReturns the value of thestoreEventrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theupdateStaterecord component.
-
Constructor Details
-
TransitionDecision
public TransitionDecision(boolean active, boolean storeEvent, boolean publishEvent, boolean updateState) Creates an instance of aTransitionDecisionrecord class.- Parameters:
active- the value for theactiverecord componentstoreEvent- the value for thestoreEventrecord componentpublishEvent- the value for thepublishEventrecord componentupdateState- the value for theupdateStaterecord component
-
-
Method Details
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-
storeEvent
public boolean storeEvent()Returns the value of thestoreEventrecord component.- Returns:
- the value of the
storeEventrecord component
-
publishEvent
public boolean publishEvent()Returns the value of thepublishEventrecord component.- Returns:
- the value of the
publishEventrecord component
-
updateState
public boolean updateState()Returns the value of theupdateStaterecord component.- Returns:
- the value of the
updateStaterecord component
-