Class StructureQueryConstraints
Object
StructureQueryConstraints
Utility methods for 
StructureQueryConstraint implementations.- 
Method Summary
Modifier and TypeMethodDescriptionstatic MessageSetvalidateArgumentCount(List<String> arguments, int minArguments, int maxArguments, MessageSet messageSet) Checks that the arguments list contains not less thanminArgumentsand not more thanmaxArgumentselements. 
- 
Method Details
- 
validateArgumentCount
public static MessageSet validateArgumentCount(List<String> arguments, int minArguments, int maxArguments, MessageSet messageSet) Checks that the arguments list contains not less thanminArgumentsand not more thanmaxArgumentselements. Intended to be used inStructureQueryConstraint.validate(List).- Parameters:
 arguments- constraint argumentsminArguments- the minimum number of arguments the constraint can takemaxArguments- the maximum number of arguments the constraint can takemessageSet- the message set where the resulting error message will be added- Returns:
 - the specified message set
 
 
 -