Code example for ObjectInput

Methods: readBooleanreadDoublereadIntreadLongreadUTF

0
		return shoppingItemImpl;
	} 
 
	@Override 
	public void readExternal(ObjectInput objectInput) throws IOException {
		itemId = objectInput.readLong();
		groupId = objectInput.readLong();
		companyId = objectInput.readLong();
		userId = objectInput.readLong();
		userName = objectInput.readUTF();
		createDate = objectInput.readLong();
		modifiedDate = objectInput.readLong();
		categoryId = objectInput.readLong();
		sku = objectInput.readUTF();
		name = objectInput.readUTF();
		description = objectInput.readUTF();
		properties = objectInput.readUTF();
		fields = objectInput.readBoolean();
		fieldsQuantities = objectInput.readUTF();
		minQuantity = objectInput.readInt();
		maxQuantity = objectInput.readInt();
		price = objectInput.readDouble();
		discount = objectInput.readDouble();
		taxable = objectInput.readBoolean();
		shipping = objectInput.readDouble();
		useShippingFormula = objectInput.readBoolean();
		requiresShipping = objectInput.readBoolean();
		stockQuantity = objectInput.readInt();
		featured = objectInput.readBoolean();
		sale = objectInput.readBoolean();
		smallImage = objectInput.readBoolean();
		smallImageId = objectInput.readLong();
		smallImageURL = objectInput.readUTF();
		mediumImage = objectInput.readBoolean();
		mediumImageId = objectInput.readLong();
		mediumImageURL = objectInput.readUTF();
		largeImage = objectInput.readBoolean();
		largeImageId = objectInput.readLong();
		largeImageURL = objectInput.readUTF();
	} 
 
	@Override 
	public void writeExternal(ObjectOutput objectOutput)
		throws IOException {
Contextual code suggestions in your IDE  Get Codota for Java