org.bibalex.daf.entities
Class JobCondition

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

public class JobCondition
extends AdminModuleBase


Field Summary
private  DBConnection conn
           
private  int id
           
private  java.lang.String jcDescription
           
private  java.lang.String jcName
           
 
Constructor Summary
JobCondition()
          Class Constructor
 
Method Summary
 OperationInfo add()
          Add new JobCondition
 OperationInfo delete()
          delete JobCondition
static OperationInfo getByID(int recID)
          select JobCondition
 int getID()
          Gets the ID.
 java.lang.String getJCDescription()
          get JobCondition Description
 java.lang.String getJCName()
          get JobCondition Name
static OperationInfo loadAll()
          Load all JobConditions
 void setID(int conditionID)
          Sets the condition ID
 void setJCDescription(java.lang.String jcDescriptionValue)
          set JobCondition Description
 void setJCName(java.lang.String jcNameValue)
          set JobCondition Name
 OperationInfo update()
          update JobCondition
 
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

jcName

private java.lang.String jcName

jcDescription

private java.lang.String jcDescription
Constructor Detail

JobCondition

public JobCondition()
Class Constructor

Method Detail

loadAll

public static OperationInfo loadAll()
Load all JobConditions

Returns:
OperationInfo (bool, DataTable)

getByID

public static OperationInfo getByID(int recID)
select JobCondition

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

add

public OperationInfo add()
Add new JobCondition

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

delete

public OperationInfo delete()
delete JobCondition

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

update

public OperationInfo update()
update JobCondition

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

setID

public void setID(int conditionID)
Sets the condition ID

Parameters:
conditionID - The condition ID

setJCName

public void setJCName(java.lang.String jcNameValue)
set JobCondition Name

Parameters:
jcNameValue - is the JobCondition name value

setJCDescription

public void setJCDescription(java.lang.String jcDescriptionValue)
set JobCondition Description

Parameters:
jcDescriptionValue - is the JobCondition Description value

getID

public int getID()
Gets the ID.

Returns:
The ID.

getJCName

public java.lang.String getJCName()
get JobCondition Name

Returns:
jcName

getJCDescription

public java.lang.String getJCDescription()
get JobCondition Description

Returns:
jcDescription