|
|||||||||||
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.BaseRdfStatement
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 RdfStatement
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 | |
BaseRdfStatement()
|
Method Summary | |
void |
addModelStatement(ModelStatement l)
Method called to associate a ModelStatement object to this object through the ModelStatement foreign key attribute |
RdfStatement |
copy()
Makes a copy of this object. |
protected RdfStatement |
copyInto(RdfStatement 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. |
long |
getGarbage()
Get the Garbage |
int |
getId()
Get the Id |
java.lang.String |
getIspublic()
Get the Ispublic |
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.util.Date |
getModified()
Get the Modified |
int |
getObjLiteral()
Get the ObjLiteral |
int |
getObjResource()
Get the ObjResource |
RdfStatementPeer |
getPeer()
returns a peer instance associated with this om. |
int |
getPredicate()
Get the Predicate |
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
RdfLiteral |
getRdfLiteral()
Get the associated RdfLiteral object |
RdfResource |
getRdfResourceRelatedByObjResource()
Get the associated RdfResource object |
RdfResource |
getRdfResourceRelatedByPredicate()
Get the associated RdfResource object |
RdfResource |
getRdfResourceRelatedBySubject()
Get the associated RdfResource object |
RdfUser |
getRdfUser()
Get the associated RdfUser object |
java.lang.String |
getRes()
Get the Res |
int |
getSubject()
Get the Subject |
int |
getUsr()
Get the Usr |
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 |
setGarbage(long v)
Set the value of Garbage |
void |
setId(int v)
Set the value of Id |
void |
setIspublic(java.lang.String v)
Set the value of Ispublic |
void |
setModified(java.util.Date v)
Set the value of Modified |
void |
setObjLiteral(int v)
Set the value of ObjLiteral |
void |
setObjResource(int v)
Set the value of ObjResource |
void |
setPredicate(int v)
Set the value of Predicate |
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 |
setRdfLiteral(RdfLiteral v)
Declares an association between this object and a RdfLiteral object |
void |
setRdfLiteralKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setRdfResourceRelatedByObjResource(RdfResource v)
Declares an association between this object and a RdfResource object |
void |
setRdfResourceRelatedByObjResourceKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setRdfResourceRelatedByPredicate(RdfResource v)
Declares an association between this object and a RdfResource object |
void |
setRdfResourceRelatedByPredicateKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setRdfResourceRelatedBySubject(RdfResource v)
Declares an association between this object and a RdfResource object |
void |
setRdfResourceRelatedBySubjectKey(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 |
setRes(java.lang.String v)
Set the value of Res |
void |
setSubject(int v)
Set the value of Subject |
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 |
Field Detail |
protected java.util.List collModelStatements
Constructor Detail |
public BaseRdfStatement()
Method Detail |
public int getId()
public void setId(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public int getSubject()
public void setSubject(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public int getPredicate()
public void setPredicate(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public int getObjResource()
public void setObjResource(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public int getObjLiteral()
public void setObjLiteral(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public java.lang.String getRes()
public void setRes(java.lang.String v)
v
- new valuepublic int getUsr()
public void setUsr(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public java.lang.String getIspublic()
public void setIspublic(java.lang.String v)
v
- new valuepublic java.util.Date getModified()
public void setModified(java.util.Date v)
v
- new valuepublic long getGarbage()
public void setGarbage(long 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 setRdfResourceRelatedByPredicate(RdfResource v) throws org.apache.torque.TorqueException
v
- RdfResource
org.apache.torque.TorqueException
public RdfResource getRdfResourceRelatedByPredicate() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setRdfResourceRelatedByPredicateKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setRdfResourceRelatedByObjResource(RdfResource v) throws org.apache.torque.TorqueException
v
- RdfResource
org.apache.torque.TorqueException
public RdfResource getRdfResourceRelatedByObjResource() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setRdfResourceRelatedByObjResourceKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setRdfResourceRelatedBySubject(RdfResource v) throws org.apache.torque.TorqueException
v
- RdfResource
org.apache.torque.TorqueException
public RdfResource getRdfResourceRelatedBySubject() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setRdfResourceRelatedBySubjectKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setRdfLiteral(RdfLiteral v) throws org.apache.torque.TorqueException
v
- RdfLiteral
org.apache.torque.TorqueException
public RdfLiteral getRdfLiteral() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setRdfLiteralKey(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 RdfStatement copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected RdfStatement copyInto(RdfStatement copyObj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public RdfStatementPeer getPeer()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |