org.bibalex.daf.entities
Class InCharge

java.lang.Object
  extended by org.bibalex.daf.entities.CollectionEntities
      extended by org.bibalex.daf.entities.InCharge

public class InCharge
extends CollectionEntities

Author:
Fadi.Edward

Field Summary
private  DBConnection dbConnection
           
 
Fields inherited from class org.bibalex.daf.entities.CollectionEntities
abbreviation, comment, id, name
 
Constructor Summary
InCharge(int IcgID)
          Class Constructor
 
Method Summary
static OperationInfo getByID(int recID)
          select InCharge
static OperationInfo loadAll()
          Load all InCharges
private  boolean setFieldsFromDataTable(DataTable dataTable)
          Sets the InCharge values in the super class.
 
Methods inherited from class org.bibalex.daf.entities.CollectionEntities
getAbbreviation, getComment, getID, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbConnection

private DBConnection dbConnection
Constructor Detail

InCharge

public InCharge(int IcgID)
         throws java.lang.Exception
Class Constructor

Parameters:
IcgID - The ID of the InCharge to construct.
Throws:
java.lang.Exception
Method Detail

loadAll

public static OperationInfo loadAll()
Load all InCharges

Returns:
OperationInfo (bool, DataTable)

getByID

public static OperationInfo getByID(int recID)
select InCharge

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

setFieldsFromDataTable

private boolean setFieldsFromDataTable(DataTable dataTable)
Sets the InCharge values in the super class.

Parameters:
operationInfo - The OperationInfo with the values to Set.
Returns:
true if the set was succesfull, false otherwise.