|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.om.BaseObject olr.om.BaseModel
This class was autogenerated by Torque on: [Tue Jul 13 14:47:47 CEST 2004] You should not use this class directly. It should not even be extended all references should be to Model
Field Summary | |
protected java.util.List |
collModelStatements
Collection to store aggregation of collModelStatements |
Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
Constructor Summary | |
BaseModel()
|
Method Summary | |
void |
addModelStatement(ModelStatement l)
Method called to associate a ModelStatement object to this object through the ModelStatement foreign key attribute |
Model |
copy()
Makes a copy of this object. |
protected Model |
copyInto(Model copyObj)
|
java.lang.Object |
getByName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. |
java.lang.Object |
getByPeerName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. |
java.lang.Object |
getByPosition(int pos)
Retrieves a field from the object by Position as specified in the xml schema. |
static java.util.List |
getFieldNames()
Generate a list of field names. |
int |
getId()
Get the Id |
boolean |
getIsCourse()
Get the IsCourse |
long |
getLocked()
Get the Locked |
int |
getLockedBy()
Get the LockedBy |
java.util.List |
getModelStatements()
If this collection has already been initialized, returns the collection. |
java.util.List |
getModelStatements(java.sql.Connection con)
If this collection has already been initialized, returns the collection. |
java.util.List |
getModelStatements(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getModelStatements(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getModelStatementsJoinModel(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getModelStatementsJoinRdfStatement(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getModelStatementsJoinRdfUser(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.lang.String |
getName()
Get the Name |
ModelPeer |
getPeer()
returns a peer instance associated with this om. |
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
RdfUser |
getRdfUser()
Get the associated RdfUser object |
protected void |
initModelStatements()
Temporary storage of collModelStatements 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(java.sql.Connection con)
Stores the object in the database. |
void |
save(java.lang.String dbName)
Stores the object in the database. |
void |
setId(int v)
Set the value of Id |
void |
setIsCourse(boolean v)
Set the value of IsCourse |
void |
setLocked(long v)
Set the value of Locked |
void |
setLockedBy(int v)
Set the value of LockedBy |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setPrimaryKey(org.apache.torque.om.ObjectKey key)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setRdfUser(RdfUser v)
Declares an association between this object and a RdfUser object |
void |
setRdfUserKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getLog, hashCode, isModified, isNew, log, resetModified, setModified, setNew, setPrimaryKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.List collModelStatements
Constructor Detail |
public BaseModel()
Method Detail |
public int getId()
public void setId(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public java.lang.String getName()
public void setName(java.lang.String v)
v
- new valuepublic long getLocked()
public void setLocked(long v)
v
- new valuepublic int getLockedBy()
public void setLockedBy(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public boolean getIsCourse()
public void setIsCourse(boolean v)
v
- new valuepublic void setRdfUser(RdfUser v) throws org.apache.torque.TorqueException
v
- RdfUser
org.apache.torque.TorqueException
public RdfUser getRdfUser() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setRdfUserKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
protected void initModelStatements()
public void addModelStatement(ModelStatement l) throws org.apache.torque.TorqueException
l
- ModelStatement
org.apache.torque.TorqueException
public java.util.List getModelStatements() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getModelStatements(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getModelStatements(java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getModelStatements(org.apache.torque.util.Criteria criteria, java.sql.Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getModelStatementsJoinRdfUser(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getModelStatementsJoinModel(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getModelStatementsJoinRdfStatement(org.apache.torque.util.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public static java.util.List getFieldNames()
public java.lang.Object getByName(java.lang.String name)
name
- field name
public java.lang.Object getByPeerName(java.lang.String name)
name
- peer name
public java.lang.Object getByPosition(int pos)
pos
- position in xml schema
public void save() throws java.lang.Exception
java.lang.Exception
public void save(java.lang.String dbName) throws org.apache.torque.TorqueException
dbName
-
org.apache.torque.TorqueException
public void save(java.sql.Connection con) throws org.apache.torque.TorqueException
con
-
org.apache.torque.TorqueException
public void setPrimaryKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setPrimaryKey(java.lang.String key) throws org.apache.torque.TorqueException
key
-
org.apache.torque.TorqueException
public org.apache.torque.om.ObjectKey getPrimaryKey()
public Model copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected Model copyInto(Model copyObj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public ModelPeer getPeer()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |