|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.om.BaseObject net.sourceforge.blogentis.om.BaseComment
You should not use this class directly. It should not even be extended all references should be to Comment
Field Summary |
Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
Constructor Summary | |
BaseComment()
|
Method Summary | |
Comment |
copy()
Makes a copy of this object. |
protected Comment |
copyInto(Comment 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. |
int |
getCommentId()
Get the CommentId |
java.lang.String |
getEmail()
Get the Email |
static java.util.List |
getFieldNames()
Generate a list of field names. |
java.lang.String |
getName()
Get the Name |
CommentPeer |
getPeer()
returns a peer instance associated with this om. |
Post |
getPost()
Get the associated Post object |
java.util.Date |
getPostedTime()
Get the PostedTime |
int |
getPostId()
Get the PostId |
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
java.lang.String |
getQueryKey()
get an id that differentiates this object from others of its class. |
java.lang.String |
getText()
Get the Text |
java.lang.String |
getTitle()
Get the Title |
java.lang.String |
getUrl()
Get the Url |
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 |
setCommentId(int v)
Set the value of CommentId |
void |
setEmail(java.lang.String v)
Set the value of Email |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setPost(Post v)
Declares an association between this object and a Post object |
void |
setPostedTime(java.util.Date v)
Set the value of PostedTime |
void |
setPostId(int v)
Set the value of PostId |
void |
setPostKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
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 |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
void |
setText(java.lang.String v)
Set the value of Text |
void |
setTitle(java.lang.String v)
Set the value of Title |
void |
setUrl(java.lang.String v)
Set the value of Url |
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 BaseComment()
Method Detail |
public int getCommentId()
public void setCommentId(int v)
v
- new valuepublic int getPostId()
public void setPostId(int v) throws org.apache.torque.TorqueException
v
- new value
org.apache.torque.TorqueException
public java.util.Date getPostedTime()
public void setPostedTime(java.util.Date v)
v
- new valuepublic java.lang.String getName()
public void setName(java.lang.String v)
v
- new valuepublic java.lang.String getUrl()
public void setUrl(java.lang.String v)
v
- new valuepublic java.lang.String getEmail()
public void setEmail(java.lang.String v)
v
- new valuepublic java.lang.String getTitle()
public void setTitle(java.lang.String v)
v
- new valuepublic java.lang.String getText()
public void setText(java.lang.String v)
v
- new valuepublic void setPost(Post v) throws org.apache.torque.TorqueException
v
- Post
org.apache.torque.TorqueException
public Post getPost() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setPostKey(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
save
in interface org.apache.torque.om.Persistent
java.lang.Exception
public void save(java.lang.String dbName) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
dbName
-
org.apache.torque.TorqueException
public void save(java.sql.Connection con) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
con
-
org.apache.torque.TorqueException
public void setPrimaryKey(org.apache.torque.om.ObjectKey key)
setPrimaryKey
in interface org.apache.torque.om.Persistent
public void setPrimaryKey(java.lang.String key)
setPrimaryKey
in interface org.apache.torque.om.Persistent
key
- public org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey
in interface org.apache.torque.om.Persistent
public java.lang.String getQueryKey()
getQueryKey
in interface org.apache.turbine.om.Retrievable
public void setQueryKey(java.lang.String key) throws org.apache.torque.TorqueException
setQueryKey
in interface org.apache.turbine.om.Retrievable
org.apache.torque.TorqueException
public Comment copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected Comment copyInto(Comment copyObj) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public CommentPeer getPeer()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |