class Organization extends Party {

    public List<Company> listChildCompanies() {
         String jpql = "select c from OrgLineMgmt o join o.responsible c " +
                 "where o.commissioner = :commissioner and TYPE(c) = Company";
        return getRepository().createJpqlQuery(jpql).addParameter("commissioner", this).list();
    }

    public  Organization();
    public  Organization(String name);

}