/** * Compare this to the given object. * * @param compare the object to compare to. * @return the result of the comparison. */ @Override public int compareTo(IGetStorageItems compare) { CompareToBuilder builder = new CompareToBuilder(); builder.append(this.loginId, compare.getLoginId()); builder.append(this.instanceId, compare.getInstanceId()); return builder.toComparison(); }
/** * Creates a new Get Storage Items. * * @param iGetStorageItems the i get storage items */ public GetStorageItems(IGetStorageItems iGetStorageItems) { setLoginId(iGetStorageItems.getLoginId()); setInstanceId(iGetStorageItems.getInstanceId()); }