XPUSP - Home

br.usp.ime.xpusp.om
Class BaseDiscipline

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

public abstract class BaseDiscipline
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 Discipline

See Also:
Serialized Form

Field Summary
private  Department aDepartment
           
private  DisciplineType aDisciplineType
           
private  boolean alreadyInSave
           
private  Source aSource
           
private  int class_credits
          the value for the class_credits field
private  java.lang.String code
          the value for the code field
protected  java.util.Vector collCourseDisciplines
          Collection to store aggregation of collCourseDisciplines
protected  java.util.Vector collDefaultCapabilitys
          Collection to store aggregation of collDefaultCapabilitys
protected  java.util.Vector collDisciplineInfos
          Collection to store aggregation of collDisciplineInfos
protected  java.util.Vector collDoubleDisciplinesRelatedByDisciplineOne
          Collection to store aggregation of collDoubleDisciplinesRelatedByDisciplineOne
protected  java.util.Vector collDoubleDisciplinesRelatedByDisciplineTwo
          Collection to store aggregation of collDoubleDisciplinesRelatedByDisciplineTwo
protected  java.util.Vector collElectivePools
          Collection to store aggregation of collElectivePools
protected  java.util.Vector collProfessorCapables
          Collection to store aggregation of collProfessorCapables
protected  java.util.Vector collRequiredPools
          Collection to store aggregation of collRequiredPools
protected  java.util.Vector collSchedules
          Collection to store aggregation of collSchedules
protected  java.util.Vector collStudentElectives
          Collection to store aggregation of collStudentElectives
protected  java.util.Vector collStudentRequireds
          Collection to store aggregation of collStudentRequireds
private  org.apache.turbine.om.StringKey department_code
          the value for the department_code field
private  int hours
          the value for the hours field
private  org.apache.turbine.om.NumberKey id
          the value for the id field
private  org.apache.turbine.util.db.Criteria lastCourseDisciplinesCriteria
          The criteria used to select the current contents of collCourseDisciplines
private  org.apache.turbine.util.db.Criteria lastDefaultCapabilitysCriteria
          The criteria used to select the current contents of collDefaultCapabilitys
private  org.apache.turbine.util.db.Criteria lastDisciplineInfosCriteria
          The criteria used to select the current contents of collDisciplineInfos
private  org.apache.turbine.util.db.Criteria lastDoubleDisciplinesRelatedByDisciplineOneCriteria
          The criteria used to select the current contents of collDoubleDisciplinesRelatedByDisciplineOne
private  org.apache.turbine.util.db.Criteria lastDoubleDisciplinesRelatedByDisciplineTwoCriteria
          The criteria used to select the current contents of collDoubleDisciplinesRelatedByDisciplineTwo
private  org.apache.turbine.util.db.Criteria lastElectivePoolsCriteria
          The criteria used to select the current contents of collElectivePools
private  org.apache.turbine.util.db.Criteria lastProfessorCapablesCriteria
          The criteria used to select the current contents of collProfessorCapables
private  org.apache.turbine.util.db.Criteria lastRequiredPoolsCriteria
          The criteria used to select the current contents of collRequiredPools
private  org.apache.turbine.util.db.Criteria lastSchedulesCriteria
          The criteria used to select the current contents of collSchedules
private  org.apache.turbine.util.db.Criteria lastStudentElectivesCriteria
          The criteria used to select the current contents of collStudentElectives
private  org.apache.turbine.util.db.Criteria lastStudentRequiredsCriteria
          The criteria used to select the current contents of collStudentRequireds
private  java.lang.String name
          the value for the name field
private  int number
          the value for the number field
private  org.apache.turbine.om.NumberKey source_id
          the value for the source_id field
private  org.apache.turbine.om.NumberKey type_id
          the value for the type_id field
private  int work_credits
          the value for the work_credits field
 
Fields inherited from class org.apache.turbine.om.BaseObject
errMsg, is_new, modified, NEW_ID, primaryKey
 
Constructor Summary
BaseDiscipline()
           
 
Method Summary
 void addCourseDiscipline(CourseDiscipline l)
          Method called to associate a CourseDiscipline object to this object through the CourseDiscipline foreign key attribute
 void addDefaultCapability(DefaultCapability l)
          Method called to associate a DefaultCapability object to this object through the DefaultCapability foreign key attribute
 void addDisciplineInfo(DisciplineInfo l)
          Method called to associate a DisciplineInfo object to this object through the DisciplineInfo foreign key attribute
 void addDoubleDisciplineRelatedByDisciplineOne(DoubleDiscipline l)
          Method called to associate a DoubleDiscipline object to this object through the DoubleDiscipline foreign key attribute
 void addDoubleDisciplineRelatedByDisciplineTwo(DoubleDiscipline l)
          Method called to associate a DoubleDiscipline object to this object through the DoubleDiscipline foreign key attribute
 void addElectivePool(ElectivePool l)
          Method called to associate a ElectivePool object to this object through the ElectivePool foreign key attribute
 void addProfessorCapable(ProfessorCapable l)
          Method called to associate a ProfessorCapable object to this object through the ProfessorCapable foreign key attribute
 void addRequiredPool(RequiredPool l)
          Method called to associate a RequiredPool object to this object through the RequiredPool foreign key attribute
 void addSchedule(Schedule l)
          Method called to associate a Schedule object to this object through the Schedule foreign key attribute
 void addStudentElective(StudentElective l)
          Method called to associate a StudentElective object to this object through the StudentElective foreign key attribute
 void addStudentRequired(StudentRequired l)
          Method called to associate a StudentRequired object to this object through the StudentRequired foreign key attribute
 Discipline copy()
          Makes a copy of this object.
 int getClassCredits()
          Get the ClassCredits
 java.lang.String getCode()
          Get the Code
 java.util.Vector getCourseDisciplines()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getCourseDisciplines(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getCourseDisciplinesJoinCourse(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.Vector getDefaultCapabilitys()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getDefaultCapabilitys(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getDefaultCapabilitysJoinDepartment(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 Department getDepartment()
           
 org.apache.turbine.om.StringKey getDepartmentCode()
          Get the DepartmentCode
 java.util.Vector getDisciplineInfos()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getDisciplineInfos(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 DisciplineType getDisciplineType()
           
 java.util.Vector getDoubleDisciplinesRelatedByDisciplineOne()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getDoubleDisciplinesRelatedByDisciplineOne(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getDoubleDisciplinesRelatedByDisciplineOneJoinDisciplineRelatedByDisciplineTwo(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.Vector getDoubleDisciplinesRelatedByDisciplineTwo()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getDoubleDisciplinesRelatedByDisciplineTwo(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getDoubleDisciplinesRelatedByDisciplineTwoJoinDisciplineRelatedByDisciplineOne(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.Vector getElectivePools()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getElectivePools(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getElectivePoolsJoinPoolResults(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 int getHours()
          Get the Hours
 org.apache.turbine.om.NumberKey getId()
          Get the Id
 java.lang.String getName()
          Get the Name
 int getNumber()
          Get the Number
 org.apache.turbine.om.ObjectKey getPrimaryKey()
          returns an id that differentiates this object from others of its class.
 java.util.Vector getProfessorCapables()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getProfessorCapables(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getProfessorCapablesJoinProfessor(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.lang.String getQueryKey()
          get an id that differentiates this object from others of its class.
 java.util.Vector getRequiredPools()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getRequiredPools(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getRequiredPoolsJoinPoolResults(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.Vector getSchedules()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getSchedules(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getSchedulesJoinPeriod(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getSchedulesJoinProfessor(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getSchedulesJoinYear(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 Source getSource()
           
 org.apache.turbine.om.NumberKey getSourceId()
          Get the SourceId
 java.util.Vector getStudentElectives()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getStudentElectives(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getStudentElectivesJoinStudent(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.Vector getStudentRequireds()
          If this collection has already been initialized, returns the collection.
 java.util.Vector getStudentRequireds(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
protected  java.util.Vector getStudentRequiredsJoinStudent(org.apache.turbine.util.db.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 org.apache.turbine.om.NumberKey getTypeId()
          Get the TypeId
 int getWorkCredits()
          Get the WorkCredits
protected  void initCourseDisciplines()
          Temporary storage of collCourseDisciplines to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initDefaultCapabilitys()
          Temporary storage of collDefaultCapabilitys to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initDisciplineInfos()
          Temporary storage of collDisciplineInfos to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initDoubleDisciplinesRelatedByDisciplineOne()
          Temporary storage of collDoubleDisciplinesRelatedByDisciplineOne to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initDoubleDisciplinesRelatedByDisciplineTwo()
          Temporary storage of collDoubleDisciplinesRelatedByDisciplineTwo to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initElectivePools()
          Temporary storage of collElectivePools to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initProfessorCapables()
          Temporary storage of collProfessorCapables to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initRequiredPools()
          Temporary storage of collRequiredPools to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initSchedules()
          Temporary storage of collSchedules to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initStudentElectives()
          Temporary storage of collStudentElectives to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initStudentRequireds()
          Temporary storage of collStudentRequireds to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
 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 setClassCredits(int v)
          Set the value of ClassCredits
 void setCode(java.lang.String v)
          Set the value of Code
 void setDepartment(Department v)
          Declares an association between this object and a Department object
 void setDepartmentCode(java.lang.String v)
          Set the value of DepartmentCode as a string.
 void setDepartmentCode(org.apache.turbine.om.StringKey v)
          Set the value of DepartmentCode
 void setDepartmentKey(org.apache.turbine.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey.
 void setDisciplineType(DisciplineType v)
          Declares an association between this object and a DisciplineType object
 void setDisciplineTypeKey(org.apache.turbine.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey.
 void setHours(int v)
          Set the value of Hours
 void setId(org.apache.turbine.om.NumberKey v)
          Set the value of Id
 void setId(java.lang.String v)
          Set the value of Id as a string.
 void setName(java.lang.String v)
          Set the value of Name
 void setNumber(int v)
          Set the value of Number
 void setPrimaryKey(org.apache.turbine.om.ObjectKey id)
          Set the PrimaryKey using ObjectKey.
 void setPrimaryKey(java.lang.String key)
          Set the PrimaryKey using a String.
 void setQueryKey(java.lang.String key)
          set an id that differentiates this object from others of its class.
 void setSource(Source v)
          Declares an association between this object and a Source object
 void setSourceId(org.apache.turbine.om.NumberKey v)
          Set the value of SourceId
 void setSourceId(java.lang.String v)
          Set the value of SourceId as a string.
 void setSourceKey(org.apache.turbine.om.ObjectKey key)
          Provides convenient way to set a relationship based on a ObjectKey.
 void setTypeId(org.apache.turbine.om.NumberKey v)
          Set the value of TypeId
 void setTypeId(java.lang.String v)
          Set the value of TypeId as a string.
 void setWorkCredits(int v)
          Set the value of WorkCredits
 
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

id

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

code

private java.lang.String code
the value for the code field

number

private int number
the value for the number field

name

private java.lang.String name
the value for the name field

class_credits

private int class_credits
the value for the class_credits field

work_credits

private int work_credits
the value for the work_credits field

hours

private int hours
the value for the hours field

department_code

private org.apache.turbine.om.StringKey department_code
the value for the department_code field

source_id

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

type_id

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

aSource

private Source aSource

aDepartment

private Department aDepartment

aDisciplineType

private DisciplineType aDisciplineType

collDefaultCapabilitys

protected java.util.Vector collDefaultCapabilitys
Collection to store aggregation of collDefaultCapabilitys

lastDefaultCapabilitysCriteria

private org.apache.turbine.util.db.Criteria lastDefaultCapabilitysCriteria
The criteria used to select the current contents of collDefaultCapabilitys

collStudentRequireds

protected java.util.Vector collStudentRequireds
Collection to store aggregation of collStudentRequireds

lastStudentRequiredsCriteria

private org.apache.turbine.util.db.Criteria lastStudentRequiredsCriteria
The criteria used to select the current contents of collStudentRequireds

collStudentElectives

protected java.util.Vector collStudentElectives
Collection to store aggregation of collStudentElectives

lastStudentElectivesCriteria

private org.apache.turbine.util.db.Criteria lastStudentElectivesCriteria
The criteria used to select the current contents of collStudentElectives

collRequiredPools

protected java.util.Vector collRequiredPools
Collection to store aggregation of collRequiredPools

lastRequiredPoolsCriteria

private org.apache.turbine.util.db.Criteria lastRequiredPoolsCriteria
The criteria used to select the current contents of collRequiredPools

collElectivePools

protected java.util.Vector collElectivePools
Collection to store aggregation of collElectivePools

lastElectivePoolsCriteria

private org.apache.turbine.util.db.Criteria lastElectivePoolsCriteria
The criteria used to select the current contents of collElectivePools

collDisciplineInfos

protected java.util.Vector collDisciplineInfos
Collection to store aggregation of collDisciplineInfos

lastDisciplineInfosCriteria

private org.apache.turbine.util.db.Criteria lastDisciplineInfosCriteria
The criteria used to select the current contents of collDisciplineInfos

collCourseDisciplines

protected java.util.Vector collCourseDisciplines
Collection to store aggregation of collCourseDisciplines

lastCourseDisciplinesCriteria

private org.apache.turbine.util.db.Criteria lastCourseDisciplinesCriteria
The criteria used to select the current contents of collCourseDisciplines

collProfessorCapables

protected java.util.Vector collProfessorCapables
Collection to store aggregation of collProfessorCapables

lastProfessorCapablesCriteria

private org.apache.turbine.util.db.Criteria lastProfessorCapablesCriteria
The criteria used to select the current contents of collProfessorCapables

collDoubleDisciplinesRelatedByDisciplineOne

protected java.util.Vector collDoubleDisciplinesRelatedByDisciplineOne
Collection to store aggregation of collDoubleDisciplinesRelatedByDisciplineOne

lastDoubleDisciplinesRelatedByDisciplineOneCriteria

private org.apache.turbine.util.db.Criteria lastDoubleDisciplinesRelatedByDisciplineOneCriteria
The criteria used to select the current contents of collDoubleDisciplinesRelatedByDisciplineOne

collDoubleDisciplinesRelatedByDisciplineTwo

protected java.util.Vector collDoubleDisciplinesRelatedByDisciplineTwo
Collection to store aggregation of collDoubleDisciplinesRelatedByDisciplineTwo

lastDoubleDisciplinesRelatedByDisciplineTwoCriteria

private org.apache.turbine.util.db.Criteria lastDoubleDisciplinesRelatedByDisciplineTwoCriteria
The criteria used to select the current contents of collDoubleDisciplinesRelatedByDisciplineTwo

collSchedules

protected java.util.Vector collSchedules
Collection to store aggregation of collSchedules

lastSchedulesCriteria

private org.apache.turbine.util.db.Criteria lastSchedulesCriteria
The criteria used to select the current contents of collSchedules

alreadyInSave

private boolean alreadyInSave
Constructor Detail

BaseDiscipline

public BaseDiscipline()
Method Detail

getId

public org.apache.turbine.om.NumberKey getId()
Get the Id
Returns:
NumberKey

setId

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

setId

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

getCode

public java.lang.String getCode()
Get the Code
Returns:
String

setCode

public void setCode(java.lang.String v)
Set the value of Code

getNumber

public int getNumber()
Get the Number
Returns:
int

setNumber

public void setNumber(int v)
Set the value of Number

getName

public java.lang.String getName()
Get the Name
Returns:
String

setName

public void setName(java.lang.String v)
Set the value of Name

getClassCredits

public int getClassCredits()
Get the ClassCredits
Returns:
int

setClassCredits

public void setClassCredits(int v)
Set the value of ClassCredits

getWorkCredits

public int getWorkCredits()
Get the WorkCredits
Returns:
int

setWorkCredits

public void setWorkCredits(int v)
Set the value of WorkCredits

getHours

public int getHours()
Get the Hours
Returns:
int

setHours

public void setHours(int v)
Set the value of Hours

getDepartmentCode

public org.apache.turbine.om.StringKey getDepartmentCode()
Get the DepartmentCode
Returns:
StringKey

setDepartmentCode

public void setDepartmentCode(org.apache.turbine.om.StringKey v)
                       throws java.lang.Exception
Set the value of DepartmentCode

setDepartmentCode

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

getSourceId

public org.apache.turbine.om.NumberKey getSourceId()
Get the SourceId
Returns:
NumberKey

setSourceId

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

setSourceId

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

getTypeId

public org.apache.turbine.om.NumberKey getTypeId()
Get the TypeId
Returns:
NumberKey

setTypeId

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

setTypeId

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

setSource

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

getSource

public Source getSource()
                 throws java.lang.Exception

setSourceKey

public void setSourceKey(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())

setDepartment

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

getDepartment

public Department getDepartment()
                         throws java.lang.Exception

setDepartmentKey

public void setDepartmentKey(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())

setDisciplineType

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

getDisciplineType

public DisciplineType getDisciplineType()
                                 throws java.lang.Exception

setDisciplineTypeKey

public void setDisciplineTypeKey(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())

initDefaultCapabilitys

protected void initDefaultCapabilitys()
Temporary storage of collDefaultCapabilitys to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addDefaultCapability

public void addDefaultCapability(DefaultCapability l)
                          throws java.lang.Exception
Method called to associate a DefaultCapability object to this object through the DefaultCapability foreign key attribute
Parameters:
DefaultCapability - l

getDefaultCapabilitys

public java.util.Vector getDefaultCapabilitys()
                                       throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getDefaultCapabilitys(new Criteria())

getDefaultCapabilitys

public java.util.Vector getDefaultCapabilitys(org.apache.turbine.util.db.Criteria criteria)
                                       throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related DefaultCapabilitys from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getDefaultCapabilitysJoinDepartment

protected java.util.Vector getDefaultCapabilitysJoinDepartment(org.apache.turbine.util.db.Criteria criteria)
                                                        throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related DefaultCapabilitys from storage.

initStudentRequireds

protected void initStudentRequireds()
Temporary storage of collStudentRequireds to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addStudentRequired

public void addStudentRequired(StudentRequired l)
                        throws java.lang.Exception
Method called to associate a StudentRequired object to this object through the StudentRequired foreign key attribute
Parameters:
StudentRequired - l

getStudentRequireds

public java.util.Vector getStudentRequireds()
                                     throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getStudentRequireds(new Criteria())

getStudentRequireds

public java.util.Vector getStudentRequireds(org.apache.turbine.util.db.Criteria criteria)
                                     throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related StudentRequireds from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getStudentRequiredsJoinStudent

protected java.util.Vector getStudentRequiredsJoinStudent(org.apache.turbine.util.db.Criteria criteria)
                                                   throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related StudentRequireds from storage.

initStudentElectives

protected void initStudentElectives()
Temporary storage of collStudentElectives to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addStudentElective

public void addStudentElective(StudentElective l)
                        throws java.lang.Exception
Method called to associate a StudentElective object to this object through the StudentElective foreign key attribute
Parameters:
StudentElective - l

getStudentElectives

public java.util.Vector getStudentElectives()
                                     throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getStudentElectives(new Criteria())

getStudentElectives

public java.util.Vector getStudentElectives(org.apache.turbine.util.db.Criteria criteria)
                                     throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related StudentElectives from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getStudentElectivesJoinStudent

protected java.util.Vector getStudentElectivesJoinStudent(org.apache.turbine.util.db.Criteria criteria)
                                                   throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related StudentElectives from storage.

initRequiredPools

protected void initRequiredPools()
Temporary storage of collRequiredPools to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addRequiredPool

public void addRequiredPool(RequiredPool l)
                     throws java.lang.Exception
Method called to associate a RequiredPool object to this object through the RequiredPool foreign key attribute
Parameters:
RequiredPool - l

getRequiredPools

public java.util.Vector getRequiredPools()
                                  throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getRequiredPools(new Criteria())

getRequiredPools

public java.util.Vector getRequiredPools(org.apache.turbine.util.db.Criteria criteria)
                                  throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related RequiredPools from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getRequiredPoolsJoinPoolResults

protected java.util.Vector getRequiredPoolsJoinPoolResults(org.apache.turbine.util.db.Criteria criteria)
                                                    throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related RequiredPools from storage.

initElectivePools

protected void initElectivePools()
Temporary storage of collElectivePools to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addElectivePool

public void addElectivePool(ElectivePool l)
                     throws java.lang.Exception
Method called to associate a ElectivePool object to this object through the ElectivePool foreign key attribute
Parameters:
ElectivePool - l

getElectivePools

public java.util.Vector getElectivePools()
                                  throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getElectivePools(new Criteria())

getElectivePools

public java.util.Vector getElectivePools(org.apache.turbine.util.db.Criteria criteria)
                                  throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related ElectivePools from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getElectivePoolsJoinPoolResults

protected java.util.Vector getElectivePoolsJoinPoolResults(org.apache.turbine.util.db.Criteria criteria)
                                                    throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related ElectivePools from storage.

initDisciplineInfos

protected void initDisciplineInfos()
Temporary storage of collDisciplineInfos to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addDisciplineInfo

public void addDisciplineInfo(DisciplineInfo l)
                       throws java.lang.Exception
Method called to associate a DisciplineInfo object to this object through the DisciplineInfo foreign key attribute
Parameters:
DisciplineInfo - l

getDisciplineInfos

public java.util.Vector getDisciplineInfos()
                                    throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getDisciplineInfos(new Criteria())

getDisciplineInfos

public java.util.Vector getDisciplineInfos(org.apache.turbine.util.db.Criteria criteria)
                                    throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related DisciplineInfos from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

initCourseDisciplines

protected void initCourseDisciplines()
Temporary storage of collCourseDisciplines to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addCourseDiscipline

public void addCourseDiscipline(CourseDiscipline l)
                         throws java.lang.Exception
Method called to associate a CourseDiscipline object to this object through the CourseDiscipline foreign key attribute
Parameters:
CourseDiscipline - l

getCourseDisciplines

public java.util.Vector getCourseDisciplines()
                                      throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getCourseDisciplines(new Criteria())

getCourseDisciplines

public java.util.Vector getCourseDisciplines(org.apache.turbine.util.db.Criteria criteria)
                                      throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related CourseDisciplines from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getCourseDisciplinesJoinCourse

protected java.util.Vector getCourseDisciplinesJoinCourse(org.apache.turbine.util.db.Criteria criteria)
                                                   throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related CourseDisciplines from storage.

initProfessorCapables

protected void initProfessorCapables()
Temporary storage of collProfessorCapables to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addProfessorCapable

public void addProfessorCapable(ProfessorCapable l)
                         throws java.lang.Exception
Method called to associate a ProfessorCapable object to this object through the ProfessorCapable foreign key attribute
Parameters:
ProfessorCapable - l

getProfessorCapables

public java.util.Vector getProfessorCapables()
                                      throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getProfessorCapables(new Criteria())

getProfessorCapables

public java.util.Vector getProfessorCapables(org.apache.turbine.util.db.Criteria criteria)
                                      throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related ProfessorCapables from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getProfessorCapablesJoinProfessor

protected java.util.Vector getProfessorCapablesJoinProfessor(org.apache.turbine.util.db.Criteria criteria)
                                                      throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related ProfessorCapables from storage.

initDoubleDisciplinesRelatedByDisciplineOne

protected void initDoubleDisciplinesRelatedByDisciplineOne()
Temporary storage of collDoubleDisciplinesRelatedByDisciplineOne to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addDoubleDisciplineRelatedByDisciplineOne

public void addDoubleDisciplineRelatedByDisciplineOne(DoubleDiscipline l)
                                               throws java.lang.Exception
Method called to associate a DoubleDiscipline object to this object through the DoubleDiscipline foreign key attribute
Parameters:
DoubleDiscipline - l

getDoubleDisciplinesRelatedByDisciplineOne

public java.util.Vector getDoubleDisciplinesRelatedByDisciplineOne()
                                                            throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getDoubleDisciplinesRelatedByDisciplineOne(new Criteria())

getDoubleDisciplinesRelatedByDisciplineOne

public java.util.Vector getDoubleDisciplinesRelatedByDisciplineOne(org.apache.turbine.util.db.Criteria criteria)
                                                            throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related DoubleDisciplinesRelatedByDisciplineOne from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getDoubleDisciplinesRelatedByDisciplineOneJoinDisciplineRelatedByDisciplineTwo

protected java.util.Vector getDoubleDisciplinesRelatedByDisciplineOneJoinDisciplineRelatedByDisciplineTwo(org.apache.turbine.util.db.Criteria criteria)
                                                                                                   throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related DoubleDisciplinesRelatedByDisciplineOne from storage.

initDoubleDisciplinesRelatedByDisciplineTwo

protected void initDoubleDisciplinesRelatedByDisciplineTwo()
Temporary storage of collDoubleDisciplinesRelatedByDisciplineTwo to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addDoubleDisciplineRelatedByDisciplineTwo

public void addDoubleDisciplineRelatedByDisciplineTwo(DoubleDiscipline l)
                                               throws java.lang.Exception
Method called to associate a DoubleDiscipline object to this object through the DoubleDiscipline foreign key attribute
Parameters:
DoubleDiscipline - l

getDoubleDisciplinesRelatedByDisciplineTwo

public java.util.Vector getDoubleDisciplinesRelatedByDisciplineTwo()
                                                            throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getDoubleDisciplinesRelatedByDisciplineTwo(new Criteria())

getDoubleDisciplinesRelatedByDisciplineTwo

public java.util.Vector getDoubleDisciplinesRelatedByDisciplineTwo(org.apache.turbine.util.db.Criteria criteria)
                                                            throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related DoubleDisciplinesRelatedByDisciplineTwo from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getDoubleDisciplinesRelatedByDisciplineTwoJoinDisciplineRelatedByDisciplineOne

protected java.util.Vector getDoubleDisciplinesRelatedByDisciplineTwoJoinDisciplineRelatedByDisciplineOne(org.apache.turbine.util.db.Criteria criteria)
                                                                                                   throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related DoubleDisciplinesRelatedByDisciplineTwo from storage.

initSchedules

protected void initSchedules()
Temporary storage of collSchedules to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.

addSchedule

public void addSchedule(Schedule l)
                 throws java.lang.Exception
Method called to associate a Schedule object to this object through the Schedule foreign key attribute
Parameters:
Schedule - l

getSchedules

public java.util.Vector getSchedules()
                              throws java.lang.Exception
If this collection has already been initialized, returns the collection. Otherwise returns the results of getSchedules(new Criteria())

getSchedules

public java.util.Vector getSchedules(org.apache.turbine.util.db.Criteria criteria)
                              throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline has previously been saved, it will retrieve related Schedules from storage. If this Discipline is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

getSchedulesJoinYear

protected java.util.Vector getSchedulesJoinYear(org.apache.turbine.util.db.Criteria criteria)
                                         throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related Schedules from storage.

getSchedulesJoinProfessor

protected java.util.Vector getSchedulesJoinProfessor(org.apache.turbine.util.db.Criteria criteria)
                                              throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related Schedules from storage.

getSchedulesJoinPeriod

protected java.util.Vector getSchedulesJoinPeriod(org.apache.turbine.util.db.Criteria criteria)
                                           throws java.lang.Exception
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Discipline is new, it will return an empty collection; or if this Discipline has previously been saved, it will retrieve related Schedules from storage.

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 id)
                   throws java.lang.Exception
Set the PrimaryKey using ObjectKey.
Overrides:
setPrimaryKey in class org.apache.turbine.om.BaseObject
Parameters:
ObjectKey - 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 Discipline 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