taken some setter out of CoreRessource and copy in Group
adding equals and hashCode