You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by do...@apache.org on 2007/05/01 01:15:18 UTC

svn commit: r533875 [24/30] - in /incubator/felix/sandbox/donsez/upnp.devicegen: ./ doc/ generation/ generation/res/ generation/res/device/ generation/res/service/ manifest/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src...

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/media/service/RenderingControl.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/media/service/RenderingControl.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/media/service/RenderingControl.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/media/service/RenderingControl.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,4091 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.media.service;
+
+import java.util.Dictionary;
+import java.util.HashMap;
+import java.util.Hashtable;
+import java.util.Map;
+
+import org.osgi.framework.*;
+import org.osgi.service.upnp.*;
+import org.apache.felix.upnp.devicegen.util.*;
+import org.apache.felix.upnp.devicegen.holder.*;
+
+import org.apache.felix.upnp.devicegen.media.model.*;
+import org.apache.felix.upnp.devicegen.media.impl.*;
+
+	
+
+public class RenderingControl extends AbstractUPnPService {
+	
+		
+	private RenderingControlModel model;	
+		
+	/**
+	 * constructor
+	 */
+	public RenderingControl(
+		UPnPDevice upnpDevice,
+		String serviceId,
+		String serviceType,
+		String version,
+		RenderingControlModel model
+	){
+		super(	
+			upnpDevice,
+			serviceId,
+			serviceType,
+			version
+		);
+		this.model=model;
+	
+		
+	stateVariables=new HashMap();
+	
+
+	
+	stateVariables.put(
+		"PresetNameList",
+		new PresetNameListStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"LastChange",
+		new LastChangeStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Brightness",
+		new BrightnessStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Contrast",
+		new ContrastStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Sharpness",
+		new SharpnessStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"RedVideoGain",
+		new RedVideoGainStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"GreenVideoGain",
+		new GreenVideoGainStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"BlueVideoGain",
+		new BlueVideoGainStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"RedVideoBlackLevel",
+		new RedVideoBlackLevelStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"GreenVideoBlackLevel",
+		new GreenVideoBlackLevelStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"BlueVideoBlackLevel",
+		new BlueVideoBlackLevelStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"ColorTemperature",
+		new ColorTemperatureStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"HorizontalKeystone",
+		new HorizontalKeystoneStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"VerticalKeystone",
+		new VerticalKeystoneStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Mute",
+		new MuteStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Volume",
+		new VolumeStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"VolumeDB",
+		new VolumeDBStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Loudness",
+		new LoudnessStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"A_ARG_TYPE_Channel",
+		new A_ARG_TYPE_ChannelStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"A_ARG_TYPE_InstanceID",
+		new A_ARG_TYPE_InstanceIDStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"A_ARG_TYPE_PresetName",
+		new A_ARG_TYPE_PresetNameStateVariable(this,model)
+	);
+
+	actions=new HashMap();
+	
+
+
+	actions.put(
+		"ListPresets",
+		new ListPresetsAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SelectPreset",
+		new SelectPresetAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetBrightness",
+		new GetBrightnessAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetBrightness",
+		new SetBrightnessAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetContrast",
+		new GetContrastAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetContrast",
+		new SetContrastAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetSharpness",
+		new GetSharpnessAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetSharpness",
+		new SetSharpnessAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetRedVideoGain",
+		new GetRedVideoGainAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetRedVideoGain",
+		new SetRedVideoGainAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetGreenVideoGain",
+		new GetGreenVideoGainAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetGreenVideoGain",
+		new SetGreenVideoGainAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetBlueVideoGain",
+		new GetBlueVideoGainAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetBlueVideoGain",
+		new SetBlueVideoGainAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetRedVideoBlackLevel",
+		new GetRedVideoBlackLevelAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetRedVideoBlackLevel",
+		new SetRedVideoBlackLevelAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetGreenVideoBlackLevel",
+		new GetGreenVideoBlackLevelAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetGreenVideoBlackLevel",
+		new SetGreenVideoBlackLevelAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetBlueVideoBlackLevel",
+		new GetBlueVideoBlackLevelAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetBlueVideoBlackLevel",
+		new SetBlueVideoBlackLevelAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetColorTemperature",
+		new GetColorTemperatureAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetColorTemperature",
+		new SetColorTemperatureAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetHorizontalKeystone",
+		new GetHorizontalKeystoneAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetHorizontalKeystone",
+		new SetHorizontalKeystoneAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetVerticalKeystone",
+		new GetVerticalKeystoneAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetVerticalKeystone",
+		new SetVerticalKeystoneAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetMute",
+		new GetMuteAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetMute",
+		new SetMuteAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetVolume",
+		new GetVolumeAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetVolume",
+		new SetVolumeAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetVolumeDB",
+		new GetVolumeDBAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetVolumeDB",
+		new SetVolumeDBAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetVolumeDBRange",
+		new GetVolumeDBRangeAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetLoudness",
+		new GetLoudnessAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetLoudness",
+		new SetLoudnessAction(this,model)
+	);
+	
+	}
+
+	// UPnPStateVariable classes
+	
+	
+
+// class PresetNameListStateVariable
+public class PresetNameListStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="PresetNameList";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public PresetNameListStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class LastChangeStateVariable
+public class LastChangeStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="LastChange";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public LastChangeStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	true,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	
+		return model.getLastChangeStateVariableValue();
+		
+	}
+};
+
+
+// class BrightnessStateVariable
+public class BrightnessStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Brightness";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public BrightnessStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class ContrastStateVariable
+public class ContrastStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Contrast";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public ContrastStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class SharpnessStateVariable
+public class SharpnessStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Sharpness";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public SharpnessStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class RedVideoGainStateVariable
+public class RedVideoGainStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="RedVideoGain";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public RedVideoGainStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class GreenVideoGainStateVariable
+public class GreenVideoGainStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="GreenVideoGain";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public GreenVideoGainStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class BlueVideoGainStateVariable
+public class BlueVideoGainStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="BlueVideoGain";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public BlueVideoGainStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class RedVideoBlackLevelStateVariable
+public class RedVideoBlackLevelStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="RedVideoBlackLevel";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public RedVideoBlackLevelStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class GreenVideoBlackLevelStateVariable
+public class GreenVideoBlackLevelStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="GreenVideoBlackLevel";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public GreenVideoBlackLevelStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class BlueVideoBlackLevelStateVariable
+public class BlueVideoBlackLevelStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="BlueVideoBlackLevel";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public BlueVideoBlackLevelStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class ColorTemperatureStateVariable
+public class ColorTemperatureStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="ColorTemperature";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public ColorTemperatureStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class HorizontalKeystoneStateVariable
+public class HorizontalKeystoneStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="HorizontalKeystone";
+	public final static String DATATYPE="i2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public HorizontalKeystoneStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class VerticalKeystoneStateVariable
+public class VerticalKeystoneStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="VerticalKeystone";
+	public final static String DATATYPE="i2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public VerticalKeystoneStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class MuteStateVariable
+public class MuteStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Mute";
+	public final static String DATATYPE="boolean";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public MuteStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class VolumeStateVariable
+public class VolumeStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Volume";
+	public final static String DATATYPE="ui2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public VolumeStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class VolumeDBStateVariable
+public class VolumeDBStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="VolumeDB";
+	public final static String DATATYPE="i2";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public VolumeDBStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class LoudnessStateVariable
+public class LoudnessStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Loudness";
+	public final static String DATATYPE="boolean";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public LoudnessStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class A_ARG_TYPE_ChannelStateVariable
+public class A_ARG_TYPE_ChannelStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="A_ARG_TYPE_Channel";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public A_ARG_TYPE_ChannelStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	/*
+		List allowedValueList=new LinkedList();
+		
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","Master"));
+
+		this.setallowedValueList(allowedValueList);
+	*/
+
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class A_ARG_TYPE_InstanceIDStateVariable
+public class A_ARG_TYPE_InstanceIDStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="A_ARG_TYPE_InstanceID";
+	public final static String DATATYPE="ui4";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public A_ARG_TYPE_InstanceIDStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+
+
+// class A_ARG_TYPE_PresetNameStateVariable
+public class A_ARG_TYPE_PresetNameStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="A_ARG_TYPE_PresetName";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private RenderingControlModel model;
+	
+	public A_ARG_TYPE_PresetNameStateVariable(
+		UPnPService upnpService,
+		RenderingControlModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 
+					null, // TODO maximum changed for 
+					// sendEventsAttribute
+	false,
+					true  // TODO required changed for  OR 
+		);
+		
+		this.model=model;
+
+		
+	/*
+		List allowedValueList=new LinkedList();
+		
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","FactoryDefaults"));
+
+		this.setallowedValueList(allowedValueList);
+	*/
+
+	}
+	
+	// TODO
+	
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+			
+	/**
+	 * invoked for the first notification just after a subscription
+	 * @see it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor#getValue()
+	 */
+	public Object getValue(){
+	return null;
+	}
+};
+	
+
+	// UPnPAction classes
+	
+	
+
+public class ListPresetsAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public ListPresetsAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"ListPresets",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentPresetNameList",
+				upnpService.getStateVariable("PresetNameList")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		StringHolder currentPresetNameList = new StringHolder();
+		
+
+		// invoke model
+		
+		 model.listPresets(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentPresetNameList
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentPresetNameList",currentPresetNameList.getObject());
+			// java.lang.String
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SelectPresetAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SelectPresetAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SelectPreset",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"PresetName",
+				upnpService.getStateVariable("A_ARG_TYPE_PresetName")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String presetName = (java.lang.String) _args.get("PresetName");
+		
+
+		// invoke model
+		
+		 model.selectPreset(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			presetName)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetBrightnessAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetBrightnessAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetBrightness",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentBrightness",
+				upnpService.getStateVariable("Brightness")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentBrightness = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getBrightness(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentBrightness
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentBrightness",currentBrightness.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetBrightnessAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetBrightnessAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetBrightness",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredBrightness",
+				upnpService.getStateVariable("Brightness")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredBrightness = (java.lang.Integer) _args.get("DesiredBrightness");
+		
+
+		// invoke model
+		
+		 model.setBrightness(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredBrightness)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetContrastAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetContrastAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetContrast",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentContrast",
+				upnpService.getStateVariable("Contrast")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentContrast = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getContrast(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentContrast
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentContrast",currentContrast.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetContrastAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetContrastAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetContrast",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredContrast",
+				upnpService.getStateVariable("Contrast")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredContrast = (java.lang.Integer) _args.get("DesiredContrast");
+		
+
+		// invoke model
+		
+		 model.setContrast(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredContrast)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetSharpnessAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetSharpnessAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetSharpness",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentSharpness",
+				upnpService.getStateVariable("Sharpness")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentSharpness = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getSharpness(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentSharpness
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentSharpness",currentSharpness.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetSharpnessAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetSharpnessAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetSharpness",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredSharpness",
+				upnpService.getStateVariable("Sharpness")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredSharpness = (java.lang.Integer) _args.get("DesiredSharpness");
+		
+
+		// invoke model
+		
+		 model.setSharpness(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredSharpness)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetRedVideoGainAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetRedVideoGainAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetRedVideoGain",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentRedVideoGain",
+				upnpService.getStateVariable("RedVideoGain")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentRedVideoGain = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getRedVideoGain(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentRedVideoGain
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentRedVideoGain",currentRedVideoGain.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetRedVideoGainAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetRedVideoGainAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetRedVideoGain",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredRedVideoGain",
+				upnpService.getStateVariable("RedVideoGain")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredRedVideoGain = (java.lang.Integer) _args.get("DesiredRedVideoGain");
+		
+
+		// invoke model
+		
+		 model.setRedVideoGain(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredRedVideoGain)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetGreenVideoGainAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetGreenVideoGainAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetGreenVideoGain",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentGreenVideoGain",
+				upnpService.getStateVariable("GreenVideoGain")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentGreenVideoGain = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getGreenVideoGain(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentGreenVideoGain
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentGreenVideoGain",currentGreenVideoGain.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetGreenVideoGainAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetGreenVideoGainAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetGreenVideoGain",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredGreenVideoGain",
+				upnpService.getStateVariable("GreenVideoGain")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredGreenVideoGain = (java.lang.Integer) _args.get("DesiredGreenVideoGain");
+		
+
+		// invoke model
+		
+		 model.setGreenVideoGain(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredGreenVideoGain)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetBlueVideoGainAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetBlueVideoGainAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetBlueVideoGain",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentBlueVideoGain",
+				upnpService.getStateVariable("BlueVideoGain")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentBlueVideoGain = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getBlueVideoGain(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentBlueVideoGain
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentBlueVideoGain",currentBlueVideoGain.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetBlueVideoGainAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetBlueVideoGainAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetBlueVideoGain",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredBlueVideoGain",
+				upnpService.getStateVariable("BlueVideoGain")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredBlueVideoGain = (java.lang.Integer) _args.get("DesiredBlueVideoGain");
+		
+
+		// invoke model
+		
+		 model.setBlueVideoGain(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredBlueVideoGain)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetRedVideoBlackLevelAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetRedVideoBlackLevelAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetRedVideoBlackLevel",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentRedVideoBlackLevel",
+				upnpService.getStateVariable("RedVideoBlackLevel")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentRedVideoBlackLevel = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getRedVideoBlackLevel(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentRedVideoBlackLevel
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentRedVideoBlackLevel",currentRedVideoBlackLevel.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetRedVideoBlackLevelAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetRedVideoBlackLevelAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetRedVideoBlackLevel",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredRedVideoBlackLevel",
+				upnpService.getStateVariable("RedVideoBlackLevel")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredRedVideoBlackLevel = (java.lang.Integer) _args.get("DesiredRedVideoBlackLevel");
+		
+
+		// invoke model
+		
+		 model.setRedVideoBlackLevel(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredRedVideoBlackLevel)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetGreenVideoBlackLevelAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetGreenVideoBlackLevelAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetGreenVideoBlackLevel",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentGreenVideoBlackLevel",
+				upnpService.getStateVariable("GreenVideoBlackLevel")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentGreenVideoBlackLevel = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getGreenVideoBlackLevel(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentGreenVideoBlackLevel
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentGreenVideoBlackLevel",currentGreenVideoBlackLevel.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetGreenVideoBlackLevelAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetGreenVideoBlackLevelAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetGreenVideoBlackLevel",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredGreenVideoBlackLevel",
+				upnpService.getStateVariable("GreenVideoBlackLevel")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredGreenVideoBlackLevel = (java.lang.Integer) _args.get("DesiredGreenVideoBlackLevel");
+		
+
+		// invoke model
+		
+		 model.setGreenVideoBlackLevel(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredGreenVideoBlackLevel)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetBlueVideoBlackLevelAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetBlueVideoBlackLevelAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetBlueVideoBlackLevel",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentBlueVideoBlackLevel",
+				upnpService.getStateVariable("BlueVideoBlackLevel")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentBlueVideoBlackLevel = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getBlueVideoBlackLevel(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentBlueVideoBlackLevel
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentBlueVideoBlackLevel",currentBlueVideoBlackLevel.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetBlueVideoBlackLevelAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetBlueVideoBlackLevelAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetBlueVideoBlackLevel",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredBlueVideoBlackLevel",
+				upnpService.getStateVariable("BlueVideoBlackLevel")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredBlueVideoBlackLevel = (java.lang.Integer) _args.get("DesiredBlueVideoBlackLevel");
+		
+
+		// invoke model
+		
+		 model.setBlueVideoBlackLevel(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredBlueVideoBlackLevel)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetColorTemperatureAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetColorTemperatureAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetColorTemperature",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentColorTemperature",
+				upnpService.getStateVariable("ColorTemperature")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentColorTemperature = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getColorTemperature(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentColorTemperature
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentColorTemperature",currentColorTemperature.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetColorTemperatureAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetColorTemperatureAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetColorTemperature",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredColorTemperature",
+				upnpService.getStateVariable("ColorTemperature")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredColorTemperature = (java.lang.Integer) _args.get("DesiredColorTemperature");
+		
+
+		// invoke model
+		
+		 model.setColorTemperature(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredColorTemperature)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetHorizontalKeystoneAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetHorizontalKeystoneAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetHorizontalKeystone",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentHorizontalKeystone",
+				upnpService.getStateVariable("HorizontalKeystone")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentHorizontalKeystone = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getHorizontalKeystone(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentHorizontalKeystone
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentHorizontalKeystone",currentHorizontalKeystone.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetHorizontalKeystoneAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetHorizontalKeystoneAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetHorizontalKeystone",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredHorizontalKeystone",
+				upnpService.getStateVariable("HorizontalKeystone")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredHorizontalKeystone = (java.lang.Integer) _args.get("DesiredHorizontalKeystone");
+		
+
+		// invoke model
+		
+		 model.setHorizontalKeystone(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredHorizontalKeystone)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetVerticalKeystoneAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetVerticalKeystoneAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetVerticalKeystone",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addOutArg(
+				"CurrentVerticalKeystone",
+				upnpService.getStateVariable("VerticalKeystone")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		IntegerHolder currentVerticalKeystone = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getVerticalKeystone(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+currentVerticalKeystone
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentVerticalKeystone",currentVerticalKeystone.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetVerticalKeystoneAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetVerticalKeystoneAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetVerticalKeystone",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"DesiredVerticalKeystone",
+				upnpService.getStateVariable("VerticalKeystone")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.Integer desiredVerticalKeystone = (java.lang.Integer) _args.get("DesiredVerticalKeystone");
+		
+
+		// invoke model
+		
+		 model.setVerticalKeystone(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+IntegerHolder.toValue(
+			desiredVerticalKeystone)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetMuteAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetMuteAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetMute",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addOutArg(
+				"CurrentMute",
+				upnpService.getStateVariable("Mute")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		BooleanHolder currentMute = new BooleanHolder();
+		
+
+		// invoke model
+		
+		 model.getMute(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+currentMute
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentMute",currentMute.getObject());
+			// java.lang.Boolean
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetMuteAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetMuteAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetMute",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addInArg(
+				"DesiredMute",
+				upnpService.getStateVariable("Mute")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		java.lang.Boolean desiredMute = (java.lang.Boolean) _args.get("DesiredMute");
+		
+
+		// invoke model
+		
+		 model.setMute(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+BooleanHolder.toValue(
+			desiredMute)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetVolumeAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetVolumeAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetVolume",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addOutArg(
+				"CurrentVolume",
+				upnpService.getStateVariable("Volume")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		IntegerHolder currentVolume = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getVolume(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+currentVolume
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentVolume",currentVolume.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetVolumeAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetVolumeAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetVolume",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addInArg(
+				"DesiredVolume",
+				upnpService.getStateVariable("Volume")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		java.lang.Integer desiredVolume = (java.lang.Integer) _args.get("DesiredVolume");
+		
+
+		// invoke model
+		
+		 model.setVolume(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+IntegerHolder.toValue(
+			desiredVolume)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetVolumeDBAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetVolumeDBAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetVolumeDB",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addOutArg(
+				"CurrentVolume",
+				upnpService.getStateVariable("VolumeDB")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		IntegerHolder currentVolume = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getVolumeDB(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+currentVolume
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentVolume",currentVolume.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetVolumeDBAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetVolumeDBAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetVolumeDB",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addInArg(
+				"DesiredVolume",
+				upnpService.getStateVariable("VolumeDB")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		java.lang.Integer desiredVolume = (java.lang.Integer) _args.get("DesiredVolume");
+		
+
+		// invoke model
+		
+		 model.setVolumeDB(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+IntegerHolder.toValue(
+			desiredVolume)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetVolumeDBRangeAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetVolumeDBRangeAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetVolumeDBRange",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addOutArg(
+				"MinValue",
+				upnpService.getStateVariable("VolumeDB")
+			);
+		
+			addOutArg(
+				"MaxValue",
+				upnpService.getStateVariable("VolumeDB")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		IntegerHolder minValue = new IntegerHolder();
+		IntegerHolder maxValue = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getVolumeDBRange(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+minValue,
+
+maxValue
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("MinValue",minValue.getObject());
+			// java.lang.Integer
+			_result.put("MaxValue",maxValue.getObject());
+			// java.lang.Integer
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetLoudnessAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public GetLoudnessAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"GetLoudness",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addOutArg(
+				"CurrentLoudness",
+				upnpService.getStateVariable("Loudness")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		BooleanHolder currentLoudness = new BooleanHolder();
+		
+
+		// invoke model
+		
+		 model.getLoudness(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+currentLoudness
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentLoudness",currentLoudness.getObject());
+			// java.lang.Boolean
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class SetLoudnessAction extends AbstractUPnPAction {
+
+	RenderingControlModel model;
+	
+	// HERE specific action members
+	
+	public SetLoudnessAction(
+	    UPnPService upnpService,
+		RenderingControlModel model
+	){
+		super(
+			upnpService,
+			"SetLoudness",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"InstanceID",
+				upnpService.getStateVariable("A_ARG_TYPE_InstanceID")
+			);
+		
+			addInArg(
+				"Channel",
+				upnpService.getStateVariable("A_ARG_TYPE_Channel")
+			);
+		
+			addInArg(
+				"DesiredLoudness",
+				upnpService.getStateVariable("Loudness")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Long instanceID = (java.lang.Long) _args.get("InstanceID");
+		java.lang.String channel = (java.lang.String) _args.get("Channel");
+		java.lang.Boolean desiredLoudness = (java.lang.Boolean) _args.get("DesiredLoudness");
+		
+
+		// invoke model
+		
+		 model.setLoudness(
+			LongHolder.toValue(
+			instanceID)
+		,
+
+StringHolder.toValue(
+			channel)
+		,
+
+BooleanHolder.toValue(
+			desiredLoudness)
+		
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+	
+}

Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/media/service/RenderingControl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/ogd/device/OSGiGatewayDevice.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/ogd/device/OSGiGatewayDevice.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/ogd/device/OSGiGatewayDevice.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/ogd/device/OSGiGatewayDevice.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,128 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.ogd.device;
+
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+
+import org.osgi.framework.BundleContext;
+import org.osgi.service.upnp.UPnPDevice;
+import org.osgi.service.upnp.UPnPIcon;
+import org.osgi.service.upnp.UPnPService;
+
+import org.apache.felix.upnp.devicegen.util.AbstractUPnPDevice;
+import org.apache.felix.upnp.devicegen.util.DeviceIcon;
+
+import org.apache.felix.upnp.devicegen.ogd.model.*;
+import org.apache.felix.upnp.devicegen.ogd.service.*;
+import org.apache.felix.upnp.devicegen.ogd.impl.*;
+
+
+	
+
+public class OSGiGatewayDevice extends AbstractUPnPDevice {
+
+	public OSGiGatewayDevice(BundleContext context, AbstractUPnPDevice parent) {
+		super(context,parent);
+
+		DEVICE_ID="uuid:osgi-gateway";
+
+		// ServiceModel Declaration List
+		BundleAdminModel myBundleAdminModel=null; // TODO initialise it
+
+		
+		// Icon Lists
+		
+		List iconsList=new LinkedList();
+	
+		iconsList.add(
+				new DeviceIcon(
+					"image/png", // MimeType
+					25, //Width
+					35, // Height
+					0, // ??
+					16, // Depth
+					"/icon/ogd25.png", // URL
+					OSGiGatewayDevice.class.getClassLoader()
+				)
+		);
+
+		iconsList.add(
+				new DeviceIcon(
+					"image/png", // MimeType
+					50, //Width
+					70, // Height
+					0, // ??
+					16, // Depth
+					"/icon/ogd.png", // URL
+					OSGiGatewayDevice.class.getClassLoader()
+				)
+		);
+
+		icons=(UPnPIcon[])iconsList.toArray(new UPnPIcon[]{});
+
+
+		// Service List
+		
+		List servicesList=new LinkedList();
+	
+	
+		/*
+				SCPDURL=URL to service description
+				controlURL=URL for control
+				eventSubURL=URL for eventing
+		*/
+		servicesList.add(
+				new BundleAdmin(
+						this,
+						"urn:osgi-org:serviceId:BundleAdmin:1",
+						"urn:osgi-org:service:BundleAdmin:1",
+						"1",
+						myBundleAdminModel									
+				)
+			);				
+
+		services=(UPnPService[])servicesList.toArray(new UPnPService[]{});
+
+
+		// Embedded Device List
+			
+		//children=new LinkedList();
+		
+	
+	}
+	
+	protected void setupDeviceProperties(){	
+		dictionary.put(UPnPDevice.TYPE,"urn:osgi-org:device:OSGiGatewayDevice:1");
+		dictionary.put(UPnPDevice.FRIENDLY_NAME,"OSGi Gateway UPnP Device");
+		dictionary.put(UPnPDevice.MANUFACTURER,"Didier Donsez (Felix team)");
+		dictionary.put(UPnPDevice.MANUFACTURER_URL,"http://www.apache.org/~donsez");
+		dictionary.put(UPnPDevice.MODEL_DESCRIPTION,"a simple OSGi Gateway UPnP Device");
+		dictionary.put(UPnPDevice.MODEL_NAME,"UPNPOGD");
+		dictionary.put(UPnPDevice.MODEL_NUMBER,"123");
+		dictionary.put(UPnPDevice.MODEL_URL,"http://www.apache.org/~donsez/dev/osgi/upnpogd/readme.html");
+		dictionary.put(UPnPDevice.SERIAL_NUMBER,"123456789");
+		dictionary.put(UPnPDevice.UDN,getUDN());
+		dictionary.put(UPnPDevice.ID,dictionary.get(UPnPDevice.UDN));
+		dictionary.put(UPnPDevice.UPC,"upc:osgi-gateway");
+		dictionary.put(UPnPDevice.PRESENTATION_URL,"http://www.apache.org/~donsez/dev/osgi/upnpogd/readme.html");		
+
+		if(parent!=null) {
+			dictionary.put(UPnPDevice.PARENT_UDN,parent.getUDN());
+		}
+		
+		if(children!=null && children.size()!=0){
+			String[] childrenUDN=new String[children.size()];
+			Iterator iter=children.iterator();
+			for(int i=0;iter.hasNext();i++){
+				childrenUDN[i]=((AbstractUPnPDevice)iter.next()).getUDN();
+			}
+			dictionary.put(UPnPDevice.CHILDREN_UDN,childrenUDN);
+		}
+		
+	}
+}

Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/ogd/device/OSGiGatewayDevice.java
------------------------------------------------------------------------------
    svn:eol-style = native