it.unimo.dbgroup.momis.om
Class BaseWnSynset

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended byit.unimo.dbgroup.momis.om.BaseWnSynset
All Implemented Interfaces:
org.apache.torque.om.Persistent, java.io.Serializable
Direct Known Subclasses:
WnSynset

public abstract class BaseWnSynset
extends org.apache.torque.om.BaseObject

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 WnSynset

See Also:
Serialized Form

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  int byte_offset
          The value for the byte_offset field
protected  java.util.List collWnLemmaSynsets
          Collection to store aggregation of collWnLemmaSynsets
protected  java.util.List collWnRelationshipsRelatedByWnSourceSynsetId
          Collection to store aggregation of collWnRelationshipsRelatedByWnSourceSynsetId
protected  java.util.List collWnRelationshipsRelatedByWnTargetSynsetId
          Collection to store aggregation of collWnRelationshipsRelatedByWnTargetSynsetId
private static java.util.List fieldNames
           
private  java.lang.String gloss
          The value for the gloss field
private  org.apache.torque.util.Criteria lastWnLemmaSynsetsCriteria
          The criteria used to select the current contents of collWnLemmaSynsets
private  org.apache.torque.util.Criteria lastWnRelationshipsRelatedByWnSourceSynsetIdCriteria
          The criteria used to select the current contents of collWnRelationshipsRelatedByWnSourceSynsetId
private  org.apache.torque.util.Criteria lastWnRelationshipsRelatedByWnTargetSynsetIdCriteria
          The criteria used to select the current contents of collWnRelationshipsRelatedByWnTargetSynsetId
private static WnSynsetPeer peer
          The Peer class
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_synset_id
          The value for the wn_synset_id field
private  int word_cnt
          The value for the word_cnt field
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
BaseWnSynset()
           
 
Method Summary
 void addWnLemmaSynset(WnLemmaSynset l)
          Method called to associate a WnLemmaSynset object to this object through the WnLemmaSynset foreign key attribute
 void addWnRelationshipRelatedByWnSourceSynsetId(WnRelationship l)
          Method called to associate a WnRelationship object to this object through the WnRelationship foreign key attribute
 void addWnRelationshipRelatedByWnTargetSynsetId(WnRelationship l)
          Method called to associate a WnRelationship object to this object through the WnRelationship foreign key attribute
 WnSynset copy()
          Makes a copy of this object.
protected  WnSynset copyInto(WnSynset 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.
 int getByteOffset()
          Get the ByteOffset
static java.util.List getFieldNames()
          Generate a list of field names.
 java.lang.String getGloss()
          Get the Gloss
 WnSynsetPeer 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 getSyntacticCategory()
          Get the SyntacticCategory
 WnExtender getWnExtender()
           
 org.apache.torque.om.NumberKey getWnExtenderId()
          Get the WnExtenderId
 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 getWnLemmaSynsetsJoinWnLemma(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.List getWnRelationshipsRelatedByWnSourceSynsetId()
          If this collection has already been initialized, returns the collection.
 java.util.List getWnRelationshipsRelatedByWnSourceSynsetId(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 getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnExtender(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 getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnRelationshipType(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 getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnSynsetRelatedByWnTargetSynsetId(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 java.util.List getWnRelationshipsRelatedByWnTargetSynsetId()
          If this collection has already been initialized, returns the collection.
 java.util.List getWnRelationshipsRelatedByWnTargetSynsetId(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 getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnExtender(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 getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnRelationshipType(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 getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnSynsetRelatedByWnSourceSynsetId(org.apache.torque.util.Criteria criteria)
          If this collection has already been initialized with an identical criteria, it returns the collection.
 org.apache.torque.om.NumberKey getWnSynsetId()
          Get the WnSynsetId
 int getWordCnt()
          Get the WordCnt
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.
protected  void initWnRelationshipsRelatedByWnSourceSynsetId()
          Temporary storage of collWnRelationshipsRelatedByWnSourceSynsetId to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.
protected  void initWnRelationshipsRelatedByWnTargetSynsetId()
          Temporary storage of collWnRelationshipsRelatedByWnTargetSynsetId 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 setByteOffset(int v)
          Set the value of ByteOffset
 void setGloss(java.lang.String v)
          Set the value of Gloss
 void setPrimaryKey(org.apache.torque.om.ObjectKey wn_synset_id)
          Set the PrimaryKey using ObjectKey.
 void setPrimaryKey(java.lang.String key)
          Set the PrimaryKey using a String.
 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 setWnSynsetId(org.apache.torque.om.NumberKey v)
          Set the value of WnSynsetId
 void setWnSynsetId(java.lang.String v)
          Set the value of WnSynsetId as a string.
 void setWordCnt(int v)
          Set the value of WordCnt
 
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

peer

private static final WnSynsetPeer peer
The Peer class


wn_synset_id

private org.apache.torque.om.NumberKey wn_synset_id
The value for the wn_synset_id field


byte_offset

private int byte_offset
The value for the byte_offset field


syntactic_category

private int syntactic_category
The value for the syntactic_category field


word_cnt

private int word_cnt
The value for the word_cnt field


gloss

private java.lang.String gloss
The value for the gloss field


wn_extender_id

private org.apache.torque.om.NumberKey wn_extender_id
The value for the wn_extender_id field


aWnExtender

private WnExtender aWnExtender

collWnLemmaSynsets

protected java.util.List collWnLemmaSynsets
Collection to store aggregation of collWnLemmaSynsets


lastWnLemmaSynsetsCriteria

private org.apache.torque.util.Criteria lastWnLemmaSynsetsCriteria
The criteria used to select the current contents of collWnLemmaSynsets


collWnRelationshipsRelatedByWnSourceSynsetId

protected java.util.List collWnRelationshipsRelatedByWnSourceSynsetId
Collection to store aggregation of collWnRelationshipsRelatedByWnSourceSynsetId


lastWnRelationshipsRelatedByWnSourceSynsetIdCriteria

private org.apache.torque.util.Criteria lastWnRelationshipsRelatedByWnSourceSynsetIdCriteria
The criteria used to select the current contents of collWnRelationshipsRelatedByWnSourceSynsetId


collWnRelationshipsRelatedByWnTargetSynsetId

protected java.util.List collWnRelationshipsRelatedByWnTargetSynsetId
Collection to store aggregation of collWnRelationshipsRelatedByWnTargetSynsetId


lastWnRelationshipsRelatedByWnTargetSynsetIdCriteria

private org.apache.torque.util.Criteria lastWnRelationshipsRelatedByWnTargetSynsetIdCriteria
The criteria used to select the current contents of collWnRelationshipsRelatedByWnTargetSynsetId


fieldNames

private static java.util.List fieldNames

alreadyInSave

private boolean alreadyInSave
flag to prevent endless save loop, if this object is referenced by another object which falls in this transaction.

Constructor Detail

BaseWnSynset

public BaseWnSynset()
Method Detail

getWnSynsetId

public org.apache.torque.om.NumberKey getWnSynsetId()
Get the WnSynsetId

Returns:
NumberKey

setWnSynsetId

public void setWnSynsetId(org.apache.torque.om.NumberKey v)
                   throws org.apache.torque.TorqueException
Set the value of WnSynsetId

Throws:
org.apache.torque.TorqueException

setWnSynsetId

public void setWnSynsetId(java.lang.String v)
                   throws org.apache.torque.TorqueException
Set the value of WnSynsetId as a string.

Throws:
org.apache.torque.TorqueException

getByteOffset

public int getByteOffset()
Get the ByteOffset

Returns:
int

setByteOffset

public void setByteOffset(int v)
Set the value of ByteOffset


getSyntacticCategory

public int getSyntacticCategory()
Get the SyntacticCategory

Returns:
int

setSyntacticCategory

public void setSyntacticCategory(int v)
Set the value of SyntacticCategory


getWordCnt

public int getWordCnt()
Get the WordCnt

Returns:
int

setWordCnt

public void setWordCnt(int v)
Set the value of WordCnt


getGloss

public java.lang.String getGloss()
Get the Gloss

Returns:
String

setGloss

public void setGloss(java.lang.String v)
Set the value of Gloss


getWnExtenderId

public org.apache.torque.om.NumberKey getWnExtenderId()
Get the WnExtenderId

Returns:
NumberKey

setWnExtenderId

public void setWnExtenderId(org.apache.torque.om.NumberKey v)
                     throws org.apache.torque.TorqueException
Set the value of WnExtenderId

Throws:
org.apache.torque.TorqueException

setWnExtenderId

public void setWnExtenderId(java.lang.String v)
                     throws org.apache.torque.TorqueException
Set the value of WnExtenderId as a string.

Throws:
org.apache.torque.TorqueException

setWnExtender

public void setWnExtender(WnExtender v)
                   throws org.apache.torque.TorqueException
Declares an association between this object and a WnExtender object

Parameters:
v - WnExtender
Throws:
org.apache.torque.TorqueException

getWnExtender

public WnExtender getWnExtender()
                         throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

setWnExtenderKey

public void setWnExtenderKey(org.apache.torque.om.ObjectKey key)
                      throws org.apache.torque.TorqueException
Provides convenient way to set a relationship based on a ObjectKey. e.g. bar.setFooKey(foo.getPrimaryKey())

Throws:
org.apache.torque.TorqueException

initWnLemmaSynsets

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.


addWnLemmaSynset

public void addWnLemmaSynset(WnLemmaSynset l)
                      throws org.apache.torque.TorqueException
Method called to associate a WnLemmaSynset object to this object through the WnLemmaSynset foreign key attribute

Parameters:
l - WnLemmaSynset
Throws:
org.apache.torque.TorqueException

getWnLemmaSynsets

public java.util.List getWnLemmaSynsets()
                                 throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getWnLemmaSynsets(new Criteria())

Throws:
org.apache.torque.TorqueException

getWnLemmaSynsets

public java.util.List getWnLemmaSynsets(org.apache.torque.util.Criteria criteria)
                                 throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset has previously been saved, it will retrieve related WnLemmaSynsets from storage. If this WnSynset is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getWnLemmaSynsetsJoinWnExtender

protected java.util.List getWnLemmaSynsetsJoinWnExtender(org.apache.torque.util.Criteria criteria)
                                                  throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnLemmaSynsets from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

getWnLemmaSynsetsJoinWnLemma

protected java.util.List getWnLemmaSynsetsJoinWnLemma(org.apache.torque.util.Criteria criteria)
                                               throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnLemmaSynsets from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

initWnRelationshipsRelatedByWnSourceSynsetId

protected void initWnRelationshipsRelatedByWnSourceSynsetId()
Temporary storage of collWnRelationshipsRelatedByWnSourceSynsetId to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.


addWnRelationshipRelatedByWnSourceSynsetId

public void addWnRelationshipRelatedByWnSourceSynsetId(WnRelationship l)
                                                throws org.apache.torque.TorqueException
Method called to associate a WnRelationship object to this object through the WnRelationship foreign key attribute

Parameters:
l - WnRelationship
Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnSourceSynsetId

public java.util.List getWnRelationshipsRelatedByWnSourceSynsetId()
                                                           throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getWnRelationshipsRelatedByWnSourceSynsetId(new Criteria())

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnSourceSynsetId

public java.util.List getWnRelationshipsRelatedByWnSourceSynsetId(org.apache.torque.util.Criteria criteria)
                                                           throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnSourceSynsetId from storage. If this WnSynset is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnSynsetRelatedByWnTargetSynsetId

protected java.util.List getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnSynsetRelatedByWnTargetSynsetId(org.apache.torque.util.Criteria criteria)
                                                                                                   throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnSourceSynsetId from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnRelationshipType

protected java.util.List getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnRelationshipType(org.apache.torque.util.Criteria criteria)
                                                                                    throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnSourceSynsetId from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnExtender

protected java.util.List getWnRelationshipsRelatedByWnSourceSynsetIdJoinWnExtender(org.apache.torque.util.Criteria criteria)
                                                                            throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnSourceSynsetId from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

initWnRelationshipsRelatedByWnTargetSynsetId

protected void initWnRelationshipsRelatedByWnTargetSynsetId()
Temporary storage of collWnRelationshipsRelatedByWnTargetSynsetId to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested.


addWnRelationshipRelatedByWnTargetSynsetId

public void addWnRelationshipRelatedByWnTargetSynsetId(WnRelationship l)
                                                throws org.apache.torque.TorqueException
Method called to associate a WnRelationship object to this object through the WnRelationship foreign key attribute

Parameters:
l - WnRelationship
Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnTargetSynsetId

public java.util.List getWnRelationshipsRelatedByWnTargetSynsetId()
                                                           throws org.apache.torque.TorqueException
If this collection has already been initialized, returns the collection. Otherwise returns the results of getWnRelationshipsRelatedByWnTargetSynsetId(new Criteria())

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnTargetSynsetId

public java.util.List getWnRelationshipsRelatedByWnTargetSynsetId(org.apache.torque.util.Criteria criteria)
                                                           throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnTargetSynsetId from storage. If this WnSynset is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnSynsetRelatedByWnSourceSynsetId

protected java.util.List getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnSynsetRelatedByWnSourceSynsetId(org.apache.torque.util.Criteria criteria)
                                                                                                   throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnTargetSynsetId from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnRelationshipType

protected java.util.List getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnRelationshipType(org.apache.torque.util.Criteria criteria)
                                                                                    throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnTargetSynsetId from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnExtender

protected java.util.List getWnRelationshipsRelatedByWnTargetSynsetIdJoinWnExtender(org.apache.torque.util.Criteria criteria)
                                                                            throws org.apache.torque.TorqueException
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this WnSynset is new, it will return an empty collection; or if this WnSynset has previously been saved, it will retrieve related WnRelationshipsRelatedByWnTargetSynsetId from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in WnSynset.

Throws:
org.apache.torque.TorqueException

getFieldNames

public static java.util.List getFieldNames()
Generate a list of field names.


getByName

public java.lang.Object getByName(java.lang.String name)
Retrieves a field from the object by name passed in as a String.


getByPeerName

public java.lang.Object getByPeerName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. The String must be one of the static Strings defined in this Class' Peer.


getByPosition

public java.lang.Object getByPosition(int pos)
Retrieves a field from the object by Position as specified in the xml schema. Zero-based.


save

public void save()
          throws java.lang.Exception
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.

Throws:
java.lang.Exception

save

public void save(java.lang.String dbName)
          throws org.apache.torque.TorqueException
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. Note: this code is here because the method body is auto-generated conditionally and therefore needs to be in this file instead of in the super class, BaseObject.

Throws:
org.apache.torque.TorqueException

save

public void save(org.apache.torque.pool.DBConnection dbCon)
          throws org.apache.torque.TorqueException
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. This method is meant to be used as part of a transaction, otherwise use the save() method and the connection details will be handled internally

Throws:
org.apache.torque.TorqueException

setPrimaryKey

public void setPrimaryKey(org.apache.torque.om.ObjectKey wn_synset_id)
                   throws org.apache.torque.TorqueException
Set the PrimaryKey using ObjectKey.

Parameters:
wn_synset_id - ObjectKey
Throws:
org.apache.torque.TorqueException

setPrimaryKey

public void setPrimaryKey(java.lang.String key)
                   throws org.apache.torque.TorqueException
Set the PrimaryKey using a String.

Throws:
org.apache.torque.TorqueException

getPrimaryKey

public org.apache.torque.om.ObjectKey getPrimaryKey()
returns an id that differentiates this object from others of its class.


copy

public WnSynset copy()
              throws org.apache.torque.TorqueException
Makes a copy of this object. It creates a new object filling in the simple attributes. It then fills all the association collections and sets the related objects to isNew=true.

Throws:
org.apache.torque.TorqueException

copyInto

protected WnSynset copyInto(WnSynset copyObj)
                     throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getPeer

public WnSynsetPeer getPeer()
returns a peer instance associated with this om. Since Peer classes are not to have any instance attributes, this method returns the same instance for all member of this class. The method could therefore be static, but this would prevent one from overriding the behavior.



Universita' di Modena e Reggio Emilia