Developer Tools
JDeveloper
In the generated Java class, after the first line:
package oracle.model.freight;
Delete all the generated code and replace with the following code:
import java.io.Serializable;
public class BatchOrder implements Serializable {
private Long batchId;
private Long orderedQuantity;
public BatchOrder() {
}
public Long getBatchId() {
return batchId;
}
public void setBatchId(Long batchId) {
this.batchId = batchId;
}
public void setOrderedQuantity(Long param) {
this.orderedQuantity = param;
}
public Long getOrderedQuantity() {
return orderedQuantity;
}
}
Instead of typing the sample code, you can copy the code in this window and then paste it into the source editor.
Copyright © 1997, 2009, Oracle. All rights reserved.