|
|||||||||||
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.BaseModelStatement
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 ModelStatement
Field Summary |
Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
Constructor Summary | |
BaseModelStatement()
|
Method Summary | |
ModelStatement |
copy()
Makes a copy of this object. |
protected ModelStatement |
copyInto(ModelStatement 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. |
Model |
getModel()
Get the associated Model object |
int |
getModelId()
Get the ModelId |
java.util.Date |
getModified()
Get the Modified |
ModelStatementPeer |
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. |
RdfStatement |
getRdfStatement()
Get the associated RdfStatement object |
RdfUser |
getRdfUser()
Get the associated RdfUser object |
int |
getStatementId()
Get the StatementId |
int |
getUsr()
Get the Usr |
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 |
setModel(Model v)
Declares an association between this object and a Model object |
void |
setModelId(int v)
Set the value of ModelId |
void |
setModelKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setModified(java.util.Date v)
Set the value of Modified |
void |
setPrimaryKey(int modelId,
int statementId)
Set the PrimaryKey using SimpleKeys. |
void |
setPrimaryKey(org.apache.torque.om.ObjectKey key)
Set the PrimaryKey with an ObjectKey |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setRdfStatement(RdfStatement v)
Declares an association between this object and a RdfStatement object |
void |
setRdfStatementKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
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. |
void |
setStatementId(int v)
Set the value of StatementId |
void |
setUsr(int v)
Set the value of Usr |
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 |
Constructor Detail |
public BaseModelStatement()
Method Detail |
public int getModelId()
public void setModelId(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public int getStatementId()
public void setStatementId(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public int getUsr()
public void setUsr(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public java.util.Date getModified()
public void setModified(java.util.Date 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
public void setModel(Model v) throws org.apache.torque.TorqueException
v
- Model
org.apache.torque.TorqueException
public Model getModel() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setModelKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setRdfStatement(RdfStatement v) throws org.apache.torque.TorqueException
v
- RdfStatement
org.apache.torque.TorqueException
public RdfStatement getRdfStatement() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setRdfStatementKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
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
key
-
org.apache.torque.TorqueException
public void setPrimaryKey(int modelId, int statementId) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setPrimaryKey(java.lang.String key) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public org.apache.torque.om.ObjectKey getPrimaryKey()
public ModelStatement copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected ModelStatement copyInto(ModelStatement copyObj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public ModelStatementPeer getPeer()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |