|
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.BaseDiscipline | +--br.usp.ime.xpusp.om.Discipline
Field Summary | |
static int |
CREATED_DISCIPLINE
|
Fields inherited from class org.apache.turbine.om.BaseObject |
errMsg, is_new, modified, NEW_ID, primaryKey |
Constructor Summary | |
Discipline()
|
|
Discipline(java.lang.String code,
java.lang.String number,
java.lang.String name,
int sourceId)
|
Method Summary | |
java.lang.String |
getFenixInfoUrl()
|
java.lang.String |
getJupiterInfoUrl()
|
java.lang.String |
getJupiterOfferingUrl()
|
void |
setClassCredits(java.lang.String classCredits)
|
void |
setDisciplineType(java.lang.String disciplineType,
boolean create)
Set the type of this discipline by fetching the correct type from the database |
void |
setSourceId(int sourceId)
|
void |
setWorkCredits(java.lang.String workCredits)
|
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 |
Methods inherited from interface org.apache.turbine.om.Persistent |
getPrimaryKey, isModified, isNew, save, setModified, setNew, setPrimaryKey, setPrimaryKey |
Field Detail |
public static final int CREATED_DISCIPLINE
Constructor Detail |
public Discipline()
public Discipline(java.lang.String code, java.lang.String number, java.lang.String name, int sourceId) throws java.lang.Exception
Method Detail |
public void setSourceId(int sourceId) throws java.lang.Exception
public java.lang.String getJupiterInfoUrl() throws java.lang.Exception
public java.lang.String getFenixInfoUrl() throws java.lang.Exception
public java.lang.String getJupiterOfferingUrl() throws java.lang.Exception
public void setClassCredits(java.lang.String classCredits) throws java.lang.Exception
public void setWorkCredits(java.lang.String workCredits) throws java.lang.Exception
public void setDisciplineType(java.lang.String disciplineType, boolean create) throws java.lang.Exception
disciplineType
- the name of the DisciplineType
that should be setcreate
- if set to true then a new type will be created if a DisciplineType
with the name specified in disciplineType
does not exist on the DB.if
- create
is false and a DisciplineType
with the given name doesn't exist
|
XPUSP - Home | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |