public MapConstraint(String name, boolean optional, Class dataType, Class keyType, Class valueType, boolean valueNullable)Creates a new instance of MapConstraint.
super(name, optional, dataType);
if (!Map.class.isAssignableFrom(dataType)) {
throw new IllegalArgumentException("The dataType must be a Map"); //$NON-NLS-1$
}
this.keyType = keyType;
this.valueType = valueType;
this.valueNullable = valueNullable;
|