|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.om.BaseObject
it.unimo.dbgroup.momis.om.BaseWnLemma
This class was autogenerated by Torque on: [Wed Jan 21 15:57:22 CET 2004] You should not use this class directly. It should not even be extended all references should be to WnLemma
| Field Summary | |
private boolean |
alreadyInSave
flag to prevent endless save loop, if this object is referenced by another object which falls in this transaction. |
private WnExtender |
aWnExtender
|
protected java.util.List |
collWnLemmaSynsets
Collection to store aggregation of collWnLemmaSynsets |
private static java.util.List |
fieldNames
|
private org.apache.torque.util.Criteria |
lastWnLemmaSynsetsCriteria
The criteria used to select the current contents of collWnLemmaSynsets |
private java.lang.String |
lemma
The value for the lemma field |
private static WnLemmaPeer |
peer
The Peer class |
private int |
sense_cnt
The value for the sense_cnt field |
private int |
syntactic_category
The value for the syntactic_category field |
private org.apache.torque.om.NumberKey |
wn_extender_id
The value for the wn_extender_id field |
private org.apache.torque.om.NumberKey |
wn_lemma_id
The value for the wn_lemma_id field |
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Constructor Summary | |
BaseWnLemma()
|
|
| Method Summary | |
void |
addWnLemmaSynset(WnLemmaSynset l)
Method called to associate a WnLemmaSynset object to this object through the WnLemmaSynset foreign key attribute |
WnLemma |
copy()
Makes a copy of this object. |
protected WnLemma |
copyInto(WnLemma 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. |
java.lang.String |
getLemma()
Get the Lemma |
WnLemmaPeer |
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. |
int |
getSenseCnt()
Get the SenseCnt |
int |
getSyntacticCategory()
Get the SyntacticCategory |
WnExtender |
getWnExtender()
|
org.apache.torque.om.NumberKey |
getWnExtenderId()
Get the WnExtenderId |
org.apache.torque.om.NumberKey |
getWnLemmaId()
Get the WnLemmaId |
java.util.List |
getWnLemmaSynsets()
If this collection has already been initialized, returns the collection. |
java.util.List |
getWnLemmaSynsets(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 |
getWnLemmaSynsetsJoinWnExtender(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 |
getWnLemmaSynsetsJoinWnSynset(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected void |
initWnLemmaSynsets()
Temporary storage of collWnLemmaSynsets 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(org.apache.torque.pool.DBConnection dbCon)
Stores the object in the database. |
void |
save(java.lang.String dbName)
Stores the object in the database. |
void |
setLemma(java.lang.String v)
Set the value of Lemma |
void |
setPrimaryKey(org.apache.torque.om.ObjectKey wn_lemma_id)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setSenseCnt(int v)
Set the value of SenseCnt |
void |
setSyntacticCategory(int v)
Set the value of SyntacticCategory |
void |
setWnExtender(WnExtender v)
Declares an association between this object and a WnExtender object |
void |
setWnExtenderId(org.apache.torque.om.NumberKey v)
Set the value of WnExtenderId |
void |
setWnExtenderId(java.lang.String v)
Set the value of WnExtenderId as a string. |
void |
setWnExtenderKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setWnLemmaId(org.apache.torque.om.NumberKey v)
Set the value of WnLemmaId |
void |
setWnLemmaId(java.lang.String v)
Set the value of WnLemmaId as a string. |
| Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getCategory, getPrimaryKeyAsBigDecimal, getPrimaryKeyAsInt, getPrimaryKeyAsLong, getPrimaryKeyAsString, hashCode, isModified, isNew, log, resetModified, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final WnLemmaPeer peer
private org.apache.torque.om.NumberKey wn_lemma_id
private java.lang.String lemma
private int syntactic_category
private int sense_cnt
private org.apache.torque.om.NumberKey wn_extender_id
private WnExtender aWnExtender
protected java.util.List collWnLemmaSynsets
private org.apache.torque.util.Criteria lastWnLemmaSynsetsCriteria
private static java.util.List fieldNames
private boolean alreadyInSave
| Constructor Detail |
public BaseWnLemma()
| Method Detail |
public org.apache.torque.om.NumberKey getWnLemmaId()
public void setWnLemmaId(org.apache.torque.om.NumberKey v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnLemmaId(java.lang.String v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic java.lang.String getLemma()
public void setLemma(java.lang.String v)
public int getSyntacticCategory()
public void setSyntacticCategory(int v)
public int getSenseCnt()
public void setSenseCnt(int v)
public org.apache.torque.om.NumberKey getWnExtenderId()
public void setWnExtenderId(org.apache.torque.om.NumberKey v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnExtenderId(java.lang.String v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnExtender(WnExtender v)
throws org.apache.torque.TorqueException
v - WnExtender
org.apache.torque.TorqueException
public WnExtender getWnExtender()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnExtenderKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueExceptionprotected void initWnLemmaSynsets()
public void addWnLemmaSynset(WnLemmaSynset l)
throws org.apache.torque.TorqueException
l - WnLemmaSynset
org.apache.torque.TorqueException
public java.util.List getWnLemmaSynsets()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getWnLemmaSynsets(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getWnLemmaSynsetsJoinWnExtender(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getWnLemmaSynsetsJoinWnSynset(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic static java.util.List getFieldNames()
public java.lang.Object getByName(java.lang.String name)
public java.lang.Object getByPeerName(java.lang.String name)
public java.lang.Object getByPosition(int pos)
public void save()
throws java.lang.Exception
java.lang.Exception
public void save(java.lang.String dbName)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void save(org.apache.torque.pool.DBConnection dbCon)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setPrimaryKey(org.apache.torque.om.ObjectKey wn_lemma_id)
throws org.apache.torque.TorqueException
wn_lemma_id - ObjectKey
org.apache.torque.TorqueException
public void setPrimaryKey(java.lang.String key)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic org.apache.torque.om.ObjectKey getPrimaryKey()
public WnLemma copy()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected WnLemma copyInto(WnLemma copyObj)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic WnLemmaPeer getPeer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||