}
protected MapAttributeDefinition(final String name, final String xmlName, final boolean allowNull, boolean allowExpression,
final int minSize, final int maxSize, final ParameterCorrector corrector, final ParameterValidator elementValidator,
final String[] alternatives, final String[] requires, final AttributeMarshaller attributeMarshaller, final boolean resourceOnly, final DeprecationData deprecated, final AttributeAccess.Flag... flags) {
super(name, xmlName, null, ModelType.OBJECT, allowNull, allowExpression, null, corrector, new MapValidator(elementValidator, allowNull, minSize, maxSize), false, alternatives, requires, attributeMarshaller, resourceOnly, deprecated, flags);
this.elementValidator = elementValidator;
}