Thanks Mark, Its java.  So far people keep recommending me what I am
already doing (delegation) which is itself not maintainable.  Sounds
like there is a need for a code generator to generate the delegation
of those methods you want to expose :-}

On Jan 18, 2:17 am, Marc Gravell <> wrote:
> What language are you using? In C#, "partial classes" are a viable way
> of adding extra logic into generated classes - the protobuf-net
> generator allows this fairly well. In the more general sense, consider
> encapsulation over inheritance, or simply keep the two separate (for
> example, passing the generated object into static methods defined in
> the business class etc),
> Marc Gravell
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to