|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.om.BaseObject | +--br.usp.ime.xpusp.om.BaseDepartment
This class was autogenerated by Torque. You should not use this class directly. It should not even be extended all references should be to Department
Field Summary | |
private boolean |
alreadyInSave
|
private Source |
aSource
|
private Unit |
aUnit
|
private org.apache.turbine.om.StringKey |
code
the value for the code field |
protected java.util.Vector |
collCourses
Collection to store aggregation of collCourses |
protected java.util.Vector |
collDefaultCapabilitys
Collection to store aggregation of collDefaultCapabilitys |
protected java.util.Vector |
collDisciplines
Collection to store aggregation of collDisciplines |
protected java.util.Vector |
collProfessors
Collection to store aggregation of collProfessors |
protected java.util.Vector |
collXpuspUsers
Collection to store aggregation of collXpuspUsers |
protected java.util.Vector |
collYears
Collection to store aggregation of collYears |
private org.apache.turbine.util.db.Criteria |
lastCoursesCriteria
The criteria used to select the current contents of collCourses |
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 |
lastDisciplinesCriteria
The criteria used to select the current contents of collDisciplines |
private org.apache.turbine.util.db.Criteria |
lastProfessorsCriteria
The criteria used to select the current contents of collProfessors |
private org.apache.turbine.util.db.Criteria |
lastXpuspUsersCriteria
The criteria used to select the current contents of collXpuspUsers |
private org.apache.turbine.util.db.Criteria |
lastYearsCriteria
The criteria used to select the current contents of collYears |
private java.lang.String |
name
the value for the name field |
private java.lang.String |
second_code
the value for the second_code field |
private org.apache.turbine.om.NumberKey |
source_id
the value for the source_id field |
private org.apache.turbine.om.NumberKey |
unit_id
the value for the unit_id field |
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
BaseDepartment()
|
Method Summary | |
void |
addCourse(Course l)
Method called to associate a Course object to this object through the Course foreign key attribute |
void |
addDefaultCapability(DefaultCapability l)
Method called to associate a DefaultCapability object to this object through the DefaultCapability foreign key attribute |
void |
addDiscipline(Discipline l)
Method called to associate a Discipline object to this object through the Discipline foreign key attribute |
void |
addProfessor(Professor l)
Method called to associate a Professor object to this object through the Professor foreign key attribute |
void |
addXpuspUser(XpuspUser l)
Method called to associate a XpuspUser object to this object through the XpuspUser foreign key attribute |
void |
addYear(Year l)
Method called to associate a Year object to this object through the Year foreign key attribute |
Department |
copy()
Makes a copy of this object. |
org.apache.turbine.om.StringKey |
getCode()
Get the Code |
java.util.Vector |
getCourses()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getCourses(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 |
getCoursesJoinSource(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 |
getCoursesJoinUnit(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 |
getDefaultCapabilitysJoinDiscipline(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 |
getDisciplines()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getDisciplines(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 |
getDisciplinesJoinDisciplineType(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 |
getDisciplinesJoinSource(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 |
getName()
Get the Name |
org.apache.turbine.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
java.util.Vector |
getProfessors()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getProfessors(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.lang.String |
getSecondCode()
Get the SecondCode |
Source |
getSource()
|
org.apache.turbine.om.NumberKey |
getSourceId()
Get the SourceId |
Unit |
getUnit()
|
org.apache.turbine.om.NumberKey |
getUnitId()
Get the UnitId |
java.util.Vector |
getXpuspUsers()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getXpuspUsers(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 |
getXpuspUsersJoinProfessor(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 |
getYears()
If this collection has already been initialized, returns the collection. |
java.util.Vector |
getYears(org.apache.turbine.util.db.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected void |
initCourses()
Temporary storage of collCourses 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 |
initDisciplines()
Temporary storage of collDisciplines to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initProfessors()
Temporary storage of collProfessors to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initXpuspUsers()
Temporary storage of collXpuspUsers to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initYears()
Temporary storage of collYears 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 |
setCode(java.lang.String v)
Set the value of Code as a string. |
void |
setCode(org.apache.turbine.om.StringKey v)
Set the value of Code |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey code)
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 |
setSecondCode(java.lang.String v)
Set the value of SecondCode |
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 |
setUnit(Unit v)
Declares an association between this object and a Unit object |
void |
setUnitId(org.apache.turbine.om.NumberKey v)
Set the value of UnitId |
void |
setUnitId(java.lang.String v)
Set the value of UnitId as a string. |
void |
setUnitKey(org.apache.turbine.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
Methods inherited from class org.apache.turbine.om.BaseObject |
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Field Detail |
private org.apache.turbine.om.StringKey code
private java.lang.String name
private org.apache.turbine.om.NumberKey unit_id
private java.lang.String second_code
private org.apache.turbine.om.NumberKey source_id
private Unit aUnit
private Source aSource
protected java.util.Vector collXpuspUsers
private org.apache.turbine.util.db.Criteria lastXpuspUsersCriteria
protected java.util.Vector collYears
private org.apache.turbine.util.db.Criteria lastYearsCriteria
protected java.util.Vector collDefaultCapabilitys
private org.apache.turbine.util.db.Criteria lastDefaultCapabilitysCriteria
protected java.util.Vector collDisciplines
private org.apache.turbine.util.db.Criteria lastDisciplinesCriteria
protected java.util.Vector collCourses
private org.apache.turbine.util.db.Criteria lastCoursesCriteria
protected java.util.Vector collProfessors
private org.apache.turbine.util.db.Criteria lastProfessorsCriteria
private boolean alreadyInSave
Constructor Detail |
public BaseDepartment()
Method Detail |
public org.apache.turbine.om.StringKey getCode()
public void setCode(org.apache.turbine.om.StringKey v) throws java.lang.Exception
public void setCode(java.lang.String v) throws java.lang.Exception
public java.lang.String getName()
public void setName(java.lang.String v)
public org.apache.turbine.om.NumberKey getUnitId()
public void setUnitId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setUnitId(java.lang.String v) throws java.lang.Exception
public java.lang.String getSecondCode()
public void setSecondCode(java.lang.String v)
public org.apache.turbine.om.NumberKey getSourceId()
public void setSourceId(org.apache.turbine.om.NumberKey v) throws java.lang.Exception
public void setSourceId(java.lang.String v) throws java.lang.Exception
public void setUnit(Unit v) throws java.lang.Exception
Unit
- vpublic Unit getUnit() throws java.lang.Exception
public void setUnitKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
public void setSource(Source v) throws java.lang.Exception
Source
- vpublic Source getSource() throws java.lang.Exception
public void setSourceKey(org.apache.turbine.om.ObjectKey key) throws java.lang.Exception
bar.setFooKey(foo.getPrimaryKey())
protected void initXpuspUsers()
public void addXpuspUser(XpuspUser l) throws java.lang.Exception
XpuspUser
- lpublic java.util.Vector getXpuspUsers() throws java.lang.Exception
public java.util.Vector getXpuspUsers(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getXpuspUsersJoinProfessor(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initYears()
public void addYear(Year l) throws java.lang.Exception
Year
- lpublic java.util.Vector getYears() throws java.lang.Exception
public java.util.Vector getYears(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initDefaultCapabilitys()
public void addDefaultCapability(DefaultCapability l) throws java.lang.Exception
DefaultCapability
- lpublic java.util.Vector getDefaultCapabilitys() throws java.lang.Exception
public java.util.Vector getDefaultCapabilitys(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getDefaultCapabilitysJoinDiscipline(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initDisciplines()
public void addDiscipline(Discipline l) throws java.lang.Exception
Discipline
- lpublic java.util.Vector getDisciplines() throws java.lang.Exception
public java.util.Vector getDisciplines(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getDisciplinesJoinSource(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getDisciplinesJoinDisciplineType(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initCourses()
public void addCourse(Course l) throws java.lang.Exception
Course
- lpublic java.util.Vector getCourses() throws java.lang.Exception
public java.util.Vector getCourses(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getCoursesJoinSource(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected java.util.Vector getCoursesJoinUnit(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
protected void initProfessors()
public void addProfessor(Professor l) throws java.lang.Exception
Professor
- lpublic java.util.Vector getProfessors() throws java.lang.Exception
public java.util.Vector getProfessors(org.apache.turbine.util.db.Criteria criteria) throws java.lang.Exception
public void save() throws java.lang.Exception
save
in class org.apache.turbine.om.BaseObject
public void save(java.lang.String dbName) throws java.lang.Exception
public void save(org.apache.turbine.util.db.pool.DBConnection dbCon) throws java.lang.Exception
public void setPrimaryKey(org.apache.turbine.om.ObjectKey code) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
ObjectKey
- codepublic void setPrimaryKey(java.lang.String key) throws java.lang.Exception
setPrimaryKey
in class org.apache.turbine.om.BaseObject
public org.apache.turbine.om.ObjectKey getPrimaryKey()
getPrimaryKey
in class org.apache.turbine.om.BaseObject
public java.lang.String getQueryKey()
getQueryKey
in interface org.apache.turbine.om.Retrievable
public void setQueryKey(java.lang.String key) throws java.lang.Exception
setQueryKey
in interface org.apache.turbine.om.Retrievable
public Department copy() throws java.lang.Exception
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |