org.bibalex.daf.entities
Class Batch

java.lang.Object
  extended by org.bibalex.daf.entities.AdminModuleBase
      extended by org.bibalex.daf.entities.Batch

public class Batch
extends AdminModuleBase


Field Summary
private  java.lang.String batchComment
           
private  java.util.Date batchDate
           
private  java.lang.String batchName
           
private  int collID
           
private  DBConnection conn
           
private  int id
           
private  int JTID
           
 
Constructor Summary
Batch()
          Class Constructor
 
Method Summary
 OperationInfo add()
          Add new Batch
 OperationInfo delete()
          delete Batch
 int getBatchCollID()
          get Batch Collection ID
 java.lang.String getBatchComment()
          get Batch Comment
 java.util.Date getBatchDate()
          get Batch Date
 int getBatchJTID()
          get Batch JobType ID
 java.lang.String getBatchName()
          get Batch Name
static OperationInfo getByID(int recID)
          select Batchs
 int getID()
          Gets the batch ID.
static OperationInfo loadAll()
          Load all Batches
static OperationInfo loadAllSpecial()
          Load all Batches
 void setBatchCollID(int collIDValue)
          set Batch Collection ID
 void setBatchComment(java.lang.String batchCommentValue)
          set Batch Comment
 void setBatchDate(java.util.Date batchDateValue)
          set Batch Date
 void setBatchJTID(int JTIDValue)
          set Batch JobType ID
 void setBatchName(java.lang.String batchNameValue)
          set Batch Name
 void setID(int batchID)
          Sets the batch ID
 OperationInfo update()
          update Batch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

private DBConnection conn

id

private int id

batchName

private java.lang.String batchName

batchComment

private java.lang.String batchComment

collID

private int collID

JTID

private int JTID

batchDate

private java.util.Date batchDate
Constructor Detail

Batch

public Batch()
Class Constructor

Method Detail

loadAll

public static OperationInfo loadAll()
Load all Batches

Returns:
OperationInfo (bool, DataTable)

loadAllSpecial

public static OperationInfo loadAllSpecial()
Load all Batches

Returns:
OperationInfo (bool, DataTable)

getByID

public static OperationInfo getByID(int recID)
select Batchs

Parameters:
recID - is the record to be selected
Returns:
OperationInfo (bool, DataTable) for the selected record

add

public OperationInfo add()
Add new Batch

Specified by:
add in class AdminModuleBase
Returns:
OperationInfo (bool, DataTable) for the added record

delete

public OperationInfo delete()
delete Batch

Specified by:
delete in class AdminModuleBase
Returns:
OperationInfo (bool, DataTable)

update

public OperationInfo update()
update Batch

Specified by:
update in class AdminModuleBase
Returns:
OperationInfo (bool, DataTable) for the updated record

setID

public void setID(int batchID)
Sets the batch ID


setBatchName

public void setBatchName(java.lang.String batchNameValue)
set Batch Name

Parameters:
batchNameValue - is the Batch name value

setBatchComment

public void setBatchComment(java.lang.String batchCommentValue)
set Batch Comment

Parameters:
batchCommentValue - is the Batch Comment value

setBatchCollID

public void setBatchCollID(int collIDValue)
set Batch Collection ID

Parameters:
collIDValue - is the Batch collID value

setBatchJTID

public void setBatchJTID(int JTIDValue)
set Batch JobType ID

Parameters:
JTIDValue - is the Batch JobType value

setBatchDate

public void setBatchDate(java.util.Date batchDateValue)
set Batch Date

Parameters:
batchDateValue - is the Batch Date

getID

public int getID()
Gets the batch ID.


getBatchName

public java.lang.String getBatchName()
get Batch Name

Returns:
Batch name value

getBatchComment

public java.lang.String getBatchComment()
get Batch Comment

Returns:
Batch Comment

getBatchCollID

public int getBatchCollID()
get Batch Collection ID

Returns:
Batch collID

getBatchJTID

public int getBatchJTID()
get Batch JobType ID

Returns:
Batch JobType

getBatchDate

public java.util.Date getBatchDate()
get Batch Date

Returns:
Batch Date