Record Class ModelFacadeResult.ConcretizationRejected
java.lang.Object
java.lang.Record
tools.refinery.generator.ModelFacadeResult.ConcretizationRejected
- All Implemented Interfaces:
ModelFacadeResult, ModelFacadeResult.Rejected
- Enclosing interface:
ModelFacadeResult
public static record ModelFacadeResult.ConcretizationRejected(PropagationRejectedResult concretizationResult)
extends Record
implements ModelFacadeResult.Rejected
-
Nested Class Summary
Nested classes/interfaces inherited from interface ModelFacadeResult
ModelFacadeResult.ConcretizationRejected, ModelFacadeResult.PropagationRejected, ModelFacadeResult.Rejected, ModelFacadeResult.Success -
Field Summary
Fields inherited from interface ModelFacadeResult
SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionConcretizationRejected(PropagationRejectedResult concretizationResult) Creates an instance of aConcretizationRejectedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconcretizationResultrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanbooleanreason()final StringtoString()Returns a string representation of this record class.Methods inherited from interface ModelFacadeResult
isRejected
-
Constructor Details
-
ConcretizationRejected
Creates an instance of aConcretizationRejectedrecord class.- Parameters:
concretizationResult- the value for theconcretizationResultrecord component
-
-
Method Details
-
isPropagationRejected
public boolean isPropagationRejected()- Specified by:
isPropagationRejectedin interfaceModelFacadeResult
-
isConcretizationRejected
public boolean isConcretizationRejected()- Specified by:
isConcretizationRejectedin interfaceModelFacadeResult
-
formatMessage
- Specified by:
formatMessagein interfaceModelFacadeResult.Rejected
-
reason
- Specified by:
reasonin interfaceModelFacadeResult.Rejected
-
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 withObjects::equals(Object,Object). -
concretizationResult
Returns the value of theconcretizationResultrecord component.- Returns:
- the value of the
concretizationResultrecord component
-