super(propertyName);
Assert.notNull(otherPropertyNames, "otherPropertyNames is required");
Assert.notNull(operator, "operator is required");
Assert.notEmpty(otherPropertyNames, "otherPropertyNames must consist of at least one name");
CompoundConstraint compoundConstraint = operator.createConstraint();
CompoundPropertyConstraint propertyConstraint = new CompoundPropertyConstraint(compoundConstraint);
for( int i = 0; i < otherPropertyNames.length; i++ ) {
propertyConstraint.add(new PropertyPresent(otherPropertyNames[i]));
}
setConstraint(propertyConstraint);