@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { this.product = (DefaultProduct) in.readObject(); this.productCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.billingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.priceList = (DefaultPriceList) in.readObject(); } }
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { this.catalogName = in.readBoolean() ? in.readUTF() : null; this.name = in.readBoolean() ? in.readUTF() : null; this.prettyName = in.readBoolean() ? in.readUTF() : null; this.category = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.included = (CatalogEntityCollection<Product>) in.readObject(); this.available = (CatalogEntityCollection<Product>) in.readObject(); this.limits = (DefaultLimit[]) in.readObject(); } }
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); this.fromProduct = (DefaultProduct) in.readObject(); this.fromProductCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.fromBillingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.fromPriceList = (DefaultPriceList) in.readObject(); this.toPriceList = (DefaultPriceList) in.readObject(); } }
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { this.phaseType = in.readBoolean() ? PhaseType.valueOf(in.readUTF()) : null; this.fromProduct = (DefaultProduct) in.readObject(); this.fromProductCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.fromBillingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.fromPriceList = (DefaultPriceList) in.readObject(); this.toProduct = (DefaultProduct) in.readObject(); this.toProductCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.toBillingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.toPriceList = (DefaultPriceList) in.readObject(); } }
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { this.catalogName = in.readBoolean() ? in.readUTF() : null; this.name = in.readBoolean() ? in.readUTF() : null; this.prettyName = in.readBoolean() ? in.readUTF() : null; this.category = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.included = (CatalogEntityCollection<Product>) in.readObject(); this.available = (CatalogEntityCollection<Product>) in.readObject(); this.limits = (DefaultLimit[]) in.readObject(); } }
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { this.product = (DefaultProduct) in.readObject(); this.productCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.billingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.priceList = (DefaultPriceList) in.readObject(); } }
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); this.fromProduct = (DefaultProduct) in.readObject(); this.fromProductCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.fromBillingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.fromPriceList = (DefaultPriceList) in.readObject(); this.toPriceList = (DefaultPriceList) in.readObject(); } }
@Override public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException { this.phaseType = in.readBoolean() ? PhaseType.valueOf(in.readUTF()) : null; this.fromProduct = (DefaultProduct) in.readObject(); this.fromProductCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.fromBillingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.fromPriceList = (DefaultPriceList) in.readObject(); this.toProduct = (DefaultProduct) in.readObject(); this.toProductCategory = in.readBoolean() ? ProductCategory.valueOf(in.readUTF()) : null; this.toBillingPeriod = in.readBoolean() ? BillingPeriod.valueOf(in.readUTF()) : null; this.toPriceList = (DefaultPriceList) in.readObject(); } }