XPUSP - Home

br.usp.ime.xpusp.om
Class BaseDisciplineInfo

java.lang.Object
  |
  +--org.apache.turbine.om.BaseObject
        |
        +--br.usp.ime.xpusp.om.BaseDisciplineInfo
All Implemented Interfaces:
org.apache.turbine.om.Persistent, org.apache.turbine.om.Retrievable, java.io.Serializable
Direct Known Subclasses:
DisciplineInfo

public abstract class BaseDisciplineInfo
extends org.apache.turbine.om.BaseObject
implements org.apache.turbine.om.Retrievable

This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to DisciplineInfo

See Also:
Serialized Form

Field Summary
private  Discipline aDiscipline
           
private  boolean alreadyInSave
           
private  byte[] bibliography
          the value for the bibliography field
private  org.apache.turbine.om.NumberKey discipline_id
          the value for the discipline_id field
private  byte[] evaluation_criteria
          the value for the evaluation_criteria field
private  byte[] evaluation_method
          the value for the evaluation_method field
private  byte[] evaluation_rec
          the value for the evaluation_rec field
private  byte[] objectives
          the value for the objectives field
private  byte[] program
          the value for the program field
private  byte[] requisites
          the value for the requisites field
private  byte[] resumed_program
          the value for the resumed_program field
 
Fields inherited from class org.apache.turbine.om.BaseObject
errMsg, is_new, modified, NEW_ID, primaryKey
 
Constructor Summary
BaseDisciplineInfo()
           
 
Method Summary
 DisciplineInfo copy()
          Makes a copy of this object.
 byte[] getBibliography()
          Get the Bibliography
 Discipline getDiscipline()
           
 org.apache.turbine.om.NumberKey getDisciplineId()
          Get the DisciplineId
 byte[] getEvaluationCriteria()
          Get the EvaluationCriteria
 byte[] getEvaluationMethod()
          Get the EvaluationMethod
 byte[] getEvaluationRec()
          Get the EvaluationRec
 byte[] getObjectives()
          Get the Objectives
 org.apache.turbine.om.ObjectKey getPrimaryKey()
          returns an id that differentiates this object from others of its class.
 byte[] getProgram()
          Get the Program
 java.lang.String getQueryKey()
          get an id that differentiates this object from others of its class.
 byte[] getRequisites()
          Get the Requisites
 byte[] getResumedProgram()
          Get the ResumedProgram
 void save()
          Stores the object in the database.
 void save(org.apache.turbine.util.db.pool.DBConnection dbCon)
          Stores the object in the database.
 void save(java.lang.String dbName)
          Stores the object in the database.
 void setBibliography(byte[] v)
          Set the value of Bibliography
 void setDiscipline(Discipline v)
          Declares an association between this object and a Discipline object
 void setDisciplineId(org.apache.turbine.om.NumberKey v)
          Set the value of DisciplineId
 void setDisciplineId(java.lang.String v)
          Set the value of DisciplineId as a string.
 void setDisciplineKey(org.apache.turbine.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey.
 void setEvaluationCriteria(byte[] v)
          Set the value of EvaluationCriteria
 void setEvaluationMethod(byte[] v)
          Set the value of EvaluationMethod
 void setEvaluationRec(byte[] v)
          Set the value of EvaluationRec
 void setObjectives(byte[] v)
          Set the value of Objectives
 void setPrimaryKey(org.apache.turbine.om.ObjectKey discipline_id)
          Set the PrimaryKey using ObjectKey.
 void setPrimaryKey(java.lang.String key)
          Set the PrimaryKey using a String.
 void setProgram(byte[] v)
          Set the value of Program
 void setQueryKey(java.lang.String key)
          set an id that differentiates this object from others of its class.
 void setRequisites(byte[] v)
          Set the value of Requisites
 void setResumedProgram(byte[] v)
          Set the value of ResumedProgram
 
Methods inherited from class org.apache.turbine.om.BaseObject
, equals, equals, getByName, getByPeerName, getByPosition, getPrimaryKeyAsBigDecimal, getPrimaryKeyAsInt, getPrimaryKeyAsLong, getPrimaryKeyAsString, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

discipline_id

private org.apache.turbine.om.NumberKey discipline_id
the value for the discipline_id field

objectives

private byte[] objectives
the value for the objectives field

resumed_program

private byte[] resumed_program
the value for the resumed_program field

program

private byte[] program
the value for the program field

evaluation_method

private byte[] evaluation_method
the value for the evaluation_method field

evaluation_criteria

private byte[] evaluation_criteria
the value for the evaluation_criteria field

evaluation_rec

private byte[] evaluation_rec
the value for the evaluation_rec field

bibliography

private byte[] bibliography
the value for the bibliography field

requisites

private byte[] requisites
the value for the requisites field

aDiscipline

private Discipline aDiscipline

alreadyInSave

private boolean alreadyInSave
Constructor Detail

BaseDisciplineInfo

public BaseDisciplineInfo()
Method Detail

getDisciplineId

public org.apache.turbine.om.NumberKey getDisciplineId()
Get the DisciplineId
Returns:
NumberKey

setDisciplineId

public void setDisciplineId(org.apache.turbine.om.NumberKey v)
                     throws java.lang.Exception
Set the value of DisciplineId

setDisciplineId

public void setDisciplineId(java.lang.String v)
                     throws java.lang.Exception
Set the value of DisciplineId as a string.

getObjectives

public byte[] getObjectives()
Get the Objectives
Returns:
byte[]

setObjectives

public void setObjectives(byte[] v)
Set the value of Objectives

getResumedProgram

public byte[] getResumedProgram()
Get the ResumedProgram
Returns:
byte[]

setResumedProgram

public void setResumedProgram(byte[] v)
Set the value of ResumedProgram

getProgram

public byte[] getProgram()
Get the Program
Returns:
byte[]

setProgram

public void setProgram(byte[] v)
Set the value of Program

getEvaluationMethod

public byte[] getEvaluationMethod()
Get the EvaluationMethod
Returns:
byte[]

setEvaluationMethod

public void setEvaluationMethod(byte[] v)
Set the value of EvaluationMethod

getEvaluationCriteria

public byte[] getEvaluationCriteria()
Get the EvaluationCriteria
Returns:
byte[]

setEvaluationCriteria

public void setEvaluationCriteria(byte[] v)
Set the value of EvaluationCriteria

getEvaluationRec

public byte[] getEvaluationRec()
Get the EvaluationRec
Returns:
byte[]

setEvaluationRec

public void setEvaluationRec(byte[] v)
Set the value of EvaluationRec

getBibliography

public byte[] getBibliography()
Get the Bibliography
Returns:
byte[]

setBibliography

public void setBibliography(byte[] v)
Set the value of Bibliography

getRequisites

public byte[] getRequisites()
Get the Requisites
Returns:
byte[]

setRequisites

public void setRequisites(byte[] v)
Set the value of Requisites

setDiscipline

public void setDiscipline(Discipline v)
                   throws java.lang.Exception
Declares an association between this object and a Discipline object
Parameters:
Discipline - v

getDiscipline

public Discipline getDiscipline()
                         throws java.lang.Exception

setDisciplineKey

public void setDisciplineKey(org.apache.turbine.om.ObjectKey key)
                      throws java.lang.Exception
Provides convenient way to set a relationship based on a ObjectKey. e.g. bar.setFooKey(foo.getPrimaryKey())

save

public void save()
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.
Overrides:
save in class org.apache.turbine.om.BaseObject

save

public void save(java.lang.String dbName)
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.

save

public void save(org.apache.turbine.util.db.pool.DBConnection dbCon)
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. This method is meant to be used as part of a transaction, otherwise use the save() method and the connection details will be handled internally

setPrimaryKey

public void setPrimaryKey(org.apache.turbine.om.ObjectKey discipline_id)
                   throws java.lang.Exception
Set the PrimaryKey using ObjectKey.
Overrides:
setPrimaryKey in class org.apache.turbine.om.BaseObject
Parameters:
ObjectKey - discipline_id

setPrimaryKey

public void setPrimaryKey(java.lang.String key)
                   throws java.lang.Exception
Set the PrimaryKey using a String.
Overrides:
setPrimaryKey in class org.apache.turbine.om.BaseObject

getPrimaryKey

public org.apache.turbine.om.ObjectKey getPrimaryKey()
returns an id that differentiates this object from others of its class.
Overrides:
getPrimaryKey in class org.apache.turbine.om.BaseObject

getQueryKey

public java.lang.String getQueryKey()
get an id that differentiates this object from others of its class.
Specified by:
getQueryKey in interface org.apache.turbine.om.Retrievable

setQueryKey

public void setQueryKey(java.lang.String key)
                 throws java.lang.Exception
set an id that differentiates this object from others of its class.
Specified by:
setQueryKey in interface org.apache.turbine.om.Retrievable

copy

public DisciplineInfo copy()
                    throws java.lang.Exception
Makes a copy of this object. It creates a new object filling in the simple attributes. It then fills all the association collections and sets the related objects to isNew=true.

XPUSP - Home