|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.util.BasePeer
it.unimo.dbgroup.momis.om.BaseWnRelationshipPeer
it.unimo.dbgroup.momis.om.WnRelationshipPeer
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.
| 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 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 |
public static java.util.Comparator _descrComp
| Constructor Detail |
public WnRelationshipPeer()
| Method Detail |
public static WnRelationship retrieveByRelationshipId(org.apache.torque.om.NumberKey relationshipId)
throws java.lang.Exception
java.lang.Exception
public static java.util.List retrieveAllRelations(org.apache.torque.om.NumberKey sourceId,
org.apache.torque.om.NumberKey targetId)
throws java.lang.Exception
java.lang.Exception
public static java.util.List retrieveAllRelationsFromSource(org.apache.torque.om.NumberKey sourceId)
throws java.lang.Exception
java.lang.Exception
public static java.util.List retrieveAllSemanticRelationsFromSource(org.apache.torque.om.NumberKey sourceId)
throws java.lang.Exception
java.lang.Exception
public static void deleteAllSourceLexicalRelations(WnSynset sourceSyn,
int sourceLemmaNum)
throws java.lang.Exception
java.lang.Exception
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
java.lang.Exception
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
java.lang.Exception
public static WnRelationship retrieveByRelId(org.apache.torque.om.NumberKey relId)
throws java.lang.Exception
java.lang.Exception
public static void deleteById(org.apache.torque.om.NumberKey relId)
throws java.lang.Exception
java.lang.Exception
public static WnRelationship retrieveReflex(WnRelationship origin,
java.util.HashMap map,
boolean sem)
throws java.lang.Exception
java.lang.Exception
public static java.util.Vector InsertCouple(WnRelationshipType origRel,
WnRelationshipType refRel,
WnSynset synSx,
WnSynset synDx,
int lemmaSxNumber,
int lemmaDxNumber)
throws java.lang.Exception
java.lang.Exception
public static java.util.Vector InsertSingle(WnRelationshipType origRel,
WnSynset synSx,
WnSynset synDx,
int lemmaSxNumber,
int lemmaDxNumber)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.Comparator getComparator()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||