@Override public void writeExternal(final ObjectOutput out) throws IOException { super.writeExternal(out); out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(recurringPrice); out.writeUTF(planName); out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(prettyName != null); if (prettyName != null) { out.writeUTF(prettyName); } out.writeBoolean(type != null); if (type != null) { out.writeUTF(type.name()); } out.writeObject(duration); out.writeObject(fixed); out.writeObject(recurring); out.writeObject(usages); out.writeUTF(planName); out.writeObject(product); }
@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 { super.writeExternal(out); out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(billingPeriod != null); if (billingPeriod != null) { out.writeUTF(billingPeriod.name()); } out.writeObject(recurringPrice); out.writeUTF(planName); out.writeBoolean(phaseType != null); if (phaseType != null) { out.writeUTF(phaseType.name()); } }
@Override public void writeExternal(final ObjectOutput out) throws IOException { out.writeBoolean(prettyName != null); if (prettyName != null) { out.writeUTF(prettyName); } out.writeBoolean(type != null); if (type != null) { out.writeUTF(type.name()); } out.writeObject(duration); out.writeObject(fixed); out.writeObject(recurring); out.writeObject(usages); out.writeUTF(planName); out.writeObject(product); }
@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); }