db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leandro Rodrigo Saad Cruz <lean...@ibnetwork.com.br>
Subject RE: Argument Cosntructor not used anymore ?
Date Thu, 03 Apr 2003 12:48:35 GMT
I think we should provide this functionality (using user defined
constructors) to help the developer enforce business rules.

Supose a User should be part of a Domain. The best way to enforce this
constrain is using a pulic constructor

public User(int domain_id)
{

}

May I work on this ??

On Thu, 2003-04-03 at 04:20, Mahler Thomas wrote:
> No, I think it's not longer used. a no argument constructor is sufficient.
> 
> > -----Original Message-----
> > From: Leandro Rodrigo Saad Cruz [mailto:leandro@ibnetwork.com.br]
> > Sent: Thursday, April 03, 2003 5:01 AM
> > To: OJB Dev "Mailing List (E-mail)
> > Subject: Argument Cosntructor not used anymore ?
> > 
> > 
> > Are we still using multi-argument constructors to build objects on
> > RowReaderDefaultImpl ?
> > Why ?
> > 
> > -- 
> > Leandro Rodrigo Saad Cruz
> > IT - Inter Business Tecnologia e Servicos (IB)
> > http://www.ibnetwork.com.br
> > http://jakarta.apache.org/ojb
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-dev-help@db.apache.org
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


Mime
View raw message