hello Aliaksandr,
I'll take a look at applying this, but I need to confer with the other
developers first, perhaps we need to be careful with password fields etc..
thanks!
-- Wouter
> While JIRA is down I will post it here...
>
> Generated Hibernate entities are beautiful, but may be a good 'toString'
> method would be a plus?
> Something like this:
>
> public String toString()
> {
> return new org.apache.commons.lang.builder.ToStringBuilder(this).
> #set ($identifiers = $entity.getIdentifiers())
> #set ($attributes = $entity.getAttributes(true, false))
> #foreach ($identifier in $identifiers)
> append("${identifier.name}", ${identifier.getterName}()).
> #end
> #foreach ($attribute in $attributes)
> append("${attribute.name}", ${attribute.getterName}()).
> #end
> toString();
> }
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
> _______________________________________________
> Andromda-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/andromda-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel