
package org.thdl.roster.om;


import org.apache.torque.om.Persistent;
import org.apache.torque.TorqueException;
import org.apache.torque.TorqueException;

/** 
 * The skeleton for this class was autogenerated by Torque on:
 *
 * [Mon Mar 17 09:22:14 EST 2003]
 *
 * 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.
 */
public  class ResearchInterestLanguage 
    extends org.thdl.roster.om.BaseResearchInterestLanguage
    implements java.io.Serializable, Persistent, RosterMergeData
{
		public void setByPosition( int position, Integer data ) throws TorqueException
		{
			if ( position == 1 )
			{
				setId( data );
			}
			if ( position == 2 )
			{
				setLanguageId( data );
			}
			if ( position == 3 )
			{
				setResearchInterestId( data );
			}
			if ( position == 4 )
			{
				setRelevance( data );
			}
		}		
		public void remove() throws TorqueException
		{
			getPeer().doDelete( this );
		}
}
