public void setState ( Object context , String name , Object value ) { StateInformation si = stateInformation . get ( name ) ; if ( si == null ) { si = new StateInformation ( ) ; stateInformation . put ( name , si ) ; } si . set ( context , value ) ; }
This method stores state information associated with the name and optional context .