Difference between revisions of "Code Discussion 2009-05-25"
Jump to navigation
Jump to search
Haarlaender (talk | contribs) m (New page: =Previous topic= Previous topic 2009-04-18 == Intelligent Value Objects == =Next topic= Next topic 2009-06-08 [[Ca...) |
Haarlaender (talk | contribs) |
||
Line 3: | Line 3: | ||
== Intelligent Value Objects == | == Intelligent Value Objects == | ||
===Example: User Groups=== | |||
*Example class diagram for an intelligent UserGroup VO | |||
[[{{ns:image}}:Intelligent_vo_classes.png]] | |||
*VO contains standard getters and setters | |||
*Additionally: Static inner factory class for calling coreservice methods and processing XML transformations | |||
*Additionally: object methods that call the factory methods | |||
**Easier handling of VO objects | |||
*Advantages: | |||
**User does not have to struggle with XML transformation and coreservice methods | |||
**Less code | |||
Revision as of 08:49, 25 May 2009
Previous topic[edit]
Intelligent Value Objects[edit]
Example: User Groups[edit]
- Example class diagram for an intelligent UserGroup VO
- VO contains standard getters and setters
- Additionally: Static inner factory class for calling coreservice methods and processing XML transformations
- Additionally: object methods that call the factory methods
- Easier handling of VO objects
- Advantages:
- User does not have to struggle with XML transformation and coreservice methods
- Less code