Package tools.refinery.generator
Record Class ModelFacadeResult.PropagationRejected
java.lang.Object
java.lang.Record
tools.refinery.generator.ModelFacadeResult.PropagationRejected
- All Implemented Interfaces:
ModelFacadeResult,ModelFacadeResult.Rejected
- Enclosing interface:
ModelFacadeResult
public static record ModelFacadeResult.PropagationRejected(PropagationRejectedResult propagationResult)
extends Record
implements ModelFacadeResult.Rejected
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.refinery.generator.ModelFacadeResult
ModelFacadeResult.ConcretizationRejected, ModelFacadeResult.PropagationRejected, ModelFacadeResult.Rejected, ModelFacadeResult.Success -
Field Summary
Fields inherited from interface tools.refinery.generator.ModelFacadeResult
SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionPropagationRejected(PropagationRejectedResult propagationResult) Creates an instance of aPropagationRejectedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanbooleanReturns the value of thepropagationResultrecord component.reason()final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tools.refinery.generator.ModelFacadeResult
isRejected
-
Constructor Details
-
PropagationRejected
Creates an instance of aPropagationRejectedrecord class.- Parameters:
propagationResult- the value for thepropagationResultrecord 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
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). -
propagationResult
Returns the value of thepropagationResultrecord component.- Returns:
- the value of the
propagationResultrecord component
-