updated code to add the visitor pattern for the different entity items
used by green dao. also added updated to follow this pattern to actual
green dao generated files.