|
|||||||||||
| 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.BaseWnRelationship
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 WnRelationship
| 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
|
private WnRelationshipType |
aWnRelationshipType
|
private WnSynset |
aWnSynsetRelatedByWnSourceSynsetId
|
private WnSynset |
aWnSynsetRelatedByWnTargetSynsetId
|
private static java.util.List |
fieldNames
|
private static WnRelationshipPeer |
peer
The Peer class |
private org.apache.torque.om.NumberKey |
wn_extender_id
The value for the wn_extender_id field |
private org.apache.torque.om.NumberKey |
wn_relationship_id
The value for the wn_relationship_id field |
private org.apache.torque.om.NumberKey |
wn_relationship_type_id
The value for the wn_relationship_type_id field |
private int |
wn_source_lemma_number
The value for the wn_source_lemma_number field |
private org.apache.torque.om.NumberKey |
wn_source_synset_id
The value for the wn_source_synset_id field |
private int |
wn_target_lemma_number
The value for the wn_target_lemma_number field |
private org.apache.torque.om.NumberKey |
wn_target_synset_id
The value for the wn_target_synset_id field |
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Constructor Summary | |
BaseWnRelationship()
|
|
| Method Summary | |
WnRelationship |
copy()
Makes a copy of this object. |
protected WnRelationship |
copyInto(WnRelationship 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. |
WnRelationshipPeer |
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. |
WnExtender |
getWnExtender()
|
org.apache.torque.om.NumberKey |
getWnExtenderId()
Get the WnExtenderId |
org.apache.torque.om.NumberKey |
getWnRelationshipId()
Get the WnRelationshipId |
WnRelationshipType |
getWnRelationshipType()
|
org.apache.torque.om.NumberKey |
getWnRelationshipTypeId()
Get the WnRelationshipTypeId |
int |
getWnSourceLemmaNumber()
Get the WnSourceLemmaNumber |
org.apache.torque.om.NumberKey |
getWnSourceSynsetId()
Get the WnSourceSynsetId |
WnSynset |
getWnSynsetRelatedByWnSourceSynsetId()
|
WnSynset |
getWnSynsetRelatedByWnTargetSynsetId()
|
int |
getWnTargetLemmaNumber()
Get the WnTargetLemmaNumber |
org.apache.torque.om.NumberKey |
getWnTargetSynsetId()
Get the WnTargetSynsetId |
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 |
setPrimaryKey(org.apache.torque.om.ObjectKey wn_relationship_id)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
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 |
setWnRelationshipId(org.apache.torque.om.NumberKey v)
Set the value of WnRelationshipId |
void |
setWnRelationshipId(java.lang.String v)
Set the value of WnRelationshipId as a string. |
void |
setWnRelationshipType(WnRelationshipType v)
Declares an association between this object and a WnRelationshipType object |
void |
setWnRelationshipTypeId(org.apache.torque.om.NumberKey v)
Set the value of WnRelationshipTypeId |
void |
setWnRelationshipTypeId(java.lang.String v)
Set the value of WnRelationshipTypeId as a string. |
void |
setWnRelationshipTypeKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setWnSourceLemmaNumber(int v)
Set the value of WnSourceLemmaNumber |
void |
setWnSourceSynsetId(org.apache.torque.om.NumberKey v)
Set the value of WnSourceSynsetId |
void |
setWnSourceSynsetId(java.lang.String v)
Set the value of WnSourceSynsetId as a string. |
void |
setWnSynsetRelatedByWnSourceSynsetId(WnSynset v)
Declares an association between this object and a WnSynset object |
void |
setWnSynsetRelatedByWnSourceSynsetIdKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setWnSynsetRelatedByWnTargetSynsetId(WnSynset v)
Declares an association between this object and a WnSynset object |
void |
setWnSynsetRelatedByWnTargetSynsetIdKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setWnTargetLemmaNumber(int v)
Set the value of WnTargetLemmaNumber |
void |
setWnTargetSynsetId(org.apache.torque.om.NumberKey v)
Set the value of WnTargetSynsetId |
void |
setWnTargetSynsetId(java.lang.String v)
Set the value of WnTargetSynsetId 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 WnRelationshipPeer peer
private org.apache.torque.om.NumberKey wn_relationship_id
private org.apache.torque.om.NumberKey wn_source_synset_id
private org.apache.torque.om.NumberKey wn_target_synset_id
private int wn_source_lemma_number
private int wn_target_lemma_number
private org.apache.torque.om.NumberKey wn_relationship_type_id
private org.apache.torque.om.NumberKey wn_extender_id
private WnSynset aWnSynsetRelatedByWnSourceSynsetId
private WnSynset aWnSynsetRelatedByWnTargetSynsetId
private WnRelationshipType aWnRelationshipType
private WnExtender aWnExtender
private static java.util.List fieldNames
private boolean alreadyInSave
| Constructor Detail |
public BaseWnRelationship()
| Method Detail |
public org.apache.torque.om.NumberKey getWnRelationshipId()
public void setWnRelationshipId(org.apache.torque.om.NumberKey v)
public void setWnRelationshipId(java.lang.String v)
public org.apache.torque.om.NumberKey getWnSourceSynsetId()
public void setWnSourceSynsetId(org.apache.torque.om.NumberKey v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnSourceSynsetId(java.lang.String v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic org.apache.torque.om.NumberKey getWnTargetSynsetId()
public void setWnTargetSynsetId(org.apache.torque.om.NumberKey v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnTargetSynsetId(java.lang.String v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic int getWnSourceLemmaNumber()
public void setWnSourceLemmaNumber(int v)
public int getWnTargetLemmaNumber()
public void setWnTargetLemmaNumber(int v)
public org.apache.torque.om.NumberKey getWnRelationshipTypeId()
public void setWnRelationshipTypeId(org.apache.torque.om.NumberKey v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnRelationshipTypeId(java.lang.String v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic 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 setWnSynsetRelatedByWnSourceSynsetId(WnSynset v)
throws org.apache.torque.TorqueException
v - WnSynset
org.apache.torque.TorqueException
public WnSynset getWnSynsetRelatedByWnSourceSynsetId()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnSynsetRelatedByWnSourceSynsetIdKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setWnSynsetRelatedByWnTargetSynsetId(WnSynset v)
throws org.apache.torque.TorqueException
v - WnSynset
org.apache.torque.TorqueException
public WnSynset getWnSynsetRelatedByWnTargetSynsetId()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnSynsetRelatedByWnTargetSynsetIdKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setWnRelationshipType(WnRelationshipType v)
throws org.apache.torque.TorqueException
v - WnRelationshipType
org.apache.torque.TorqueException
public WnRelationshipType getWnRelationshipType()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setWnRelationshipTypeKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
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.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.TorqueExceptionpublic void setPrimaryKey(org.apache.torque.om.ObjectKey wn_relationship_id)
wn_relationship_id - ObjectKeypublic void setPrimaryKey(java.lang.String key)
public org.apache.torque.om.ObjectKey getPrimaryKey()
public WnRelationship copy()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected WnRelationship copyInto(WnRelationship copyObj)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic WnRelationshipPeer getPeer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||