|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.om.BaseObject | +--org.openprivacy.reptile.om.BasePeerAdvertisement
This class was autogenerated by Torque on: [Mon Jul 01 17:54:11 PDT 2002] You should not use this class directly. It should not even be extended all references should be to PeerAdvertisement
Field Summary |
Fields inherited from class org.apache.turbine.om.BaseObject |
NEW_ID |
Constructor Summary | |
BasePeerAdvertisement()
|
Method Summary | |
PeerAdvertisement |
copy()
Makes a copy of this object. |
java.lang.String |
getAdvertisementID()
Get the AdvertisementID |
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. |
long |
getDateFound()
Get the DateFound |
java.lang.String |
getDescription()
Get the Description |
static java.util.List |
getFieldNames()
Generate a list of field names. |
org.apache.turbine.om.NumberKey |
getId()
Get the Id |
java.lang.String |
getImage()
Get the Image |
long |
getLocalExpirationTime()
Get the LocalExpirationTime |
java.lang.String |
getName()
Get the Name |
java.lang.String |
getPeerID()
Get the PeerID |
org.apache.turbine.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 |
getTitle()
Get the Title |
java.lang.String |
getType()
Get the Type |
void |
save()
Stores the object in the database. |
void |
save(org.apache.turbine.util.db.pool.DBConnection dbCon)
Stores the object in the database. |
void |
save(java.lang.String dbName)
Stores the object in the database. |
void |
setAdvertisementID(java.lang.String v)
Set the value of AdvertisementID |
void |
setDateFound(long v)
Set the value of DateFound |
void |
setDescription(java.lang.String v)
Set the value of Description |
void |
setId(org.apache.turbine.om.NumberKey v)
Set the value of Id |
void |
setId(java.lang.String v)
Set the value of Id as a string. |
void |
setImage(java.lang.String v)
Set the value of Image |
void |
setLocalExpirationTime(long v)
Set the value of LocalExpirationTime |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setPeerID(java.lang.String v)
Set the value of PeerID |
void |
setPrimaryKey(org.apache.turbine.om.ObjectKey id)
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 |
setTitle(java.lang.String v)
Set the value of Title |
void |
setType(java.lang.String v)
Set the value of Type |
Methods inherited from class org.apache.turbine.om.BaseObject |
equals, equals, getPrimaryKeyAsBigDecimal, getPrimaryKeyAsInt, getPrimaryKeyAsLong, getPrimaryKeyAsString, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasePeerAdvertisement()
Method Detail |
public org.apache.turbine.om.NumberKey getId()
public void setId(org.apache.turbine.om.NumberKey v)
public void setId(java.lang.String v)
public long getDateFound()
public void setDateFound(long v)
public java.lang.String getType()
public void setType(java.lang.String v)
public java.lang.String getName()
public void setName(java.lang.String v)
public java.lang.String getAdvertisementID()
public void setAdvertisementID(java.lang.String v)
public java.lang.String getPeerID()
public void setPeerID(java.lang.String v)
public java.lang.String getTitle()
public void setTitle(java.lang.String v)
public java.lang.String getDescription()
public void setDescription(java.lang.String v)
public java.lang.String getImage()
public void setImage(java.lang.String v)
public long getLocalExpirationTime()
public void setLocalExpirationTime(long v)
public static java.util.List getFieldNames()
public java.lang.Object getByName(java.lang.String name)
getByName
in class org.apache.turbine.om.BaseObject
public java.lang.Object getByPeerName(java.lang.String name)
getByPeerName
in class org.apache.turbine.om.BaseObject
public java.lang.Object getByPosition(int pos)
getByPosition
in class org.apache.turbine.om.BaseObject
public void save() throws java.lang.Exception
save
in interface org.apache.turbine.om.Persistent
save
in class org.apache.turbine.om.BaseObject
java.lang.Exception
public void save(java.lang.String dbName) throws java.lang.Exception
java.lang.Exception
public void save(org.apache.turbine.util.db.pool.DBConnection dbCon) throws java.lang.Exception
java.lang.Exception
public void setPrimaryKey(org.apache.turbine.om.ObjectKey id)
setPrimaryKey
in interface org.apache.turbine.om.Persistent
setPrimaryKey
in class org.apache.turbine.om.BaseObject
public void setPrimaryKey(java.lang.String key)
setPrimaryKey
in interface org.apache.turbine.om.Persistent
setPrimaryKey
in class org.apache.turbine.om.BaseObject
public org.apache.turbine.om.ObjectKey getPrimaryKey()
getPrimaryKey
in interface org.apache.turbine.om.Persistent
getPrimaryKey
in class org.apache.turbine.om.BaseObject
public java.lang.String getQueryKey()
getQueryKey
in interface org.apache.turbine.om.Retrievable
public void setQueryKey(java.lang.String key) throws java.lang.Exception
setQueryKey
in interface org.apache.turbine.om.Retrievable
java.lang.Exception
public PeerAdvertisement copy() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |