@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeObject(product); out.writeBoolean(productCategory != null); if (productCategory != null) { out.writeUTF(productCategory.name()); } out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(priceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(catalogName != null); if (catalogName != null) { out.writeUTF(catalogName); } out.writeBoolean(name != null); if (name != null) { out.writeUTF(name); } out.writeBoolean(prettyName != null); if (prettyName != null) { out.writeUTF(prettyName); } out.writeBoolean(category != null); if (category != null) { out.writeUTF(category.name()); } out.writeObject(included); out.writeObject(available); out.writeObject(limits); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toPriceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toProduct); out.writeBoolean(toProductCategory != null); if (toProductCategory != null) { out.writeUTF(toProductCategory.name()); } out.writeBoolean(toBillingPeriod != null); if (toBillingPeriod != null) { out.writeUTF(toBillingPeriod.name()); } out.writeObject(toPriceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeObject(product); out.writeBoolean(productCategory != null); if (productCategory != null) { out.writeUTF(productCategory.name()); } out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(priceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toPriceList); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(catalogName != null); if (catalogName != null) { out.writeUTF(catalogName); } out.writeBoolean(name != null); if (name != null) { out.writeUTF(name); } out.writeBoolean(prettyName != null); if (prettyName != null) { out.writeUTF(prettyName); } out.writeBoolean(category != null); if (category != null) { out.writeUTF(category.name()); } out.writeObject(included); out.writeObject(available); out.writeObject(limits); }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } out.writeObject(fromProduct); out.writeBoolean(fromProductCategory != null); if (fromProductCategory != null) { out.writeUTF(fromProductCategory.name()); } out.writeBoolean(fromBillingPeriod != null); if (fromBillingPeriod != null) { out.writeUTF(fromBillingPeriod.name()); } out.writeObject(fromPriceList); out.writeObject(toProduct); out.writeBoolean(toProductCategory != null); if (toProductCategory != null) { out.writeUTF(toProductCategory.name()); } out.writeBoolean(toBillingPeriod != null); if (toBillingPeriod != null) { out.writeUTF(toBillingPeriod.name()); } out.writeObject(toPriceList); }