Class FieldCardinalityCommandViolation
java.lang.Object
ai.stapi.graphsystem.commandvalidation.model.AbstractCommandConstrainViolation
ai.stapi.graphsystem.commandvalidation.infrastructure.operationdefinition.FieldCardinalityCommandViolation
- All Implemented Interfaces:
CommandConstrainViolation
-
Nested Class Summary
Nested classes/interfaces inherited from interface ai.stapi.graphsystem.commandvalidation.model.CommandConstrainViolation
CommandConstrainViolation.Level -
Constructor Summary
ConstructorsConstructorDescriptionFieldCardinalityCommandViolation(String commandName, CommandViolationFieldPath fieldPath, Integer actualSize, Integer requiredMin, String requiredMax) -
Method Summary
Methods inherited from class ai.stapi.graphsystem.commandvalidation.model.AbstractCommandConstrainViolation
getCommandName, getFieldPath, getLevel, getMessage
-
Constructor Details
-
FieldCardinalityCommandViolation
public FieldCardinalityCommandViolation(String commandName, CommandViolationFieldPath fieldPath, Integer actualSize, Integer requiredMin, String requiredMax)
-
-
Method Details
-
getBecauseMessage
- Specified by:
getBecauseMessagein classAbstractCommandConstrainViolation
-
getActualSize
-
getRequiredMin
-
getRequiredMax
-