it.unimo.dbgroup.momis.om
Class BaseWnReverseIndex

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

public abstract class BaseWnReverseIndex
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 WnReverseIndex

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 static java.util.List fieldNames
           
private static WnReverseIndexPeer peer
          The Peer class
private  java.lang.String term
          The value for the term field
private  org.apache.torque.om.NumberKey wn_reverse_index_id
          The value for the wn_reverse_index_id field
private  java.lang.String wn_synset_id_list
          The value for the wn_synset_id_list field
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
BaseWnReverseIndex()
           
 
Method Summary
 WnReverseIndex copy()
          Makes a copy of this object.
protected  WnReverseIndex copyInto(WnReverseIndex 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.
 WnReverseIndexPeer 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.
 java.lang.String getTerm()
          Get the Term
 org.apache.torque.om.NumberKey getWnReverseIndexId()
          Get the WnReverseIndexId
 java.lang.String getWnSynsetIdList()
          Get the WnSynsetIdList
 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_reverse_index_id)
          Set the PrimaryKey using ObjectKey.
 void setPrimaryKey(java.lang.String key)
          Set the PrimaryKey using a String.
 void setTerm(java.lang.String v)
          Set the value of Term
 void setWnReverseIndexId(org.apache.torque.om.NumberKey v)
          Set the value of WnReverseIndexId
 void setWnReverseIndexId(java.lang.String v)
          Set the value of WnReverseIndexId as a string.
 void setWnSynsetIdList(java.lang.String v)
          Set the value of WnSynsetIdList
 
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 WnReverseIndexPeer peer
The Peer class


wn_reverse_index_id

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


term

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


wn_synset_id_list

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


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

BaseWnReverseIndex

public BaseWnReverseIndex()
Method Detail

getWnReverseIndexId

public org.apache.torque.om.NumberKey getWnReverseIndexId()
Get the WnReverseIndexId

Returns:
NumberKey

setWnReverseIndexId

public void setWnReverseIndexId(org.apache.torque.om.NumberKey v)
Set the value of WnReverseIndexId


setWnReverseIndexId

public void setWnReverseIndexId(java.lang.String v)
Set the value of WnReverseIndexId as a string.


getTerm

public java.lang.String getTerm()
Get the Term

Returns:
String

setTerm

public void setTerm(java.lang.String v)
Set the value of Term


getWnSynsetIdList

public java.lang.String getWnSynsetIdList()
Get the WnSynsetIdList

Returns:
String

setWnSynsetIdList

public void setWnSynsetIdList(java.lang.String v)
Set the value of WnSynsetIdList


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_reverse_index_id)
Set the PrimaryKey using ObjectKey.

Parameters:
wn_reverse_index_id - ObjectKey

setPrimaryKey

public void setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String.


getPrimaryKey

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


copy

public WnReverseIndex 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 WnReverseIndex copyInto(WnReverseIndex copyObj)
                           throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException

getPeer

public WnReverseIndexPeer 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