( ( OptionsInfo ) infoMap.get( nameOfOption ) ).setDescription( description ); ( ( OptionsInfo ) infoMap.get( nameOfOption ) ).setSectionToAppear( sectionToAppear ); ( ( OptionsInfo ) infoMap.get( nameOfOption ) ).setOptionType( optionType );
OptionsInfo optionInfo = ( ( OptionsInfo ) infoMap.get( nameOfOption ) ); optionInfo.setDescription( description ); optionInfo.setSectionToAppear( sectionToAppear ); optionInfo.setOptionType( optionType );
	public void readGeneralOptionDetails( MessageBuffer messageBuffer ) {		/*		 * String  	 Section where Option should appear 		 * String  	 Description 		 * String  	 Name of Option 		 * OptionType  	 The Type of the Option (to select which widget to use)		 */		 String sectionToAppear = messageBuffer.readString();		 String description = messageBuffer.readString();		 String nameOfOption = messageBuffer.readString();		 byte optionType = messageBuffer.readByte();		 		 /*		  * now get the specific Option and set the values:		  */		( ( OptionsInfo ) infoMap.get( nameOfOption ) ).setDescription( description );		( ( OptionsInfo ) infoMap.get( nameOfOption ) ).setSectionToAppear( sectionToAppear );		( ( OptionsInfo ) infoMap.get( nameOfOption ) ).setOptionType( optionType );		 	}