first commit
This commit is contained in:
37
hrmsEjb/wenrgise/ejb/common/helper/DBObject.java
Normal file
37
hrmsEjb/wenrgise/ejb/common/helper/DBObject.java
Normal file
@@ -0,0 +1,37 @@
|
||||
package wenrgise.ejb.common.helper;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user