it.unimo.dbgroup.momis.om
Class WnLemmaPeer

java.lang.Object
  extended byorg.apache.torque.util.BasePeer
      extended byit.unimo.dbgroup.momis.om.BaseWnLemmaPeer
          extended byit.unimo.dbgroup.momis.om.WnLemmaPeer
All Implemented Interfaces:
java.io.Serializable

public class WnLemmaPeer
extends BaseWnLemmaPeer

The skeleton for this class was autogenerated by Torque on: [Sat Aug 10 16:37:02 CEST 2002] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class it.unimo.dbgroup.momis.om.BaseWnLemmaPeer
CLASS_DEFAULT, CLASSNAME_DEFAULT, DATABASE_NAME, LEMMA, numColumns, SENSE_CNT, SYNTACTIC_CATEGORY, TABLE_NAME, WN_EXTENDER_ID, WN_LEMMA_ID
 
Fields inherited from class org.apache.torque.util.BasePeer
category, DEFAULT_MAP_BUILDER, IGNORE_CASE, ORDER_BY
 
Constructor Summary
WnLemmaPeer()
           
 
Method Summary
static WnLemma decSenseCnt(org.apache.torque.om.NumberKey lemmaId)
           
static boolean deleteLemmaFromDb(WnLemma lemma)
           
static java.util.Collection getSimilarLemma(java.lang.String lemma)
           
static WnLemma incSenseCnt(org.apache.torque.om.NumberKey lemmaId)
           
static WnLemma insertNewLemma(int pos, java.lang.String lemma, int sense_cnt)
           
static boolean isExistent(java.lang.String lemma)
           
static WnLemma retrieveById(org.apache.torque.om.NumberKey lemmaId)
           
static org.apache.torque.om.NumberKey retrieveByLemmaCategory(java.lang.String lemma, int pos)
           
static java.util.Collection retrieveByLemmaName(java.lang.String lemmaName)
           
static WnLemma retrieveObjectByLemmaCategory(java.lang.String lemma, int syntacticCategory)
           
 
Methods inherited from class it.unimo.dbgroup.momis.om.BaseWnLemmaPeer
addSelectColumns, buildCriteria, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectJoinWnExtender, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getOMClass, getTableMap, populateObject, populateObjects, resultSet2Objects, retrieveByPK, retrieveByPK, retrieveByPKs, retrieveByPKs, row2Object
 
Methods inherited from class org.apache.torque.util.BasePeer
beginTransaction, commitTransaction, createPreparedStatement, createQueryString, deleteAll, deleteAll, doPSSelect, doPSSelect, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultiple, handleMultipleRecords, hashtableToByteArray, initColumnNames, initCriteriaKeys, initTableColumns, initTableSchema, initTableSchema, rollBackTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WnLemmaPeer

public WnLemmaPeer()
Method Detail

getSimilarLemma

public static java.util.Collection getSimilarLemma(java.lang.String lemma)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

retrieveByLemmaName

public static java.util.Collection retrieveByLemmaName(java.lang.String lemmaName)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

isExistent

public static boolean isExistent(java.lang.String lemma)
                          throws java.lang.Exception
Throws:
java.lang.Exception

retrieveObjectByLemmaCategory

public static WnLemma retrieveObjectByLemmaCategory(java.lang.String lemma,
                                                    int syntacticCategory)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

retrieveByLemmaCategory

public static org.apache.torque.om.NumberKey retrieveByLemmaCategory(java.lang.String lemma,
                                                                     int pos)
                                                              throws java.lang.Exception
Throws:
java.lang.Exception

retrieveById

public static WnLemma retrieveById(org.apache.torque.om.NumberKey lemmaId)
                            throws java.lang.Exception
Throws:
java.lang.Exception

incSenseCnt

public static WnLemma incSenseCnt(org.apache.torque.om.NumberKey lemmaId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

decSenseCnt

public static WnLemma decSenseCnt(org.apache.torque.om.NumberKey lemmaId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

insertNewLemma

public static WnLemma insertNewLemma(int pos,
                                     java.lang.String lemma,
                                     int sense_cnt)
                              throws java.lang.Exception
Throws:
java.lang.Exception

deleteLemmaFromDb

public static boolean deleteLemmaFromDb(WnLemma lemma)
                                 throws java.lang.Exception
Throws:
java.lang.Exception


Universita' di Modena e Reggio Emilia