private Map < String , Object > toMap ( CompositeData value ) { Map < String , Object > data = new HashMap < String , Object > ( ) ; for ( String key : value . getCompositeType ( ) . keySet ( ) ) { data . put ( key , value . get ( key ) ) ; } return data ; }
Returns the CompositeData value as a Map .