throw new Error("Method should not be called!");
this.teacher = new DomainReference<Teacher>(RootDomainObject.getInstance().readTeacherByOID(integer));
    public void setIdInternal(Integer integer) {        throw new Error("Method should not be called!");    }