It's not a secret anymore!*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Pattern to hold list of objects attribute name, value and data type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Pattern to hold list of objects attribute name, value and data type" Watch "Pattern to hold list of objects attribute name, value and data type" New topic
Author

Pattern to hold list of objects attribute name, value and data type

Mat Michel
Greenhorn

Joined: Mar 03, 2011
Posts: 2
Hi

I am not sure what could be exact name for this type of pattern.

My problem is : We have set of java bean classes having various type of attributes and values, we need some kind of generic pattern using which we can
provide single method to xml or any other format to print java beans attribute name and value.

thanks,
Mat
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Read documentation for Decorator design pattern (if you are unable to add a method directly to your JavaBean classes.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pattern to hold list of objects attribute name, value and data type