39 lines
956 B
Java
39 lines
956 B
Java
package WEB-INF.classes.wenrgise.ejb.common.helper;
|
|
|
|
import java.io.Serializable;
|
|
import wenrgise.ejb.common.helper.InputDBObject;
|
|
|
|
public class DBObject extends InputDBObject implements Serializable {
|
|
private int iInputOutput;
|
|
|
|
public static final int IN = 1;
|
|
|
|
public static final int OUT = 2;
|
|
|
|
public static final int INOUT = 3;
|
|
|
|
public DBObject() {}
|
|
|
|
public DBObject(int iPosition, int iDataType) {
|
|
this.iPosition = iPosition;
|
|
this.iDataType = iDataType;
|
|
}
|
|
|
|
public DBObject(int iPosition, int iInputOutput, int iDataType) {
|
|
this.iPosition = iPosition;
|
|
this.iInputOutput = iInputOutput;
|
|
this.iDataType = iDataType;
|
|
}
|
|
|
|
public DBObject(int iPosition, int iInputOutput, int iDataType, Object oValue) {
|
|
this.iPosition = iPosition;
|
|
this.iInputOutput = iInputOutput;
|
|
this.iDataType = iDataType;
|
|
this.oValue = oValue;
|
|
}
|
|
|
|
public int getDirection() {
|
|
return this.iInputOutput;
|
|
}
|
|
}
|