Hi,

> -----Urspr�ngliche Nachricht-----
> Von: Andrey Chernyh [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 3. September 2002 10:41
> An: OJB Users List
> Betreff: getters/setters naming question
> 
> 
> Hello!
> 
> I have field named "default"
> I use
> PersistentFieldClass=org.apache.ojb.broker.metadata.Persistent
> FieldPropertyImpl in OJB.properties
> 
> I want my access methods to be called
> isDefault()
> setDefault(),
> but now I must call them setIsDefault() and getIsDefailt() because of
> PersistentFieldClass rules.

Not because of our rules but because of JavaBeans rules.

> 
> Is there any solution for this case?

You use a BeanInfo class to declare spcif getter/setter methods.

cheers,
Thomas

> Is it possible to use different PersistentFieldClass settings for
> different classes?
> 
> Thanks.
> 
> 
> -- 
> Best regards,
>  Andrey                            mailto:[EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to