code: public String getType() {
  		if (this.type == null)
  			this.type = this.resultHandler.getRelationType(getId(), this.rowIndex);
  		return this.type;
  	}
docs: Note: Relations must have exactly one type
  @return the type of the Relation