it.unimo.dbgroup.momis.om
Class WnRelationshipPeer

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

public class WnRelationshipPeer
extends BaseWnRelationshipPeer

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
static java.util.Comparator _descrComp
          Comparator used to Sort documentations by WN_RELATIONSHIP_TYPE.description.
 
Fields inherited from class it.unimo.dbgroup.momis.om.BaseWnRelationshipPeer
CLASS_DEFAULT, CLASSNAME_DEFAULT, DATABASE_NAME, numColumns, TABLE_NAME, WN_EXTENDER_ID, WN_RELATIONSHIP_ID, WN_RELATIONSHIP_TYPE_ID, WN_SOURCE_LEMMA_NUMBER, WN_SOURCE_SYNSET_ID, WN_TARGET_LEMMA_NUMBER, WN_TARGET_SYNSET_ID
 
Fields inherited from class org.apache.torque.util.BasePeer
category, DEFAULT_MAP_BUILDER, IGNORE_CASE, ORDER_BY
 
Constructor Summary
WnRelationshipPeer()
           
 
Method Summary
static void deleteAllSourceLexicalRelations(WnSynset sourceSyn, int sourceLemmaNum)
          Deletes all the lexical relation involving a synonym of the given synset
static void deleteById(org.apache.torque.om.NumberKey relId)
           
static java.util.Comparator getComparator()
           
static java.util.Vector InsertCouple(WnRelationshipType origRel, WnRelationshipType refRel, WnSynset synSx, WnSynset synDx, int lemmaSxNumber, int lemmaDxNumber)
           
static java.util.Vector InsertSingle(WnRelationshipType origRel, WnSynset synSx, WnSynset synDx, int lemmaSxNumber, int lemmaDxNumber)
           
static java.util.List retrieveAllRelations(org.apache.torque.om.NumberKey sourceId, org.apache.torque.om.NumberKey targetId)
          Retrieve all the tuples that contain these synsets ID in these position (source vs target)
static java.util.List retrieveAllRelationsFromSource(org.apache.torque.om.NumberKey sourceId)
          Retrieve all the tuples that contain the synset ID as WN_SOURCE_SYNSET_ID
static java.util.List retrieveAllSemanticRelationsFromSource(org.apache.torque.om.NumberKey sourceId)
          Retrieve all the tuples that contain the synset ID as WN_SOURCE_SYNSET_ID in a semantic relation
static WnRelationship retrieveById(org.apache.torque.om.NumberKey sourceId, org.apache.torque.om.NumberKey targetId, org.apache.torque.om.NumberKey relTypeId)
           
static WnRelationship retrieveByRelationshipId(org.apache.torque.om.NumberKey relationshipId)
          Retrieve the WnRelationship by WnRelationshipId
static WnRelationship retrieveByRelId(org.apache.torque.om.NumberKey relId)
           
static WnRelationship retrieveLexRelById(org.apache.torque.om.NumberKey sourceId, org.apache.torque.om.NumberKey targetId, org.apache.torque.om.NumberKey relTypeId, int lemmaSxNumber, int lemmaDxNumber)
           
static WnRelationship retrieveReflex(WnRelationship origin, java.util.HashMap map, boolean sem)
           
 
Methods inherited from class it.unimo.dbgroup.momis.om.BaseWnRelationshipPeer
addSelectColumns, buildCriteria, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectJoinAllExceptWnExtender, doSelectJoinAllExceptWnRelationshipType, doSelectJoinAllExceptWnSynsetRelatedByWnSourceSynsetId, doSelectJoinAllExceptWnSynsetRelatedByWnTargetSynsetId, doSelectJoinWnExtender, doSelectJoinWnRelationshipType, doSelectJoinWnSynsetRelatedByWnSourceSynsetId, doSelectJoinWnSynsetRelatedByWnTargetSynsetId, 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
 

Field Detail

_descrComp

public static java.util.Comparator _descrComp
Comparator used to Sort documentations by WN_RELATIONSHIP_TYPE.description.

Constructor Detail

WnRelationshipPeer

public WnRelationshipPeer()
Method Detail

retrieveByRelationshipId

public static WnRelationship retrieveByRelationshipId(org.apache.torque.om.NumberKey relationshipId)
                                               throws java.lang.Exception
Retrieve the WnRelationship by WnRelationshipId

Throws:
java.lang.Exception

retrieveAllRelations

public static java.util.List retrieveAllRelations(org.apache.torque.om.NumberKey sourceId,
                                                  org.apache.torque.om.NumberKey targetId)
                                           throws java.lang.Exception
Retrieve all the tuples that contain these synsets ID in these position (source vs target)

Throws:
java.lang.Exception

retrieveAllRelationsFromSource

public static java.util.List retrieveAllRelationsFromSource(org.apache.torque.om.NumberKey sourceId)
                                                     throws java.lang.Exception
Retrieve all the tuples that contain the synset ID as WN_SOURCE_SYNSET_ID

Throws:
java.lang.Exception

retrieveAllSemanticRelationsFromSource

public static java.util.List retrieveAllSemanticRelationsFromSource(org.apache.torque.om.NumberKey sourceId)
                                                             throws java.lang.Exception
Retrieve all the tuples that contain the synset ID as WN_SOURCE_SYNSET_ID in a semantic relation

Throws:
java.lang.Exception

deleteAllSourceLexicalRelations

public static void deleteAllSourceLexicalRelations(WnSynset sourceSyn,
                                                   int sourceLemmaNum)
                                            throws java.lang.Exception
Deletes all the lexical relation involving a synonym of the given synset

Throws:
java.lang.Exception

retrieveLexRelById

public static WnRelationship retrieveLexRelById(org.apache.torque.om.NumberKey sourceId,
                                                org.apache.torque.om.NumberKey targetId,
                                                org.apache.torque.om.NumberKey relTypeId,
                                                int lemmaSxNumber,
                                                int lemmaDxNumber)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

retrieveById

public static WnRelationship retrieveById(org.apache.torque.om.NumberKey sourceId,
                                          org.apache.torque.om.NumberKey targetId,
                                          org.apache.torque.om.NumberKey relTypeId)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

retrieveByRelId

public static WnRelationship retrieveByRelId(org.apache.torque.om.NumberKey relId)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

deleteById

public static void deleteById(org.apache.torque.om.NumberKey relId)
                       throws java.lang.Exception
Throws:
java.lang.Exception

retrieveReflex

public static WnRelationship retrieveReflex(WnRelationship origin,
                                            java.util.HashMap map,
                                            boolean sem)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

InsertCouple

public static java.util.Vector InsertCouple(WnRelationshipType origRel,
                                            WnRelationshipType refRel,
                                            WnSynset synSx,
                                            WnSynset synDx,
                                            int lemmaSxNumber,
                                            int lemmaDxNumber)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

InsertSingle

public static java.util.Vector InsertSingle(WnRelationshipType origRel,
                                            WnSynset synSx,
                                            WnSynset synDx,
                                            int lemmaSxNumber,
                                            int lemmaDxNumber)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getComparator

public static java.util.Comparator getComparator()


Universita' di Modena e Reggio Emilia