@Test public void testGetDeclaredAggregatePrivileges() { Privilege[] pp = p3.getDeclaredAggregatePrivileges(); assertEquals(2, pp.length); assertEquals(p1, pp[0]); assertEquals(p2, pp[1]); }
@Override public Privilege[] getDeclaredAggregatePrivileges() { return this.declaredPrivileges; }
PrivilegeImpl implements Privilege { @Override public Privilege[] getDeclaredAggregatePrivileges() { return this.declaredPrivileges; } }
PrivilegeImpl implements Privilege { @Override public Privilege[] getDeclaredAggregatePrivileges() { return this.declaredPrivileges; } PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges);  PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges, boolean isAbstract); }
PrivilegeImpl implements Privilege { @Override public Privilege[] getDeclaredAggregatePrivileges() { return this.declaredPrivileges; } PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges);  PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges, boolean isAbstract); String localName(); @Override String getName(); @Override boolean isAbstract(); @Override boolean isAggregate(); @Override Privilege[] getDeclaredAggregatePrivileges(); @Override Privilege[] getAggregatePrivileges(); boolean contains(Privilege p); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode(); }
PrivilegeImpl implements Privilege { @Override public Privilege[] getDeclaredAggregatePrivileges() { return this.declaredPrivileges; } PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges);  PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges, boolean isAbstract); String localName(); @Override String getName(); @Override boolean isAbstract(); @Override boolean isAggregate(); @Override Privilege[] getDeclaredAggregatePrivileges(); @Override Privilege[] getAggregatePrivileges(); boolean contains(Privilege p); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode();  }