@Test public void testCreateRuleIdentifierOfGroup() { final Set<Identifier<Group>> groupIds = new TreeSet<Identifier<Group>>(); final GroupIdsRule gir = new GroupIdsRule(groupIds); final Long id = new Long(0); final Identifier<Group> anId = new Identifier<Group>(id); final Rule rule = gir.createRule(anId); assertTrue(rule.isValid()); }
@Override protected Rule createRule(final Identifier<Group> anId) { return new GroupIdRule(anId); }
GroupIdsRule extends MultipleIdentifiersRule<Group> implements Rule { @Override protected Rule createRule(final Identifier<Group> anId) { return new GroupIdRule(anId); } }
GroupIdsRule extends MultipleIdentifiersRule<Group> implements Rule { @Override protected Rule createRule(final Identifier<Group> anId) { return new GroupIdRule(anId); } GroupIdsRule(final Collection<Identifier<Group>> theGroupIds);  GroupIdsRule(final Set<Identifier<Group>> theGroupIds); }
GroupIdsRule extends MultipleIdentifiersRule<Group> implements Rule { @Override protected Rule createRule(final Identifier<Group> anId) { return new GroupIdRule(anId); } GroupIdsRule(final Collection<Identifier<Group>> theGroupIds);  GroupIdsRule(final Set<Identifier<Group>> theGroupIds);  }
GroupIdsRule extends MultipleIdentifiersRule<Group> implements Rule { @Override protected Rule createRule(final Identifier<Group> anId) { return new GroupIdRule(anId); } GroupIdsRule(final Collection<Identifier<Group>> theGroupIds);  GroupIdsRule(final Set<Identifier<Group>> theGroupIds);   }