Class InvalidUnionMemberTypeCommandViolation
java.lang.Object
ai.stapi.graphsystem.commandvalidation.model.AbstractCommandConstrainViolation
ai.stapi.graphsystem.commandvalidation.infrastructure.operationdefinition.InvalidUnionMemberTypeCommandViolation
- All Implemented Interfaces:
CommandConstrainViolation
-
Nested Class Summary
Nested classes/interfaces inherited from interface ai.stapi.graphsystem.commandvalidation.model.CommandConstrainViolation
CommandConstrainViolation.Level -
Constructor Summary
ConstructorsConstructorDescriptionInvalidUnionMemberTypeCommandViolation(String commandName, CommandViolationFieldPath fieldPath, Object actualMemberType, List<String> possibleMemberTypes) -
Method Summary
Methods inherited from class ai.stapi.graphsystem.commandvalidation.model.AbstractCommandConstrainViolation
getCommandName, getFieldPath, getLevel, getMessage
-
Constructor Details
-
InvalidUnionMemberTypeCommandViolation
public InvalidUnionMemberTypeCommandViolation(String commandName, CommandViolationFieldPath fieldPath, Object actualMemberType, List<String> possibleMemberTypes)
-
-
Method Details
-
getBecauseMessage
- Specified by:
getBecauseMessagein classAbstractCommandConstrainViolation
-
getActualMemberType
-
getPossibleMemberTypes
-