Code example for ObjectInput

Methods: readBooleanreadDoublereadIntreadLongreadUTF

0
		return shoppingOrderImpl;
	} 
 
	@Override 
	public void readExternal(ObjectInput objectInput) throws IOException {
		orderId = objectInput.readLong();
		groupId = objectInput.readLong();
		companyId = objectInput.readLong();
		userId = objectInput.readLong();
		userName = objectInput.readUTF();
		createDate = objectInput.readLong();
		modifiedDate = objectInput.readLong();
		number = objectInput.readUTF();
		tax = objectInput.readDouble();
		shipping = objectInput.readDouble();
		altShipping = objectInput.readUTF();
		requiresShipping = objectInput.readBoolean();
		insure = objectInput.readBoolean();
		insurance = objectInput.readDouble();
		couponCodes = objectInput.readUTF();
		couponDiscount = objectInput.readDouble();
		billingFirstName = objectInput.readUTF();
		billingLastName = objectInput.readUTF();
		billingEmailAddress = objectInput.readUTF();
		billingCompany = objectInput.readUTF();
		billingStreet = objectInput.readUTF();
		billingCity = objectInput.readUTF();
		billingState = objectInput.readUTF();
		billingZip = objectInput.readUTF();
		billingCountry = objectInput.readUTF();
		billingPhone = objectInput.readUTF();
		shipToBilling = objectInput.readBoolean();
		shippingFirstName = objectInput.readUTF();
		shippingLastName = objectInput.readUTF();
		shippingEmailAddress = objectInput.readUTF();
		shippingCompany = objectInput.readUTF();
		shippingStreet = objectInput.readUTF();
		shippingCity = objectInput.readUTF();
		shippingState = objectInput.readUTF();
		shippingZip = objectInput.readUTF();
		shippingCountry = objectInput.readUTF();
		shippingPhone = objectInput.readUTF();
		ccName = objectInput.readUTF();
		ccType = objectInput.readUTF();
		ccNumber = objectInput.readUTF();
		ccExpMonth = objectInput.readInt();
		ccExpYear = objectInput.readInt();
		ccVerNumber = objectInput.readUTF();
		comments = objectInput.readUTF();
		ppTxnId = objectInput.readUTF();
		ppPaymentStatus = objectInput.readUTF();
		ppPaymentGross = objectInput.readDouble();
		ppReceiverEmail = objectInput.readUTF();
		ppPayerEmail = objectInput.readUTF();
		sendOrderEmail = objectInput.readBoolean();
		sendShippingEmail = objectInput.readBoolean();
	} 
 
	@Override 
	public void writeExternal(ObjectOutput objectOutput)
		throws IOException {
Contextual code suggestions in your IDE  Get Codota for Java