public ArrayConstraint(String name, boolean optional, Class dataType, long maxSize)Creates a new instance of ArrayConstraint.
super(name, optional, dataType);
if (!dataType.isArray()) {
throw new IllegalArgumentException("The dataType must be an Array"); //$NON-NLS-1$
}
this.maxSize = maxSize;
|