Set joinsList = relationship.getJoins();
List joinsList = relationship.getJoins();
  public Object[] getElements(Object _inputElement) {    EORelationship relationship = (EORelationship) _inputElement;    Set joinsList = relationship.getJoins();    EOJoin[] joins = (EOJoin[]) joinsList.toArray(new EOJoin[joinsList.size()]);    return joins;  }