On Wed, 10 Jan 2001, you wrote:
> Hi,  In the JobEntry.java 
>     
>    [ PATCH ]
> 
>     Line 548 - 560   ,   The PrimaryKey is a Object .
> 
>     /**
>      * Compare this Job with another.
>      *
>      * @param je The JobEntry object to compare to.
>      * @return True if they're the same.
>      */
>     public boolean equals(Object je)
>     {
>         if ( !( je instanceof JobEntry ) )
>             return false;
> 
> +      return ( (JobEntry) je ).getPrimaryKey().equals(this.getPrimaryKey() )
> -      return ( ( (JobEntry)je ).getPrimaryKey() == this.getPrimaryKey() );
>     }

Actually the primary key is an int so I think this should be
getPrimaryKeyAsInt().  But I haven't worked on this in a while so I need to take
a closer look.


>    [PROPOSAL]
> 
>    In case of a schedule_job class uses by many permitted user , 
>    I need to have more information to initialized the each job event.
> 
>    So I propose that The JobEntry object has a Hashtable as a job property container.
>    like

Sure, that sounds good.  I'll try to add these changes later today if no one
else has any objections.

-- 
Dave Bryson
[EMAIL PROTECTED]
----------------------



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to