I want to implement some object container like java bean does,for example: I have several objects like pig,apple,dog....which may be constructed and used in my framewrok.