hector-client/hector — pull request #503 by vaidhy (2012-08-10 13:56:55+00:00)
Title: Handle Composite's name serialization properly

When a composite is serialized and then deserialized, the components of composite are typed as ByteBuffer. This patch enables the use of right kind of serializers for composite.

This patch contains the following:

1. When a composite is constructed or components are added, the serializer list is initialized properly.
2. CompositeSerializer stores the list of serializers, so that the same serializers can be applied while deserializing.
3. CompositeSerializer now includes methods to set the serializers, so that query results can be constructed properly.
4. Remove the singleton CompositeSerializer since it would contain instance specific data (serializer list)
5. Test cases to test the new CompositeSerializer