head	1.1;
access;
symbols
	HELM_PEER_PORT_BRANCH:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2001.01.28.01.18.22;	author dlr;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2001.01.28.01.18.22;	author dlr;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2001.02.01.02.56.58;	author leonardr;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	2001.02.07.03.46.27;	author dlr;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2001.02.07.21.17.59;	author dlr;	state Exp;
branches;
next	1.1.2.5;

1.1.2.5
date	2001.02.09.02.01.49;	author dlr;	state Exp;
branches;
next	1.1.2.6;

1.1.2.6
date	2001.02.09.23.25.38;	author dlr;	state Exp;
branches;
next	1.1.2.7;

1.1.2.7
date	2001.02.13.00.55.50;	author dlr;	state Exp;
branches;
next	1.1.2.8;

1.1.2.8
date	2001.02.13.03.03.01;	author dlr;	state Exp;
branches;
next	1.1.2.9;

1.1.2.9
date	2001.02.16.03.05.24;	author dlr;	state dead;
branches;
next	;


desc
@@


1.1
log
@file BaseProjectDocument.java was initially added on branch HELM_PEER_PORT_BRANCH.
@
text
@@


1.1.2.1
log
@Classes ported to the Turbine Peer system. -dlr and leonardr
@
text
@a0 444
package org.tigris.helm.om;

// JDK classes
import java.util.*;

// Turbine classes
import org.apache.turbine.om.BaseObject;
import org.apache.turbine.om.peer.BasePeer;
import org.tigris.helm.om.peer.*;
import org.apache.turbine.util.db.Criteria;
import org.apache.turbine.util.ObjectUtils;
import org.apache.turbine.util.Log;
import org.apache.turbine.util.db.pool.DBConnection;

/** 
 * This class was autogenerated by Torque on: Fri Jan 26 19:21:34 PST 2001
 * You should not use this class directly.  It should not even be
 * extended all references should be to ProjectDocument 
 */
abstract class BaseProjectDocument extends BaseObject
{
    /** the value for the document_id field */
    private int document_id;
    /** the value for the project_id field */
    private int project_id;
    /** the value for the name field */
    private String name;
    /** the value for the description field */
    private String description;
    /** the value for the type field */
    private String type;
    /** the value for the file_name field */
    private String file_name;
    /** the value for the is_public field */
    private String is_public;
    /** the value for the location field */
    private String location;
    /** the value for the url field */
    private String url;
    /** the value for the text field */
    private String text;
    /** the value for the suggested_by field */
    private int suggested_by;
    /** the value for the approved_by field */
    private int approved_by;


    /**
     * Get the DocumentId
     * @@return int
     */
     public int getDocumentId()
     {
          return document_id;
     }


    /**
     * Set the value of DocumentId
     */
     public void setDocumentId(int v ) 
     {


           if (this.document_id != v)
           {
              this.document_id = v;
              setModified(true);
          }
     }
    /**
     * Get the ProjectId
     * @@return int
     */
     public int getProjectId()
     {
          return project_id;
     }


    /**
     * Set the value of ProjectId
     */
     public void setProjectId(int v ) 
     {


           if (this.project_id != v)
           {
              this.project_id = v;
              setModified(true);
          }
     }
    /**
     * Get the Name
     * @@return String
     */
     public String getName()
     {
          return name;
     }


    /**
     * Set the value of Name
     */
     public void setName(String v ) 
     {


           if ( !ObjectUtils.equals(this.name, v) )
           {
              this.name = v;
              setModified(true);
          }
     }
    /**
     * Get the Description
     * @@return String
     */
     public String getDescription()
     {
          return description;
     }


    /**
     * Set the value of Description
     */
     public void setDescription(String v ) 
     {


           if ( !ObjectUtils.equals(this.description, v) )
           {
              this.description = v;
              setModified(true);
          }
     }
    /**
     * Get the Type
     * @@return String
     */
     public String getType()
     {
          return type;
     }


    /**
     * Set the value of Type
     */
     public void setType(String v ) 
     {


           if ( !ObjectUtils.equals(this.type, v) )
           {
              this.type = v;
              setModified(true);
          }
     }
    /**
     * Get the FileName
     * @@return String
     */
     public String getFileName()
     {
          return file_name;
     }


    /**
     * Set the value of FileName
     */
     public void setFileName(String v ) 
     {


           if ( !ObjectUtils.equals(this.file_name, v) )
           {
              this.file_name = v;
              setModified(true);
          }
     }
    /**
     * Get the IsPublic
     * @@return String
     */
     public String getIsPublic()
     {
          return is_public;
     }


    /**
     * Set the value of IsPublic
     */
     public void setIsPublic(String v ) 
     {


           if ( !ObjectUtils.equals(this.is_public, v) )
           {
              this.is_public = v;
              setModified(true);
          }
     }
    /**
     * Get the Location
     * @@return String
     */
     public String getLocation()
     {
          return location;
     }


    /**
     * Set the value of Location
     */
     public void setLocation(String v ) 
     {


           if ( !ObjectUtils.equals(this.location, v) )
           {
              this.location = v;
              setModified(true);
          }
     }
    /**
     * Get the Url
     * @@return String
     */
     public String getUrl()
     {
          return url;
     }


    /**
     * Set the value of Url
     */
     public void setUrl(String v ) 
     {


           if ( !ObjectUtils.equals(this.url, v) )
           {
              this.url = v;
              setModified(true);
          }
     }
    /**
     * Get the Text
     * @@return String
     */
     public String getText()
     {
          return text;
     }


    /**
     * Set the value of Text
     */
     public void setText(String v ) 
     {


           if ( !ObjectUtils.equals(this.text, v) )
           {
              this.text = v;
              setModified(true);
          }
     }
    /**
     * Get the SuggestedBy
     * @@return int
     */
     public int getSuggestedBy()
     {
          return suggested_by;
     }


    /**
     * Set the value of SuggestedBy
     */
     public void setSuggestedBy(int v ) 
     {


           if (this.suggested_by != v)
           {
              this.suggested_by = v;
              setModified(true);
          }
     }
    /**
     * Get the ApprovedBy
     * @@return int
     */
     public int getApprovedBy()
     {
          return approved_by;
     }


    /**
     * Set the value of ApprovedBy
     */
     public void setApprovedBy(int v ) 
     {


           if (this.approved_by != v)
           {
              this.approved_by = v;
              setModified(true);
          }
     }

 
    
     	

    /**
     * Stores the object in the database.  If the object is new,
     * it inserts it; otherwise an update is performed.
     */
    public void save() throws Exception
    {
 
        if (isModified())
        {
            if (isNew())
            {
                ProjectDocumentPeer.doInsert((ProjectDocument)this);
                setNew(false);
            }
            else
            {
                ProjectDocumentPeer.doUpdate((ProjectDocument)this);
            }
        }
      
     }

      /**
     * 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
     */
    public void save(DBConnection dbCon) throws Exception
    {
          if (isModified())
        {
            if (isNew())
            {
                ProjectDocumentPeer.doInsert((ProjectDocument)this, dbCon);
            }
            else
            {
                ProjectDocumentPeer.doUpdate((ProjectDocument)this, dbCon);
                setNew(false);
            }
        }

       }


    /** 
     * Set the Id using pk values.
     *
     * @@param int document_id
     */
    public void setPrimaryKey(
                      int document_id
                                                                                                                                                                 ) 
    {
                     setDocumentId(document_id);
                                                                                                                                                    }

    /** 
     * Set the Id using a : separated String of pk values.
     */
    public void setPrimaryKey(Object id) throws Exception
    {
        StringTokenizer st = new StringTokenizer(id.toString(), ":");
                           setDocumentId( Integer.parseInt(st.nextToken()) );
                                                                                                                                                            }


    /** 
     * returns an id that differentiates this object from others
     * of its class.
     */
    public Object getPrimaryKey() 
    {
        return ""
                      + getDocumentId()
                                                                                                                                                                 ;
    } 

    /** 
     * returns an id that can be used to specify this object in
     * a query string.
     */
    public String getQueryOID() 
    {
        return "ProjectDocument[" + getPrimaryKey() + "]";
    }

    /**
     * Makes a copy of this object.  
     * It creates a new object filling in the simple attributes.
      */
    public ProjectDocument copy() throws Exception
    {
        ProjectDocument copyObj = new ProjectDocument();
         copyObj.setDocumentId(document_id);
         copyObj.setProjectId(project_id);
         copyObj.setName(name);
         copyObj.setDescription(description);
         copyObj.setType(type);
         copyObj.setFileName(file_name);
         copyObj.setIsPublic(is_public);
         copyObj.setLocation(location);
         copyObj.setUrl(url);
         copyObj.setText(text);
         copyObj.setSuggestedBy(suggested_by);
         copyObj.setApprovedBy(approved_by);
 
  
                        
        copyObj.setDocumentId(NEW_ID);
                                                                                        return copyObj;
    }             

}
@


1.1.2.2
log
@Changes to generated classes.
@
text
@d20 1
a20 1
public abstract class BaseProjectDocument extends BaseObject
@


1.1.2.3
log
@Latest Torque generated code (simple object model).
@
text
@a4 1
import java.math.*;
d16 1
a16 1
 * This class was autogenerated by Torque on: Tue Feb 06 19:46:40 PST 2001
a326 81
    /**
     * Generate a Vector with field names.
     */
    static private Vector fieldNames_ = null;
    static public Vector getFieldNames()
    {
      if (fieldNames_ == null)
      {
        fieldNames_ = new Vector();
            fieldNames_.add("DocumentId");
            fieldNames_.add("ProjectId");
            fieldNames_.add("Name");
            fieldNames_.add("Description");
            fieldNames_.add("Type");
            fieldNames_.add("FileName");
            fieldNames_.add("IsPublic");
            fieldNames_.add("Location");
            fieldNames_.add("Url");
            fieldNames_.add("Text");
            fieldNames_.add("SuggestedBy");
            fieldNames_.add("ApprovedBy");
          }
      return fieldNames_;
    }

    /**
     * Retrieves a field from the object by name passed in
     * as a String.
     */
    public Object getByName(String name)
    {
            if (name.equals("DocumentId"))
	{
	  	    return new Integer(getDocumentId());
	  	}
            if (name.equals("ProjectId"))
	{
	  	    return new Integer(getProjectId());
	  	}
            if (name.equals("Name"))
	{
	  	    return getName();
	  	}
            if (name.equals("Description"))
	{
	  	    return getDescription();
	  	}
            if (name.equals("Type"))
	{
	  	    return getType();
	  	}
            if (name.equals("FileName"))
	{
	  	    return getFileName();
	  	}
            if (name.equals("IsPublic"))
	{
	  	    return getIsPublic();
	  	}
            if (name.equals("Location"))
	{
	  	    return getLocation();
	  	}
            if (name.equals("Url"))
	{
	  	    return getUrl();
	  	}
            if (name.equals("Text"))
	{
	  	    return getText();
	  	}
            if (name.equals("SuggestedBy"))
	{
	  	    return new Integer(getSuggestedBy());
	  	}
            if (name.equals("ApprovedBy"))
	{
	  	    return new Integer(getApprovedBy());
	  	}
            return null; 
    }
d439 1
a439 1
                       
d443 1
@


1.1.2.4
log
@Newest generated code (complex model this time).  Removed getUsers from Domain to side step decl conflict.
@
text
@d17 1
a17 1
 * This class was autogenerated by Torque on: Wed Feb 07 12:45:09 PST 2001
d58 1
a58 1
                            
d62 1
a62 1
     public void setDocumentId(int v ) throws Exception
d64 1
a64 14
  
       
        
                
          // update associated ProjectDocumentSection
          if (collProjectDocumentSections != null )
          {
              for (int i=0; i<collProjectDocumentSections.size(); i++)
              {
                  ((ProjectDocumentSection)collProjectDocumentSections.get(i))
                      .setDocumentId(v);
              }
          }
       
d81 1
a81 1
            
d85 1
a85 1
     public void setProjectId(int v ) throws Exception
d87 1
a87 7
                  if ( aProject != null && !aProject.isNew())
        {
            throw new Exception("Can't set a foreign key directly after an "
                + " association is already made based on saved data.");
        }
  
  
d104 1
a104 1
        
d110 1
a110 2
  
  
d127 1
a127 1
        
d133 1
a133 2
  
  
d150 1
a150 1
        
d156 1
a156 2
  
  
d173 1
a173 1
        
d179 1
a179 2
  
  
d196 1
a196 1
        
d202 1
a202 2
  
  
d219 1
a219 1
        
d225 1
a225 2
  
  
d242 1
a242 1
        
d248 1
a248 2
  
  
d265 1
a265 1
        
d271 1
a271 2
  
  
d288 1
a288 1
            
d292 1
a292 1
     public void setSuggestedBy(int v ) throws Exception
d294 1
a294 7
                  if ( aUserRelatedBySuggestedBy != null && !aUserRelatedBySuggestedBy.isNew())
        {
            throw new Exception("Can't set a foreign key directly after an "
                + " association is already made based on saved data.");
        }
  
  
d311 1
a311 1
            
d315 1
a315 1
     public void setApprovedBy(int v ) throws Exception
d317 1
a317 7
                  if ( aUserRelatedByApprovedBy != null && !aUserRelatedByApprovedBy.isNew())
        {
            throw new Exception("Can't set a foreign key directly after an "
                + " association is already made based on saved data.");
        }
  
  
a326 108
 
   
             
   
   
    /**
     * Declares an association between this object and a Project object
     *
     * @@param Project v
     */
    private Project aProject;
    public void setProject(Project v) throws Exception
    {
        aProject = null;
           setProjectId(v.getProjectId());
           aProject = v;
    }

                     
    public Project getProject() throws Exception
    {
        if ( aProject==null && (this.project_id>0) )
        {
            aProject = ProjectPeer.retrieveByPK(this.project_id);
            // The following can be used instead of the line above to
            // guarantee the related object contains a reference
            // to this object, but this level of coupling 
            // may be undesirable in many circumstances.
            // As it can lead to a db query with many results that may
            // never be used.  
            // Project obj = ProjectPeer.retrieveByPK(this.project_id);
            // obj.addProjectDocuments(this);
        }
        return aProject;
    }

 
   
                 
      
   
    /**
     * Declares an association between this object and a User object
     *
     * @@param User v
     */
    private User aUserRelatedBySuggestedBy;
    public void setUserRelatedBySuggestedBy(User v) throws Exception
    {
        aUserRelatedBySuggestedBy = null;
           setSuggestedBy(v.getUserId());
           aUserRelatedBySuggestedBy = v;
    }

                     
    public User getUserRelatedBySuggestedBy() throws Exception
    {
        if ( aUserRelatedBySuggestedBy==null && (this.suggested_by>0) )
        {
            aUserRelatedBySuggestedBy = UserPeer.retrieveByPK(this.suggested_by);
            // The following can be used instead of the line above to
            // guarantee the related object contains a reference
            // to this object, but this level of coupling 
            // may be undesirable in many circumstances.
            // As it can lead to a db query with many results that may
            // never be used.  
            // User obj = UserPeer.retrieveByPK(this.suggested_by);
            // obj.addProjectDocumentsRelatedBySuggestedBy(this);
        }
        return aUserRelatedBySuggestedBy;
    }

 
   
                 
      
   
    /**
     * Declares an association between this object and a User object
     *
     * @@param User v
     */
    private User aUserRelatedByApprovedBy;
    public void setUserRelatedByApprovedBy(User v) throws Exception
    {
        aUserRelatedByApprovedBy = null;
           setApprovedBy(v.getUserId());
           aUserRelatedByApprovedBy = v;
    }

                     
    public User getUserRelatedByApprovedBy() throws Exception
    {
        if ( aUserRelatedByApprovedBy==null && (this.approved_by>0) )
        {
            aUserRelatedByApprovedBy = UserPeer.retrieveByPK(this.approved_by);
            // The following can be used instead of the line above to
            // guarantee the related object contains a reference
            // to this object, but this level of coupling 
            // may be undesirable in many circumstances.
            // As it can lead to a db query with many results that may
            // never be used.  
            // User obj = UserPeer.retrieveByPK(this.approved_by);
            // obj.addProjectDocumentsRelatedByApprovedBy(this);
        }
        return aUserRelatedByApprovedBy;
    }

a327 19
                
      
    /**
     * Collection to store aggregation of collProjectDocumentSections
     */
    private Vector collProjectDocumentSections;
    /**
     * Temporary storage of collProjectDocumentSections to save a possible db hit in
     * the event objects are add to the collection, but the
     * complete collection is never requested.
     */
//    private Vector tempcollProjectDocumentSections;

    public void initProjectDocumentSections()
    {
        if (collProjectDocumentSections == null)
            collProjectDocumentSections = new Vector();
    }

d329 1
a329 4
     * Method called to associate a ProjectDocumentSection object to this object
     * through the ProjectDocumentSection foreign key attribute
     *
     * @@param ProjectDocumentSection l
d331 2
a332 157
    public void addProjectDocumentSections(ProjectDocumentSection l) throws Exception
    {
        /*
        if (collProjectDocumentSections == null)
        {
            if (tempcollProjectDocumentSections == null)
            {
                tempcollProjectDocumentSections = new Vector();
            }
            tempcollProjectDocumentSections.add(l);
        }
        else
        {
            collProjectDocumentSections.add(l);
        }
        */
        getProjectDocumentSections().add(l);
        l.setProjectDocument((ProjectDocument)this);
    }

    /**
     * The criteria used to select the current contents of collProjectDocumentSections
     */
    private Criteria lastProjectDocumentSectionsCriteria = null;

    /**
     * If this collection has already been initialized, returns
     * the collection. Otherwise returns the results of 
     * getProjectDocumentSections(new Criteria())
     */
    public Vector getProjectDocumentSections() throws Exception
    {
        if (collProjectDocumentSections == null)
        {
            collProjectDocumentSections = getProjectDocumentSections(new Criteria(10));
        }
        return collProjectDocumentSections;
    }

    /**
     * If this collection has already been initialized with
     * an identical criteria, it returns the collection. 
     * Otherwise if this ProjectDocument is new, it will return
     * an empty collection; or if this ProjectDocument has previously
     * been saved, it will retrieve related ProjectDocumentSections from storage.
     */
    public Vector getProjectDocumentSections(Criteria criteria) throws Exception
    {
        if (collProjectDocumentSections == null)
        {
            if ( isNew() ) 
            {
               collProjectDocumentSections = new Vector();       
            } 
            else
            {
                   criteria.add(ProjectDocumentSectionPeer.DOCUMENT_ID, getDocumentId() );               
                   collProjectDocumentSections = ProjectDocumentSectionPeer.doSelect(criteria);
            }
/*
            if (tempcollProjectDocumentSections != null)
            {
                for (int i=0; i<tempcollProjectDocumentSections.size(); i++)
                {
                    collProjectDocumentSections.add(tempcollProjectDocumentSections.get(i));
                }
                tempcollProjectDocumentSections = null;
            }
*/
        }
        else
        {
            // the following code is to determine if a new query is
            // called for.  If the criteria is the same as the last
            // one, just return the collection.
            boolean newCriteria = true;
                   criteria.add(ProjectDocumentSectionPeer.DOCUMENT_ID, getDocumentId() );               
               if ( !lastProjectDocumentSectionsCriteria.equals(criteria)  )
            {
                collProjectDocumentSections = ProjectDocumentSectionPeer.doSelect(criteria);  
            }
        }
        lastProjectDocumentSectionsCriteria = criteria; 

        return collProjectDocumentSections;
    }
    

        
      
         
          
                    
                
        
        
       
      
      
          
                    
                
        
        
   
    /**
     * If this collection has already been initialized with
     * an identical criteria, it returns the collection. 
     * Otherwise if this ProjectDocument is new, it will return
     * an empty collection; or if this ProjectDocument has previously
     * been saved, it will retrieve related ProjectDocumentSections from storage.
     */
    public Vector getProjectDocumentSectionsJoinProjectSection(Criteria criteria) 
        throws Exception
    {
        if (collProjectDocumentSections == null)
        {
            if ( isNew() ) 
            {
               collProjectDocumentSections = new Vector();       
            } 
            else
            {
                   criteria.add(ProjectDocumentSectionPeer.DOCUMENT_ID, getDocumentId() );               
                   collProjectDocumentSections = ProjectDocumentSectionPeer.doSelectJoinProjectSection(criteria);
            }
            
            
        }
        else
        {
            // the following code is to determine if a new query is
            // called for.  If the criteria is the same as the last
            // one, just return the collection.
            boolean newCriteria = true;
                   criteria.add(ProjectDocumentSectionPeer.DOCUMENT_ID, getDocumentId() );               
               if ( !lastProjectDocumentSectionsCriteria.equals(criteria)  )
            {
                collProjectDocumentSections = ProjectDocumentSectionPeer.doSelectJoinProjectSection(criteria);
            }
        }
        lastProjectDocumentSectionsCriteria = criteria; 

        return collProjectDocumentSections;
    }
     



     
    
    private static Vector fieldNames_ = null;

    /**
     * Generate a list of field names.
     */
    public static Vector getFieldNames()
d417 2
a418 2
         DBConnection dbCon = null;
        try
d420 9
a428 4
            dbCon = BasePeer.beginTransaction(
                ProjectDocumentPeer.getMapBuilder()
                .getDatabaseMap().getName());
            save(dbCon);
d430 1
a430 7
        catch(Exception e)
        {
            BasePeer.rollBackTransaction(dbCon);
            throw e;
        }
        BasePeer.commitTransaction(dbCon);

a432 3
      // flag to prevent endless save loop, if this object is referenced
    // by another object which falls in this transaction.
    private boolean alreadyInSave = false;
a441 3
        if (!alreadyInSave)
      {
        alreadyInSave = true;
d455 2
a456 12
                                    
                
          if (collProjectDocumentSections != null )
          {
              for (int i=0; i<collProjectDocumentSections.size(); i++)
              {
                  ((ProjectDocumentSection)collProjectDocumentSections.get(i)).save(dbCon);
              }
          }
                  alreadyInSave = false;
      }
      }
a457 1
                                                                                
d465 1
a465 1
                                                                                                                                                                 ) throws Exception
a502 2
      * It then fills all the association collections and sets the
     * related objects to isNew=true.
d520 1
a520 8
                                  
                
         List v = copyObj.getProjectDocumentSections();
         for (int i=0; i<v.size(); i++)
         {
             ((BaseObject)v.get(i)).setNew(true);
         }
         
@


1.1.2.5
log
@Torque autogen files.
@
text
@d17 1
a17 4
 * This class was autogenerated by Torque on:
 *
 * [Thu Feb 08 17:56:55 PST 2001]
 *
@


1.1.2.6
log
@New Torque-generated classes.  NewsItem replaces ProjectNews.
@
text
@d19 1
a19 1
 * [Fri Feb 09 15:29:27 PST 2001]
@


1.1.2.7
log
@New Torque-generated classes.
@
text
@d19 1
a19 1
 * [Mon Feb 12 16:46:43 PST 2001]
d46 2
a47 2
    /** the value for the proposed_by field */
    private int proposed_by;
d310 1
a310 1
     * Get the ProposedBy
d313 1
a313 1
     public int getProposedBy()
d315 1
a315 1
          return proposed_by;
d320 1
a320 1
     * Set the value of ProposedBy
d322 1
a322 1
     public void setProposedBy(int v ) throws Exception
d324 1
a324 1
                  if ( aUserRelatedByProposedBy != null && !aUserRelatedByProposedBy.isNew())
d332 1
a332 1
           if (this.proposed_by != v)
d334 1
a334 1
              this.proposed_by = v;
d415 2
a416 2
    private User aUserRelatedByProposedBy;
    public void setUserRelatedByProposedBy(User v) throws Exception
d418 3
a420 3
        aUserRelatedByProposedBy = null;
           setProposedBy(v.getUserId());
           aUserRelatedByProposedBy = v;
d424 1
a424 1
    public User getUserRelatedByProposedBy() throws Exception
d426 1
a426 1
        if ( aUserRelatedByProposedBy==null && (this.proposed_by>0) )
d428 1
a428 1
            aUserRelatedByProposedBy = UserPeer.retrieveByPK(this.proposed_by);
d435 2
a436 2
            // User obj = UserPeer.retrieveByPK(this.proposed_by);
            // obj.addProjectDocumentsRelatedByProposedBy(this);
d438 1
a438 1
        return aUserRelatedByProposedBy;
d674 1
a674 1
            fieldNames_.add("ProposedBy");
d726 1
a726 1
            if (name.equals("ProposedBy"))
d728 1
a728 1
	  	    return new Integer(getProposedBy());
d864 1
a864 1
         copyObj.setProposedBy(proposed_by);
@


1.1.2.8
log
@Latest Torque-generated code to handle inheritance based on values in a database field column.
@
text
@d19 1
a19 1
 * [Mon Feb 12 19:03:25 PST 2001]
@


1.1.2.9
log
@Deprecated by Torque modifications.
@
text
@@


