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 [26/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/position/service/PositionSensor.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/position/service/PositionSensor.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/position/service/PositionSensor.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/position/service/PositionSensor.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,896 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.position.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.position.model.*;
+import org.apache.felix.upnp.devicegen.position.impl.*;
+
+	
+
+public class PositionSensor extends AbstractUPnPService {
+	
+		
+	private PositionSensorModel model;	
+		
+	/**
+	 * constructor
+	 */
+	public PositionSensor(
+		UPnPDevice upnpDevice,
+		String serviceId,
+		String serviceType,
+		String version,
+		PositionSensorModel model
+	){
+		super(	
+			upnpDevice,
+			serviceId,
+			serviceType,
+			version
+		);
+		this.model=model;
+	
+		
+	stateVariables=new HashMap();
+	
+
+	
+	stateVariables.put(
+		"CurrentLatitude",
+		new CurrentLatitudeStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"CurrentLongitude",
+		new CurrentLongitudeStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"CurrentAltitude",
+		new CurrentAltitudeStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"CurrentSpeed",
+		new CurrentSpeedStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"CurrentTrack",
+		new CurrentTrackStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Timestamp",
+		new TimestampStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Name",
+		new NameStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Method",
+		new MethodStateVariable(this,model)
+	);
+
+	actions=new HashMap();
+	
+
+
+	actions.put(
+		"GetCurrentPosition",
+		new GetCurrentPositionAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetName",
+		new GetNameAction(this,model)
+	);
+
+
+
+	actions.put(
+		"SetName",
+		new SetNameAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetMethod",
+		new GetMethodAction(this,model)
+	);
+	
+	}
+
+	// UPnPStateVariable classes
+	
+	
+
+// class CurrentLatitudeStateVariable
+public class CurrentLatitudeStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="CurrentLatitude";
+	public final static String DATATYPE="float";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public CurrentLatitudeStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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.getCurrentLatitudeStateVariableValue();
+		
+	}
+};
+
+
+// class CurrentLongitudeStateVariable
+public class CurrentLongitudeStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="CurrentLongitude";
+	public final static String DATATYPE="float";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public CurrentLongitudeStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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.getCurrentLongitudeStateVariableValue();
+		
+	}
+};
+
+
+// class CurrentAltitudeStateVariable
+public class CurrentAltitudeStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="CurrentAltitude";
+	public final static String DATATYPE="float";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public CurrentAltitudeStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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.getCurrentAltitudeStateVariableValue();
+		
+	}
+};
+
+
+// class CurrentSpeedStateVariable
+public class CurrentSpeedStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="CurrentSpeed";
+	public final static String DATATYPE="float";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public CurrentSpeedStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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.getCurrentSpeedStateVariableValue();
+		
+	}
+};
+
+
+// class CurrentTrackStateVariable
+public class CurrentTrackStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="CurrentTrack";
+	public final static String DATATYPE="float";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public CurrentTrackStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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.getCurrentTrackStateVariableValue();
+		
+	}
+};
+
+
+// class TimestampStateVariable
+public class TimestampStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="Timestamp";
+	public final static String DATATYPE="dateTime";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public TimestampStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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.getTimestampStateVariableValue();
+		
+	}
+};
+
+
+// class NameStateVariable
+public class NameStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Name";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public NameStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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 MethodStateVariable
+public class MethodStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Method";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PositionSensorModel model;
+	
+	public MethodStateVariable(
+		UPnPService upnpService,
+		PositionSensorModel 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","sattelite"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","rfid"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","cellular"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","magnetic"));
+
+		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 GetCurrentPositionAction extends AbstractUPnPAction {
+
+	PositionSensorModel model;
+	
+	// HERE specific action members
+	
+	public GetCurrentPositionAction(
+	    UPnPService upnpService,
+		PositionSensorModel model
+	){
+		super(
+			upnpService,
+			"GetCurrentPosition",
+			""
+		);
+		this.model=model;
+		
+			addOutArg(
+				"CurrentLatitude",
+				upnpService.getStateVariable("CurrentLatitude")
+			);
+		
+			addOutArg(
+				"CurrentLongitude",
+				upnpService.getStateVariable("CurrentLongitude")
+			);
+		
+			addOutArg(
+				"CurrentAltitude",
+				upnpService.getStateVariable("CurrentAltitude")
+			);
+		
+			addOutArg(
+				"CurrentSpeed",
+				upnpService.getStateVariable("CurrentSpeed")
+			);
+		
+			addOutArg(
+				"CurrentTrack",
+				upnpService.getStateVariable("CurrentTrack")
+			);
+		
+			addOutArg(
+				"Timestamp",
+				upnpService.getStateVariable("Timestamp")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	FloatHolder currentLatitude = new FloatHolder();
+		FloatHolder currentLongitude = new FloatHolder();
+		FloatHolder currentAltitude = new FloatHolder();
+		FloatHolder currentSpeed = new FloatHolder();
+		FloatHolder currentTrack = new FloatHolder();
+		DateHolder timestamp = new DateHolder();
+		
+
+		// invoke model
+		
+		 model.getCurrentPosition(
+			currentLatitude,
+
+currentLongitude,
+
+currentAltitude,
+
+currentSpeed,
+
+currentTrack,
+
+timestamp
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentLatitude",currentLatitude.getObject());
+			// java.lang.Float
+			_result.put("CurrentLongitude",currentLongitude.getObject());
+			// java.lang.Float
+			_result.put("CurrentAltitude",currentAltitude.getObject());
+			// java.lang.Float
+			_result.put("CurrentSpeed",currentSpeed.getObject());
+			// java.lang.Float
+			_result.put("CurrentTrack",currentTrack.getObject());
+			// java.lang.Float
+			_result.put("Timestamp",timestamp.getObject());
+			// java.util.Date
+		return _result.isEmpty()?null:_result;
+	}
+
+
+	public void start(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+	
+	public void stop(BundleContext bundleContext) throws Exception {
+		// TODO
+	}
+};
+
+
+public class GetNameAction extends AbstractUPnPAction {
+
+	PositionSensorModel model;
+	
+	// HERE specific action members
+	
+	public GetNameAction(
+	    UPnPService upnpService,
+		PositionSensorModel model
+	){
+		super(
+			upnpService,
+			"GetName",
+			""
+		);
+		this.model=model;
+		
+			addOutArg(
+				"CurrentName",
+				upnpService.getStateVariable("Name")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	StringHolder currentName = new StringHolder();
+		
+
+		// invoke model
+		
+		 model.getName(
+			currentName
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("CurrentName",currentName.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 SetNameAction extends AbstractUPnPAction {
+
+	PositionSensorModel model;
+	
+	// HERE specific action members
+	
+	public SetNameAction(
+	    UPnPService upnpService,
+		PositionSensorModel model
+	){
+		super(
+			upnpService,
+			"SetName",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"NewName",
+				upnpService.getStateVariable("Name")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.String newName = (java.lang.String) _args.get("NewName");
+		
+
+		// invoke model
+		
+		 model.setName(
+			StringHolder.toValue(
+			newName)
+		
+		 );
+		
+		// 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 GetMethodAction extends AbstractUPnPAction {
+
+	PositionSensorModel model;
+	
+	// HERE specific action members
+	
+	public GetMethodAction(
+	    UPnPService upnpService,
+		PositionSensorModel model
+	){
+		super(
+			upnpService,
+			"GetMethod",
+			""
+		);
+		this.model=model;
+		
+			addOutArg(
+				"Method",
+				upnpService.getStateVariable("Method")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	StringHolder method = new StringHolder();
+		
+
+		// invoke model
+		
+		 model.getMethod(
+			method
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("Method",method.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
+	}
+};
+	
+}

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

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/device/Printer.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/device/Printer.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/device/Printer.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/device/Printer.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,116 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.printer.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.printer.model.*;
+import org.apache.felix.upnp.devicegen.printer.service.*;
+import org.apache.felix.upnp.devicegen.printer.impl.*;
+
+
+	
+
+public class Printer extends AbstractUPnPDevice {
+
+	public Printer(BundleContext context, AbstractUPnPDevice parent) {
+		super(context,parent);
+
+		DEVICE_ID="uuid:adele-printer";
+
+		// ServiceModel Declaration List
+		PrintBasicModel myPrintBasicModel=null; // TODO initialise it
+
+		
+		// Icon Lists
+		
+		List iconsList=new LinkedList();
+	
+		iconsList.add(
+				new DeviceIcon(
+					"image/png", // MimeType
+					48, //Width
+					48, // Height
+					0, // ??
+					16, // Depth
+					"/icon/Printer.png", // URL
+					Printer.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 PrintBasic(
+						this,
+						"urn:upnp-org:serviceId:PrintBasic:1",
+						"urn:schemas-upnp-org:service:PrintBasic:1",
+						"1",
+						myPrintBasicModel									
+				)
+			);				
+
+		services=(UPnPService[])servicesList.toArray(new UPnPService[]{});
+
+
+		// Embedded Device List
+			
+		//children=new LinkedList();
+		
+	
+	}
+	
+	protected void setupDeviceProperties(){	
+		dictionary.put(UPnPDevice.TYPE,"urn:schemas-upnp-org:device:Printer:1");
+		dictionary.put(UPnPDevice.FRIENDLY_NAME,"Generated Printer 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,"Generated Printer UPnP Device");
+		dictionary.put(UPnPDevice.MODEL_NAME,"Printer");
+		dictionary.put(UPnPDevice.MODEL_NUMBER,"123");
+		dictionary.put(UPnPDevice.MODEL_URL,"http://www.apache.org/~donsez/dev/osgi/upnp.devicegen/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:adele-printer");
+		dictionary.put(UPnPDevice.PRESENTATION_URL,"http://www.apache.org/~donsez/dev/osgi/upnp.devicegen/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/printer/device/Printer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/impl/PrintBasicModelImpl.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/impl/PrintBasicModelImpl.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/impl/PrintBasicModelImpl.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/impl/PrintBasicModelImpl.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,166 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.printer.impl;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+import org.apache.felix.upnp.devicegen.printer.model.*;
+
+	
+public class PrintBasicModelImpl implements PrintBasicModel {		
+	
+	/**
+	 * This method is "add description here"	
+ * jobName in  parameter
+
+ * jobOriginatingUserName in  parameter
+
+ * documentFormat in  parameter
+
+ * copies in  parameter
+
+ * sides in  parameter
+
+ * numberUp in  parameter
+
+ * orientationRequested in  parameter
+
+ * mediaSize in  parameter
+
+ * mediaType in  parameter
+
+ * printQuality in  parameter
+
+ * jobId out  parameter
+
+ * dataSink out  parameter
+
+
+	 */
+	public void createJob(
+		java.lang.String jobName,
+
+java.lang.String jobOriginatingUserName,
+
+java.lang.String documentFormat,
+
+int copies,
+
+java.lang.String sides,
+
+java.lang.String numberUp,
+
+java.lang.String orientationRequested,
+
+java.lang.String mediaSize,
+
+java.lang.String mediaType,
+
+java.lang.String printQuality,
+
+IntegerHolder jobId,
+
+StringHolder dataSink
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * jobId in  parameter
+
+
+	 */
+	public void cancelJob(
+		int jobId
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * printerState out  parameter
+
+ * printerStateReasons out  parameter
+
+ * jobIdList out  parameter
+
+ * jobId out  parameter
+
+
+	 */
+	public void getPrinterAttributes(
+		StringHolder printerState,
+
+StringHolder printerStateReasons,
+
+StringHolder jobIdList,
+
+IntegerHolder jobId
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * jobId in  parameter
+
+ * jobName out  parameter
+
+ * jobOriginatingUserName out  parameter
+
+ * jobMediaSheetsCompleted out  parameter
+
+
+	 */
+	public void getJobAttributes(
+		int jobId,
+
+StringHolder jobName,
+
+StringHolder jobOriginatingUserName,
+
+IntegerHolder jobMediaSheetsCompleted
+	) {
+		// TODO
+	
+	}
+
+	
+
+	// Those getters are used for the first notification just after a subscription
+	
+		public java.lang.String getPrinterStateStateVariableValue(){
+			// TODO
+			return null;
+		}		
+		
+		public java.lang.String getPrinterStateReasonsStateVariableValue(){
+			// TODO
+			return null;
+		}		
+		
+		public java.lang.String getJobIdListStateVariableValue(){
+			// TODO
+			return null;
+		}		
+		
+		public java.lang.String getJobEndStateStateVariableValue(){
+			// TODO
+			return null;
+		}		
+		
+		public java.lang.Integer getJobMediaSheetsCompletedStateVariableValue(){
+			// TODO
+			return null;
+		}		
+			
+}

Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/impl/PrintBasicModelImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/model/PrintBasicModel.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/model/PrintBasicModel.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/model/PrintBasicModel.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/model/PrintBasicModel.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,142 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.printer.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+	
+public interface PrintBasicModel {		
+	
+	/**
+	 * This method is "add description here"	
+ * jobName in  parameter
+
+ * jobOriginatingUserName in  parameter
+
+ * documentFormat in  parameter
+
+ * copies in  parameter
+
+ * sides in  parameter
+
+ * numberUp in  parameter
+
+ * orientationRequested in  parameter
+
+ * mediaSize in  parameter
+
+ * mediaType in  parameter
+
+ * printQuality in  parameter
+
+ * jobId out  parameter
+
+ * dataSink out  parameter
+
+
+	 */
+	public void createJob(
+		java.lang.String jobName,
+
+java.lang.String jobOriginatingUserName,
+
+java.lang.String documentFormat,
+
+int copies,
+
+java.lang.String sides,
+
+java.lang.String numberUp,
+
+java.lang.String orientationRequested,
+
+java.lang.String mediaSize,
+
+java.lang.String mediaType,
+
+java.lang.String printQuality,
+
+IntegerHolder jobId,
+
+StringHolder dataSink
+	);
+	// TODO return the type of the return argument when specified
+
+
+	/**
+	 * This method is "add description here"	
+ * jobId in  parameter
+
+
+	 */
+	public void cancelJob(
+		int jobId
+	);
+	// TODO return the type of the return argument when specified
+
+
+	/**
+	 * This method is "add description here"	
+ * printerState out  parameter
+
+ * printerStateReasons out  parameter
+
+ * jobIdList out  parameter
+
+ * jobId out  parameter
+
+
+	 */
+	public void getPrinterAttributes(
+		StringHolder printerState,
+
+StringHolder printerStateReasons,
+
+StringHolder jobIdList,
+
+IntegerHolder jobId
+	);
+	// TODO return the type of the return argument when specified
+
+
+	/**
+	 * This method is "add description here"	
+ * jobId in  parameter
+
+ * jobName out  parameter
+
+ * jobOriginatingUserName out  parameter
+
+ * jobMediaSheetsCompleted out  parameter
+
+
+	 */
+	public void getJobAttributes(
+		int jobId,
+
+StringHolder jobName,
+
+StringHolder jobOriginatingUserName,
+
+IntegerHolder jobMediaSheetsCompleted
+	);
+	// TODO return the type of the return argument when specified
+
+	
+
+	// Those getters are used for the first notification just after a subscription
+	
+		public java.lang.String getPrinterStateStateVariableValue();		
+		
+		public java.lang.String getPrinterStateReasonsStateVariableValue();		
+		
+		public java.lang.String getJobIdListStateVariableValue();		
+		
+		public java.lang.String getJobEndStateStateVariableValue();		
+		
+		public java.lang.Integer getJobMediaSheetsCompletedStateVariableValue();		
+			
+}

Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/model/PrintBasicModel.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/service/PrintBasic.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/service/PrintBasic.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/service/PrintBasic.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/printer/service/PrintBasic.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,2000 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.printer.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.printer.model.*;
+import org.apache.felix.upnp.devicegen.printer.impl.*;
+
+	
+
+public class PrintBasic extends AbstractUPnPService {
+	
+		
+	private PrintBasicModel model;	
+		
+	/**
+	 * constructor
+	 */
+	public PrintBasic(
+		UPnPDevice upnpDevice,
+		String serviceId,
+		String serviceType,
+		String version,
+		PrintBasicModel model
+	){
+		super(	
+			upnpDevice,
+			serviceId,
+			serviceType,
+			version
+		);
+		this.model=model;
+	
+		
+	stateVariables=new HashMap();
+	
+
+	
+	stateVariables.put(
+		"PrinterName",
+		new PrinterNameStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"PrinterLocation",
+		new PrinterLocationStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"DeviceId",
+		new DeviceIdStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"PrinterState",
+		new PrinterStateStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"PrinterStateReasons",
+		new PrinterStateReasonsStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"XHTMLImageSupported",
+		new XHTMLImageSupportedStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"ColorSupported",
+		new ColorSupportedStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"JobIdList",
+		new JobIdListStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"JobId",
+		new JobIdStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"JobEndState",
+		new JobEndStateStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"JobName",
+		new JobNameStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"JobOriginatingUserName",
+		new JobOriginatingUserNameStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"DocumentFormat",
+		new DocumentFormatStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Copies",
+		new CopiesStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"Sides",
+		new SidesStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"NumberUp",
+		new NumberUpStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"OrientationRequested",
+		new OrientationRequestedStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"MediaSize",
+		new MediaSizeStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"MediaType",
+		new MediaTypeStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"PrintQuality",
+		new PrintQualityStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"DataSink",
+		new DataSinkStateVariable(this,model)
+	);
+
+
+	
+	stateVariables.put(
+		"JobMediaSheetsCompleted",
+		new JobMediaSheetsCompletedStateVariable(this,model)
+	);
+
+	actions=new HashMap();
+	
+
+
+	actions.put(
+		"CreateJob",
+		new CreateJobAction(this,model)
+	);
+
+
+
+	actions.put(
+		"CancelJob",
+		new CancelJobAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetPrinterAttributes",
+		new GetPrinterAttributesAction(this,model)
+	);
+
+
+
+	actions.put(
+		"GetJobAttributes",
+		new GetJobAttributesAction(this,model)
+	);
+	
+	}
+
+	// UPnPStateVariable classes
+	
+	
+
+// class PrinterNameStateVariable
+public class PrinterNameStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="PrinterName";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public PrinterNameStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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 PrinterLocationStateVariable
+public class PrinterLocationStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="PrinterLocation";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public PrinterLocationStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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 DeviceIdStateVariable
+public class DeviceIdStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="DeviceId";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public DeviceIdStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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 PrinterStateStateVariable
+public class PrinterStateStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="PrinterState";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public PrinterStateStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for idle
+					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;
+
+		
+	/*
+		List allowedValueList=new LinkedList();
+		
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","idle"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","processing"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","stopped"));
+
+		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 model.getPrinterStateStateVariableValue();
+		
+	}
+};
+
+
+// class PrinterStateReasonsStateVariable
+public class PrinterStateReasonsStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="PrinterStateReasons";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public PrinterStateReasonsStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for none
+					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;
+
+		
+	/*
+		List allowedValueList=new LinkedList();
+		
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","none"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","attention-required"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","media-jam"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","paused"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","door-open"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","media-low"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","media-empty"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","output-area-almost-full"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","output-area-full"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","marker-supply-low"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","marker-supply-empty"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","marker-failure"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","media-change-request"));
+
+		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 model.getPrinterStateReasonsStateVariableValue();
+		
+	}
+};
+
+
+// class XHTMLImageSupportedStateVariable
+public class XHTMLImageSupportedStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="XHTMLImageSupported";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public XHTMLImageSupportedStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for image/jpeg
+					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","image/jpeg"));
+
+		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 ColorSupportedStateVariable
+public class ColorSupportedStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="ColorSupported";
+	public final static String DATATYPE="boolean";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public ColorSupportedStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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 JobIdListStateVariable
+public class JobIdListStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="JobIdList";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public JobIdListStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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.getJobIdListStateVariableValue();
+		
+	}
+};
+
+
+// class JobIdStateVariable
+public class JobIdStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="JobId";
+	public final static String DATATYPE="i4";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public JobIdStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 0
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 2147483647
+					// 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 JobEndStateStateVariable
+public class JobEndStateStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="JobEndState";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public JobEndStateStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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.getJobEndStateStateVariableValue();
+		
+	}
+};
+
+
+// class JobNameStateVariable
+public class JobNameStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="JobName";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public JobNameStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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 JobOriginatingUserNameStateVariable
+public class JobOriginatingUserNameStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="JobOriginatingUserName";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public JobOriginatingUserNameStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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 DocumentFormatStateVariable
+public class DocumentFormatStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="DocumentFormat";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public DocumentFormatStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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","unknown"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","application/vnd.pwg-xhtml-print+xml"));
+
+		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 CopiesStateVariable
+public class CopiesStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Copies";
+	public final static String DATATYPE="i4";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public CopiesStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 1
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for 0
+					null, // TODO maximum changed for 2147483647
+					// 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 SidesStateVariable
+public class SidesStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="Sides";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public SidesStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for one-sided
+					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","one-sided"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","device-setting"));
+
+		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 NumberUpStateVariable
+public class NumberUpStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="NumberUp";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public NumberUpStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 1
+					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","1"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","device-setting"));
+
+		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 OrientationRequestedStateVariable
+public class OrientationRequestedStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="OrientationRequested";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public OrientationRequestedStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for portrait
+					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","portrait"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","device-setting"));
+
+		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 MediaSizeStateVariable
+public class MediaSizeStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="MediaSize";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public MediaSizeStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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","device-setting"));
+
+		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 MediaTypeStateVariable
+public class MediaTypeStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="MediaType";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public MediaTypeStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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","device-setting"));
+
+		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 PrintQualityStateVariable
+public class PrintQualityStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="PrintQuality";
+	public final static String DATATYPE="string";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public PrintQualityStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for normal
+					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","normal"));
+
+		allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","device-setting"));
+
+		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 DataSinkStateVariable
+public class DataSinkStateVariable
+  extends AbstractUPnPStateVariable
+			
+	{
+
+	public final static String NAME="DataSink";
+	public final static String DATATYPE="uri";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public DataSinkStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel 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 JobMediaSheetsCompletedStateVariable
+public class JobMediaSheetsCompletedStateVariable
+  extends AbstractUPnPStateVariable
+			
+	  implements UPnPStateVariableDescriptor{
+
+	public final static String NAME="JobMediaSheetsCompleted";
+	public final static String DATATYPE="i4";
+	
+	// HERE specific state variable members
+	private PrintBasicModel model;
+	
+	public JobMediaSheetsCompletedStateVariable(
+		UPnPService upnpService,
+		PrintBasicModel model
+	){	
+		super(
+					upnpService,
+					NAME,
+					DATATYPE,
+					null, // TODO defaultValue changed for 0
+					null, // TODO step changed for 
+					null, // TODO step changed for 
+					null, // TODO minimum changed for -1
+					null, // TODO maximum changed for 2147483647
+					// 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.getJobMediaSheetsCompletedStateVariableValue();
+		
+	}
+};
+	
+
+	// UPnPAction classes
+	
+	
+
+public class CreateJobAction extends AbstractUPnPAction {
+
+	PrintBasicModel model;
+	
+	// HERE specific action members
+	
+	public CreateJobAction(
+	    UPnPService upnpService,
+		PrintBasicModel model
+	){
+		super(
+			upnpService,
+			"CreateJob",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"JobName",
+				upnpService.getStateVariable("JobName")
+			);
+		
+			addInArg(
+				"JobOriginatingUserName",
+				upnpService.getStateVariable("JobOriginatingUserName")
+			);
+		
+			addInArg(
+				"DocumentFormat",
+				upnpService.getStateVariable("DocumentFormat")
+			);
+		
+			addInArg(
+				"Copies",
+				upnpService.getStateVariable("Copies")
+			);
+		
+			addInArg(
+				"Sides",
+				upnpService.getStateVariable("Sides")
+			);
+		
+			addInArg(
+				"NumberUp",
+				upnpService.getStateVariable("NumberUp")
+			);
+		
+			addInArg(
+				"OrientationRequested",
+				upnpService.getStateVariable("OrientationRequested")
+			);
+		
+			addInArg(
+				"MediaSize",
+				upnpService.getStateVariable("MediaSize")
+			);
+		
+			addInArg(
+				"MediaType",
+				upnpService.getStateVariable("MediaType")
+			);
+		
+			addInArg(
+				"PrintQuality",
+				upnpService.getStateVariable("PrintQuality")
+			);
+		
+			addOutArg(
+				"JobId",
+				upnpService.getStateVariable("JobId")
+			);
+		
+			addOutArg(
+				"DataSink",
+				upnpService.getStateVariable("DataSink")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.String jobName = (java.lang.String) _args.get("JobName");
+		java.lang.String jobOriginatingUserName = (java.lang.String) _args.get("JobOriginatingUserName");
+		java.lang.String documentFormat = (java.lang.String) _args.get("DocumentFormat");
+		java.lang.Integer copies = (java.lang.Integer) _args.get("Copies");
+		java.lang.String sides = (java.lang.String) _args.get("Sides");
+		java.lang.String numberUp = (java.lang.String) _args.get("NumberUp");
+		java.lang.String orientationRequested = (java.lang.String) _args.get("OrientationRequested");
+		java.lang.String mediaSize = (java.lang.String) _args.get("MediaSize");
+		java.lang.String mediaType = (java.lang.String) _args.get("MediaType");
+		java.lang.String printQuality = (java.lang.String) _args.get("PrintQuality");
+		IntegerHolder jobId = new IntegerHolder();
+		StringHolder dataSink = new StringHolder();
+		
+
+		// invoke model
+		
+		 model.createJob(
+			StringHolder.toValue(
+			jobName)
+		,
+
+StringHolder.toValue(
+			jobOriginatingUserName)
+		,
+
+StringHolder.toValue(
+			documentFormat)
+		,
+
+IntegerHolder.toValue(
+			copies)
+		,
+
+StringHolder.toValue(
+			sides)
+		,
+
+StringHolder.toValue(
+			numberUp)
+		,
+
+StringHolder.toValue(
+			orientationRequested)
+		,
+
+StringHolder.toValue(
+			mediaSize)
+		,
+
+StringHolder.toValue(
+			mediaType)
+		,
+
+StringHolder.toValue(
+			printQuality)
+		,
+
+jobId,
+
+dataSink
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("JobId",jobId.getObject());
+			// java.lang.Integer
+			_result.put("DataSink",dataSink.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 CancelJobAction extends AbstractUPnPAction {
+
+	PrintBasicModel model;
+	
+	// HERE specific action members
+	
+	public CancelJobAction(
+	    UPnPService upnpService,
+		PrintBasicModel model
+	){
+		super(
+			upnpService,
+			"CancelJob",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"JobId",
+				upnpService.getStateVariable("JobId")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Integer jobId = (java.lang.Integer) _args.get("JobId");
+		
+
+		// invoke model
+		
+		 model.cancelJob(
+			IntegerHolder.toValue(
+			jobId)
+		
+		 );
+		
+		// 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 GetPrinterAttributesAction extends AbstractUPnPAction {
+
+	PrintBasicModel model;
+	
+	// HERE specific action members
+	
+	public GetPrinterAttributesAction(
+	    UPnPService upnpService,
+		PrintBasicModel model
+	){
+		super(
+			upnpService,
+			"GetPrinterAttributes",
+			""
+		);
+		this.model=model;
+		
+			addOutArg(
+				"PrinterState",
+				upnpService.getStateVariable("PrinterState")
+			);
+		
+			addOutArg(
+				"PrinterStateReasons",
+				upnpService.getStateVariable("PrinterStateReasons")
+			);
+		
+			addOutArg(
+				"JobIdList",
+				upnpService.getStateVariable("JobIdList")
+			);
+		
+			addOutArg(
+				"JobId",
+				upnpService.getStateVariable("JobId")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	StringHolder printerState = new StringHolder();
+		StringHolder printerStateReasons = new StringHolder();
+		StringHolder jobIdList = new StringHolder();
+		IntegerHolder jobId = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getPrinterAttributes(
+			printerState,
+
+printerStateReasons,
+
+jobIdList,
+
+jobId
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("PrinterState",printerState.getObject());
+			// java.lang.String
+			_result.put("PrinterStateReasons",printerStateReasons.getObject());
+			// java.lang.String
+			_result.put("JobIdList",jobIdList.getObject());
+			// java.lang.String
+			_result.put("JobId",jobId.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 GetJobAttributesAction extends AbstractUPnPAction {
+
+	PrintBasicModel model;
+	
+	// HERE specific action members
+	
+	public GetJobAttributesAction(
+	    UPnPService upnpService,
+		PrintBasicModel model
+	){
+		super(
+			upnpService,
+			"GetJobAttributes",
+			""
+		);
+		this.model=model;
+		
+			addInArg(
+				"JobId",
+				upnpService.getStateVariable("JobId")
+			);
+		
+			addOutArg(
+				"JobName",
+				upnpService.getStateVariable("JobName")
+			);
+		
+			addOutArg(
+				"JobOriginatingUserName",
+				upnpService.getStateVariable("JobOriginatingUserName")
+			);
+		
+			addOutArg(
+				"JobMediaSheetsCompleted",
+				upnpService.getStateVariable("JobMediaSheetsCompleted")
+			);
+		
+	}
+
+	/**
+	 * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+	 */
+	public Dictionary invoke(Dictionary _args) throws Exception {
+
+	java.lang.Integer jobId = (java.lang.Integer) _args.get("JobId");
+		StringHolder jobName = new StringHolder();
+		StringHolder jobOriginatingUserName = new StringHolder();
+		IntegerHolder jobMediaSheetsCompleted = new IntegerHolder();
+		
+
+		// invoke model
+		
+		 model.getJobAttributes(
+			IntegerHolder.toValue(
+			jobId)
+		,
+
+jobName,
+
+jobOriginatingUserName,
+
+jobMediaSheetsCompleted
+		 );
+		
+		// build returned Dictionary		
+		Dictionary _result = new Hashtable();
+		
+			_result.put("JobName",jobName.getObject());
+			// java.lang.String
+			_result.put("JobOriginatingUserName",jobOriginatingUserName.getObject());
+			// java.lang.String
+			_result.put("JobMediaSheetsCompleted",jobMediaSheetsCompleted.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
+	}
+};
+	
+}

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

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIClientDevice.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIClientDevice.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIClientDevice.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIClientDevice.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,116 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.remoteui.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.remoteui.model.*;
+import org.apache.felix.upnp.devicegen.remoteui.service.*;
+import org.apache.felix.upnp.devicegen.remoteui.impl.*;
+
+
+	
+
+public class RemoteUIClientDevice extends AbstractUPnPDevice {
+
+	public RemoteUIClientDevice(BundleContext context, AbstractUPnPDevice parent) {
+		super(context,parent);
+
+		DEVICE_ID="uuid:adele-remote-ui-server";
+
+		// ServiceModel Declaration List
+		RemoteUIClientModel myRemoteUIClient1Model=null; // TODO initialise it
+
+		
+		// Icon Lists
+		
+		List iconsList=new LinkedList();
+	
+		iconsList.add(
+				new DeviceIcon(
+					"image/png", // MimeType
+					48, //Width
+					48, // Height
+					0, // ??
+					16, // Depth
+					"/icon/device.png", // URL
+					RemoteUIClientDevice.class.getClassLoader()
+				)
+		);
+
+		icons=(UPnPIcon[])iconsList.toArray(new UPnPIcon[]{});
+
+
+		// Service List
+		
+		List servicesList=new LinkedList();
+	
+	
+		/*
+				SCPDURL=
+				controlURL=
+				eventSubURL=
+		*/
+		servicesList.add(
+				new RemoteUIClient(
+						this,
+						"RemoteUIClient1",
+						"urn:schemas-upnp-org:service:RemoteUIClient:1",
+						"1",
+						myRemoteUIClient1Model									
+				)
+			);				
+
+		services=(UPnPService[])servicesList.toArray(new UPnPService[]{});
+
+
+		// Embedded Device List
+			
+		//children=new LinkedList();
+		
+	
+	}
+	
+	protected void setupDeviceProperties(){	
+		dictionary.put(UPnPDevice.TYPE,"urn:schemas-upnp-org:device:RemoteUIClientDevice:1");
+		dictionary.put(UPnPDevice.FRIENDLY_NAME,"Generated Remote UI Client Device 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,"Generated Remote UI Client Device UPnP Device");
+		dictionary.put(UPnPDevice.MODEL_NAME,"Remote UI Client Device");
+		dictionary.put(UPnPDevice.MODEL_NUMBER,"123");
+		dictionary.put(UPnPDevice.MODEL_URL,"http://www.apache.org/~donsez/dev/osgi/upnp.devicegen/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:adele-remote-ui-server");
+		dictionary.put(UPnPDevice.PRESENTATION_URL,"");		
+
+		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/remoteui/device/RemoteUIClientDevice.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIServerDevice.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIServerDevice.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIServerDevice.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/device/RemoteUIServerDevice.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,116 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.remoteui.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.remoteui.model.*;
+import org.apache.felix.upnp.devicegen.remoteui.service.*;
+import org.apache.felix.upnp.devicegen.remoteui.impl.*;
+
+
+	
+
+public class RemoteUIServerDevice extends AbstractUPnPDevice {
+
+	public RemoteUIServerDevice(BundleContext context, AbstractUPnPDevice parent) {
+		super(context,parent);
+
+		DEVICE_ID="uuid:adele-remote-ui-server";
+
+		// ServiceModel Declaration List
+		RemoteUIServerModel myRemoteUIServerModel=null; // TODO initialise it
+
+		
+		// Icon Lists
+		
+		List iconsList=new LinkedList();
+	
+		iconsList.add(
+				new DeviceIcon(
+					"image/png", // MimeType
+					48, //Width
+					48, // Height
+					0, // ??
+					16, // Depth
+					"/icon/device.png", // URL
+					RemoteUIServerDevice.class.getClassLoader()
+				)
+		);
+
+		icons=(UPnPIcon[])iconsList.toArray(new UPnPIcon[]{});
+
+
+		// Service List
+		
+		List servicesList=new LinkedList();
+	
+	
+		/*
+				SCPDURL=
+				controlURL=
+				eventSubURL=
+		*/
+		servicesList.add(
+				new RemoteUIServer(
+						this,
+						"RemoteUIServer",
+						"urn:schemas-upnp-org:service:RemoteUIServer:1",
+						"1",
+						myRemoteUIServerModel									
+				)
+			);				
+
+		services=(UPnPService[])servicesList.toArray(new UPnPService[]{});
+
+
+		// Embedded Device List
+			
+		//children=new LinkedList();
+		
+	
+	}
+	
+	protected void setupDeviceProperties(){	
+		dictionary.put(UPnPDevice.TYPE,"urn:schemas-upnp-org:device:RemoteUIServerDevice:1");
+		dictionary.put(UPnPDevice.FRIENDLY_NAME,"Generated Remote UI Server Device 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,"Generated Remote UI Server Device UPnP Device");
+		dictionary.put(UPnPDevice.MODEL_NAME,"Remote UI Server Device");
+		dictionary.put(UPnPDevice.MODEL_NUMBER,"123");
+		dictionary.put(UPnPDevice.MODEL_URL,"http://www.apache.org/~donsez/dev/osgi/upnp.devicegen/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:adele-remote-ui-server");
+		dictionary.put(UPnPDevice.PRESENTATION_URL,"");		
+
+		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/remoteui/device/RemoteUIServerDevice.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIClientModelImpl.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIClientModelImpl.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIClientModelImpl.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIClientModelImpl.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,183 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.remoteui.impl;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+import org.apache.felix.upnp.devicegen.remoteui.model.*;
+
+	
+public class RemoteUIClientModelImpl implements RemoteUIClientModel {		
+	
+	/**
+	 * This method is "add description here"	
+ * inputUIList in  parameter
+
+ * timeToLive out  parameter
+
+
+	 */
+	public void addUIListing(
+		java.lang.String inputUIList,
+
+IntegerHolder timeToLive
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * requestedConnections in  parameter
+
+ * currentConnectionsList out  parameter
+
+
+	 */
+	public void connect(
+		java.lang.String requestedConnections,
+
+StringHolder currentConnectionsList
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * requestedDisconnects in  parameter
+
+ * currentConnectionsList out  parameter
+
+
+	 */
+	public void disconnect(
+		java.lang.String requestedDisconnects,
+
+StringHolder currentConnectionsList
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * messageType in  parameter
+
+ * message in  parameter
+
+
+	 */
+	public void displayMessage(
+		java.lang.String messageType,
+
+java.lang.String message
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * currentConnectionsList out  parameter
+
+
+	 */
+	public void getCurrentConnections(
+		StringHolder currentConnectionsList
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * staticDeviceInfo out  parameter
+
+
+	 */
+	public void getDeviceProfile(
+		StringHolder staticDeviceInfo
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * compatibleUIList out  parameter
+
+
+	 */
+	public void getUIListing(
+		StringHolder compatibleUIList
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * inputDataType in  parameter
+
+ * inputData in  parameter
+
+
+	 */
+	public void processInput(
+		java.lang.String inputDataType,
+
+java.lang.String inputData
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * removeUIList in  parameter
+
+
+	 */
+	public void removeUIListing(
+		java.lang.String removeUIList
+	) {
+		// TODO
+	
+	}
+
+	
+
+	// Those getters are used for the first notification just after a subscription
+	
+		public java.lang.String getCurrentConnectionsEventStateVariableValue(){
+			// TODO
+			return null;
+		}		
+		
+		public java.lang.String getCurrentConnectionsStateVariableValue(){
+			// TODO
+			return null;
+		}		
+		
+		public java.lang.String getDeviceProfileStateVariableValue(){
+			// TODO
+			return null;
+		}		
+		
+		public java.lang.Integer getCompatibleUIsUpdateIDEventStateVariableValue(){
+			// TODO
+			return null;
+		}		
+			
+}

Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIClientModelImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIServerModelImpl.java
URL: http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIServerModelImpl.java?view=auto&rev=533875
==============================================================================
--- incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIServerModelImpl.java (added)
+++ incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIServerModelImpl.java Mon Apr 30 16:15:05 2007
@@ -0,0 +1,62 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.remoteui.impl;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+import org.apache.felix.upnp.devicegen.remoteui.model.*;
+
+	
+public class RemoteUIServerModelImpl implements RemoteUIServerModel {		
+	
+	/**
+	 * This method is "add description here"	
+ * inputDeviceProfile in  parameter
+
+ * uIFilter in  parameter
+
+ * uIListing out  parameter
+
+
+	 */
+	public void getCompatibleUIs(
+		java.lang.String inputDeviceProfile,
+
+java.lang.String uIFilter,
+
+StringHolder uIListing
+	) {
+		// TODO
+	
+	}
+
+
+	/**
+	 * This method is "add description here"	
+ * uI in  parameter
+
+ * lifetime in  parameter
+
+
+	 */
+	public void setUILifetime(
+		java.lang.String uI,
+
+int lifetime
+	) {
+		// TODO
+	
+	}
+
+	
+
+	// Those getters are used for the first notification just after a subscription
+	
+		public java.lang.String getUIListingUpdateStateVariableValue(){
+			// TODO
+			return null;
+		}		
+			
+}

Propchange: incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/remoteui/impl/RemoteUIServerModelImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native