@Override public String getLabel() { return institute.getLabel(); }
/** * This class will not have a name, instead it has a one-one relation to an {@link Institute} and * we will use the name of an Institute instead. * * @return Name of the related institute */ public String getName() { return institute != null ? institute.getName() : null; }