/** * Compares this type definition with the <code>_other</code> type definition. First the {@link * #orderNo order number} is compared. If the {@link #orderNo order number} is equal, the {@link * #getName() name} is compared. * * @param _other other type definition to compare * @return negative integer, zero, or positive integer as this object is less than, equal to, or * greater than the specified object */ @Override() public int compareTo(final TypeDef_mxJPO _other) { int ret = Integer.valueOf(this.orderNo).compareTo(_other.orderNo); if (ret == 0) { ret = this.getName().compareTo(_other.getName()); } return ret; }