class PrivilegeImpl implements Privilege {

    @Override
    public String getName() {
        try {
            return session.getNamespacePrefix(URI) + ":" + name;
        } catch (Exception e) {
            //will never happen
            return null;
        }
    }

    public  PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges);
    public  PrivilegeImpl(Session session, String name, Privilege[] declaredPrivileges, boolean isAbstract);

}