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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSensorModelImpl.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSensorModelImpl.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSensorModelImpl.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSensorModelImpl.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,102 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.impl;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+import org.apache.felix.upnp.devicegen.hvac.model.*;
+
+       
+public class TemperatureSensorModelImpl implements TemperatureSensorModel {    
        
+       
+       /**
+        * This method is "add description here"        
+ * currentApplication out  parameter
+
+
+        */
+       public void getApplication(
+               StringHolder currentApplication
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * newApplication in  parameter
+
+
+        */
+       public void setApplication(
+               java.lang.String newApplication
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * currentTemp out  parameter
+
+
+        */
+       public void getCurrentTemperature(
+               IntegerHolder currentTemp
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * currentName out  parameter
+
+
+        */
+       public void getName(
+               StringHolder currentName
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * newName in  parameter
+
+
+        */
+       public void setName(
+               java.lang.String newName
+       ) {
+               // TODO
+       
+       }
+
+       
+
+       // Those getters are used for the first notification just after a 
subscription
+       
+               public java.lang.Integer 
getCurrentTemperatureStateVariableValue(){
+                       // TODO
+                       return null;
+               }               
+               
+               public java.lang.String getApplicationStateVariableValue(){
+                       // TODO
+                       return null;
+               }               
+               
+               public java.lang.String getNameStateVariableValue(){
+                       // TODO
+                       return null;
+               }               
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSetpointModelImpl.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSetpointModelImpl.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSetpointModelImpl.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/impl/TemperatureSetpointModelImpl.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,135 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.impl;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+import org.apache.felix.upnp.devicegen.hvac.model.*;
+
+       
+public class TemperatureSetpointModelImpl implements TemperatureSetpointModel 
{                
+       
+       /**
+        * This method is "add description here"        
+ * currentApplication out  parameter
+
+
+        */
+       public void getApplication(
+               StringHolder currentApplication
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * newApplication in  parameter
+
+
+        */
+       public void setApplication(
+               java.lang.String newApplication
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * newCurrentSetpoint in  parameter
+
+
+        */
+       public void setCurrentSetpoint(
+               int newCurrentSetpoint
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * currentSP out  parameter
+
+
+        */
+       public void getCurrentSetpoint(
+               IntegerHolder currentSP
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * currentSPA out  parameter
+
+
+        */
+       public void getSetpointAchieved(
+               BooleanHolder currentSPA
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * currentName out  parameter
+
+
+        */
+       public void getName(
+               StringHolder currentName
+       ) {
+               // TODO
+       
+       }
+
+
+       /**
+        * This method is "add description here"        
+ * newName in  parameter
+
+
+        */
+       public void setName(
+               java.lang.String newName
+       ) {
+               // TODO
+       
+       }
+
+       
+
+       // Those getters are used for the first notification just after a 
subscription
+       
+               public java.lang.String getApplicationStateVariableValue(){
+                       // TODO
+                       return null;
+               }               
+               
+               public java.lang.Integer getCurrentSetpointStateVariableValue(){
+                       // TODO
+                       return null;
+               }               
+               
+               public java.lang.Boolean 
getSetpointAchievedStateVariableValue(){
+                       // TODO
+                       return null;
+               }               
+               
+               public java.lang.String getNameStateVariableValue(){
+                       // TODO
+                       return null;
+               }               
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/ControlValveModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/ControlValveModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/ControlValveModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/ControlValveModel.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,112 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface ControlValveModel {           
+       
+       /**
+        * This method is "add description here"        
+ * currentPositionTarget out  parameter
+
+
+        */
+       public void getPositionTarget(
+               IntegerHolder currentPositionTarget
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newPositionTarget in  parameter
+
+
+        */
+       public void setPosition(
+               int newPositionTarget
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentPositionStatus out  parameter
+
+
+        */
+       public void getPosition(
+               IntegerHolder currentPositionStatus
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentMinPosition out  parameter
+
+ * currentMaxPosition out  parameter
+
+
+        */
+       public void getMinMax(
+               IntegerHolder currentMinPosition,
+
+IntegerHolder currentMaxPosition
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newMinPosition in  parameter
+
+ * newMaxPosition in  parameter
+
+
+        */
+       public void setMinMax(
+               int newMinPosition,
+
+int newMaxPosition
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentControlMode out  parameter
+
+
+        */
+       public void getMode(
+               StringHolder currentControlMode
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newControlMode in  parameter
+
+
+        */
+       public void setMode(
+               java.lang.String newControlMode
+       );
+       // 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.Integer getPositionStatusStateVariableValue(); 
        
+               
+               public java.lang.String getControlModeStateVariableValue();     
        
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/DeviceSecurityModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/DeviceSecurityModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/DeviceSecurityModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/DeviceSecurityModel.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,388 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface DeviceSecurityModel {         
+       
+       /**
+        * This method is "add description here"        
+ * keyArg out  parameter
+
+
+        */
+       public void getPublicKeys(
+               StringHolder keyArg
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * supported out  parameter
+
+
+        */
+       public void getAlgorithmsAndProtocols(
+               StringHolder supported
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * argTotalACLSize out  parameter
+
+ * argFreeACLSize out  parameter
+
+ * argTotalOwnerListSize out  parameter
+
+ * argFreeOwnerListSize out  parameter
+
+ * argTotalCertCacheSize out  parameter
+
+ * argFreeCertCacheSize out  parameter
+
+
+        */
+       public void getACLSizes(
+               IntegerHolder argTotalACLSize,
+
+IntegerHolder argFreeACLSize,
+
+IntegerHolder argTotalOwnerListSize,
+
+IntegerHolder argFreeOwnerListSize,
+
+IntegerHolder argTotalCertCacheSize,
+
+IntegerHolder argFreeCertCacheSize
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * certificates in  parameter
+
+
+        */
+       public void cacheCertificate(
+               java.lang.String certificates
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * argTimeHint in  parameter
+
+
+        */
+       public void setTimeHint(
+               java.lang.String argTimeHint
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * argLifetimeSequenceBase out  parameter
+
+
+        */
+       public void getLifetimeSequenceBase(
+               StringHolder argLifetimeSequenceBase
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * encipheredBulkKey in  parameter
+
+ * bulkAlgorithm in  parameter
+
+ * ciphertext in  parameter
+
+ * cPKeyID in  parameter
+
+ * deviceKeyID out  parameter
+
+ * sequenceBase out  parameter
+
+
+        */
+       public void setSessionKeys(
+               byte[] encipheredBulkKey,
+
+java.lang.String bulkAlgorithm,
+
+byte[] ciphertext,
+
+int cPKeyID,
+
+IntegerHolder deviceKeyID,
+
+StringHolder sequenceBase
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * deviceKeyID in  parameter
+
+
+        */
+       public void expireSessionKeys(
+               int deviceKeyID
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * deviceKeyID in  parameter
+
+ * request in  parameter
+
+ * inIV in  parameter
+
+ * reply out  parameter
+
+ * outIV out  parameter
+
+
+        */
+       public void decryptAndExecute(
+               int deviceKeyID,
+
+byte[] request,
+
+byte[] inIV,
+
+ByteArrayHolder reply,
+
+ByteArrayHolder outIV
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * hMACAlgorithm in  parameter
+
+ * encryptedHMACValue in  parameter
+
+
+        */
+       public void takeOwnership(
+               java.lang.String hMACAlgorithm,
+
+byte[] encryptedHMACValue
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * permissions out  parameter
+
+
+        */
+       public void getDefinedPermissions(
+               StringHolder permissions
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * profiles out  parameter
+
+
+        */
+       public void getDefinedProfiles(
+               StringHolder profiles
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * version out  parameter
+
+ * aCL out  parameter
+
+
+        */
+       public void readACL(
+               StringHolder version,
+
+StringHolder aCL
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * version in  parameter
+
+ * aCL in  parameter
+
+ * newVersion out  parameter
+
+
+        */
+       public void writeACL(
+               java.lang.String version,
+
+java.lang.String aCL,
+
+StringHolder newVersion
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * entry in  parameter
+
+
+        */
+       public void addACLEntry(
+               java.lang.String entry
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * targetACLVersion in  parameter
+
+ * index in  parameter
+
+ * newACLVersion out  parameter
+
+
+        */
+       public void deleteACLEntry(
+               java.lang.String targetACLVersion,
+
+int index,
+
+StringHolder newACLVersion
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * targetACLVersion in  parameter
+
+ * index in  parameter
+
+ * entry in  parameter
+
+ * newACLVersion out  parameter
+
+
+        */
+       public void replaceACLEntry(
+               java.lang.String targetACLVersion,
+
+int index,
+
+java.lang.String entry,
+
+StringHolder newACLVersion
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+
+        */
+       public void factorySecurityReset(
+               
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * hashAlgorithm in  parameter
+
+ * keyHash in  parameter
+
+
+        */
+       public void grantOwnership(
+               java.lang.String hashAlgorithm,
+
+byte[] keyHash
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * hashAlgorithm in  parameter
+
+ * keyHash in  parameter
+
+
+        */
+       public void revokeOwnership(
+               java.lang.String hashAlgorithm,
+
+byte[] keyHash
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * argNumberOfOwners out  parameter
+
+ * owners out  parameter
+
+
+        */
+       public void listOwners(
+               IntegerHolder argNumberOfOwners,
+
+StringHolder owners
+       );
+       // 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.Integer getNumberOfOwnersStateVariableValue(); 
        
+               
+               public java.lang.String 
getLifetimeSequenceBaseStateVariableValue();            
+               
+               public java.lang.String getTimeHintStateVariableValue();        
        
+               
+               public java.lang.Integer getTotalACLSizeStateVariableValue();   
        
+               
+               public java.lang.Integer getFreeACLSizeStateVariableValue();    
        
+               
+               public java.lang.Integer 
getTotalOwnerListSizeStateVariableValue();             
+               
+               public java.lang.Integer 
getFreeOwnerListSizeStateVariableValue();              
+               
+               public java.lang.Integer 
getTotalCertCacheSizeStateVariableValue();             
+               
+               public java.lang.Integer 
getFreeCertCacheSizeStateVariableValue();              
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/FanSpeedModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/FanSpeedModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/FanSpeedModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/FanSpeedModel.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,92 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface FanSpeedModel {               
+       
+       /**
+        * This method is "add description here"        
+ * newFanSpeedTarget in  parameter
+
+
+        */
+       public void setFanSpeed(
+               int newFanSpeedTarget
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentFanSpeedStatus out  parameter
+
+
+        */
+       public void getFanSpeed(
+               IntegerHolder currentFanSpeedStatus
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentFanSpeedTarget out  parameter
+
+
+        */
+       public void getFanSpeedTarget(
+               IntegerHolder currentFanSpeedTarget
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newDirectionTarget in  parameter
+
+
+        */
+       public void setFanDirection(
+               boolean newDirectionTarget
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentDirectionStatus out  parameter
+
+
+        */
+       public void getFanDirection(
+               BooleanHolder currentDirectionStatus
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentDirectionTarget out  parameter
+
+
+        */
+       public void getFanDirectionTarget(
+               BooleanHolder currentDirectionTarget
+       );
+       // 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.Integer getFanSpeedStatusStateVariableValue(); 
        
+               
+               public java.lang.Boolean 
getDirectionStatusStateVariableValue();                
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_FanOperatingModeModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_FanOperatingModeModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_FanOperatingModeModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_FanOperatingModeModel.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,82 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface HVAC_FanOperatingModeModel {          
+       
+       /**
+        * This method is "add description here"        
+ * newMode in  parameter
+
+
+        */
+       public void setMode(
+               java.lang.String newMode
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentMode out  parameter
+
+
+        */
+       public void getMode(
+               StringHolder currentMode
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentStatus out  parameter
+
+
+        */
+       public void getFanStatus(
+               StringHolder currentStatus
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentName out  parameter
+
+
+        */
+       public void getName(
+               StringHolder currentName
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newName in  parameter
+
+
+        */
+       public void setName(
+               java.lang.String newName
+       );
+       // 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 getModeStateVariableValue();            
+               
+               public java.lang.String getFanStatusStateVariableValue();       
        
+               
+               public java.lang.String getNameStateVariableValue();            
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_SetpointScheduleModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_SetpointScheduleModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_SetpointScheduleModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_SetpointScheduleModel.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.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface HVAC_SetpointScheduleModel {          
+       
+       /**
+        * This method is "add description here"        
+ * submittedDayOfWeek in  parameter
+
+ * submittedEventName in  parameter
+
+ * newStartTime in  parameter
+
+ * newHeatingSetpoint in  parameter
+
+ * newCoolingSetpoint in  parameter
+
+
+        */
+       public void setEventParameters(
+               java.lang.String submittedDayOfWeek,
+
+java.lang.String submittedEventName,
+
+int newStartTime,
+
+int newHeatingSetpoint,
+
+int newCoolingSetpoint
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * submittedDayOfWeek in  parameter
+
+ * currentEventsPerDay out  parameter
+
+
+        */
+       public void getEventsPerDay(
+               java.lang.String submittedDayOfWeek,
+
+StringHolder currentEventsPerDay
+       );
+       // 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 getEventsPerDayStateVariableValue();    
        
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_UserOperatingModeModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_UserOperatingModeModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_UserOperatingModeModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/HVAC_UserOperatingModeModel.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,82 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface HVAC_UserOperatingModeModel {         
+       
+       /**
+        * This method is "add description here"        
+ * newModeTarget in  parameter
+
+
+        */
+       public void setModeTarget(
+               java.lang.String newModeTarget
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentModeTarget out  parameter
+
+
+        */
+       public void getModeTarget(
+               StringHolder currentModeTarget
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentModeStatus out  parameter
+
+
+        */
+       public void getModeStatus(
+               StringHolder currentModeStatus
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentName out  parameter
+
+
+        */
+       public void getName(
+               StringHolder currentName
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newName in  parameter
+
+
+        */
+       public void setName(
+               java.lang.String newName
+       );
+       // 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 getModeTargetStateVariableValue();      
        
+               
+               public java.lang.String getModeStatusStateVariableValue();      
        
+               
+               public java.lang.String getNameStateVariableValue();            
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSensorModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSensorModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSensorModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSensorModel.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,82 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface TemperatureSensorModel {              
+       
+       /**
+        * This method is "add description here"        
+ * currentApplication out  parameter
+
+
+        */
+       public void getApplication(
+               StringHolder currentApplication
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newApplication in  parameter
+
+
+        */
+       public void setApplication(
+               java.lang.String newApplication
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentTemp out  parameter
+
+
+        */
+       public void getCurrentTemperature(
+               IntegerHolder currentTemp
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentName out  parameter
+
+
+        */
+       public void getName(
+               StringHolder currentName
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newName in  parameter
+
+
+        */
+       public void setName(
+               java.lang.String newName
+       );
+       // 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.Integer 
getCurrentTemperatureStateVariableValue();             
+               
+               public java.lang.String getApplicationStateVariableValue();     
        
+               
+               public java.lang.String getNameStateVariableValue();            
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSetpointModel.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSetpointModel.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSetpointModel.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/model/TemperatureSetpointModel.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,108 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.model;
+
+import org.apache.felix.upnp.devicegen.holder.*;
+
+       
+public interface TemperatureSetpointModel {            
+       
+       /**
+        * This method is "add description here"        
+ * currentApplication out  parameter
+
+
+        */
+       public void getApplication(
+               StringHolder currentApplication
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newApplication in  parameter
+
+
+        */
+       public void setApplication(
+               java.lang.String newApplication
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newCurrentSetpoint in  parameter
+
+
+        */
+       public void setCurrentSetpoint(
+               int newCurrentSetpoint
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentSP out  parameter
+
+
+        */
+       public void getCurrentSetpoint(
+               IntegerHolder currentSP
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentSPA out  parameter
+
+
+        */
+       public void getSetpointAchieved(
+               BooleanHolder currentSPA
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * currentName out  parameter
+
+
+        */
+       public void getName(
+               StringHolder currentName
+       );
+       // TODO return the type of the return argument when specified
+
+
+       /**
+        * This method is "add description here"        
+ * newName in  parameter
+
+
+        */
+       public void setName(
+               java.lang.String newName
+       );
+       // 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 getApplicationStateVariableValue();     
        
+               
+               public java.lang.Integer 
getCurrentSetpointStateVariableValue();                
+               
+               public java.lang.Boolean 
getSetpointAchievedStateVariableValue();               
+               
+               public java.lang.String getNameStateVariableValue();            
+                       
+}

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

Added: 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/service/ControlValve.java
URL: 
http://svn.apache.org/viewvc/incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/service/ControlValve.java?view=auto&rev=533875
==============================================================================
--- 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/service/ControlValve.java
 (added)
+++ 
incubator/felix/sandbox/donsez/upnp.devicegen/src/main/java/org/apache/felix/upnp/devicegen/hvac/service/ControlValve.java
 Mon Apr 30 16:15:05 2007
@@ -0,0 +1,859 @@
+
+/*
+__BANNER__
+*/
+// this file was generated at 1-May-2007 12:59 AM by ${author}
+package org.apache.felix.upnp.devicegen.hvac.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.hvac.model.*;
+import org.apache.felix.upnp.devicegen.hvac.impl.*;
+
+       
+
+public class ControlValve extends AbstractUPnPService {
+       
+               
+       private ControlValveModel model;        
+               
+       /**
+        * constructor
+        */
+       public ControlValve(
+               UPnPDevice upnpDevice,
+               String serviceId,
+               String serviceType,
+               String version,
+               ControlValveModel model
+       ){
+               super(  
+                       upnpDevice,
+                       serviceId,
+                       serviceType,
+                       version
+               );
+               this.model=model;
+       
+               
+       stateVariables=new HashMap();
+       
+
+       
+       stateVariables.put(
+               "PositionTarget",
+               new PositionTargetStateVariable(this,model)
+       );
+
+
+       
+       stateVariables.put(
+               "PositionStatus",
+               new PositionStatusStateVariable(this,model)
+       );
+
+
+       
+       stateVariables.put(
+               "ControlMode",
+               new ControlModeStateVariable(this,model)
+       );
+
+
+       
+       stateVariables.put(
+               "MinPosition",
+               new MinPositionStateVariable(this,model)
+       );
+
+
+       
+       stateVariables.put(
+               "MaxPosition",
+               new MaxPositionStateVariable(this,model)
+       );
+
+       actions=new HashMap();
+       
+
+
+       actions.put(
+               "GetPositionTarget",
+               new GetPositionTargetAction(this,model)
+       );
+
+
+
+       actions.put(
+               "SetPosition",
+               new SetPositionAction(this,model)
+       );
+
+
+
+       actions.put(
+               "GetPosition",
+               new GetPositionAction(this,model)
+       );
+
+
+
+       actions.put(
+               "GetMinMax",
+               new GetMinMaxAction(this,model)
+       );
+
+
+
+       actions.put(
+               "SetMinMax",
+               new SetMinMaxAction(this,model)
+       );
+
+
+
+       actions.put(
+               "GetMode",
+               new GetModeAction(this,model)
+       );
+
+
+
+       actions.put(
+               "SetMode",
+               new SetModeAction(this,model)
+       );
+       
+       }
+
+       // UPnPStateVariable classes
+       
+       
+
+// class PositionTargetStateVariable
+public class PositionTargetStateVariable
+  extends AbstractUPnPStateVariable
+                       
+       {
+
+       public final static String NAME="PositionTarget";
+       public final static String DATATYPE="ui1";
+       
+       // HERE specific state variable members
+       private ControlValveModel model;
+       
+       public PositionTargetStateVariable(
+               UPnPService upnpService,
+               ControlValveModel 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 100
+                                       // 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 PositionStatusStateVariable
+public class PositionStatusStateVariable
+  extends AbstractUPnPStateVariable
+                       
+         implements UPnPStateVariableDescriptor{
+
+       public final static String NAME="PositionStatus";
+       public final static String DATATYPE="ui1";
+       
+       // HERE specific state variable members
+       private ControlValveModel model;
+       
+       public PositionStatusStateVariable(
+               UPnPService upnpService,
+               ControlValveModel 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 100
+                                       // 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.getPositionStatusStateVariableValue();
+               
+       }
+};
+
+
+// class ControlModeStateVariable
+public class ControlModeStateVariable
+  extends AbstractUPnPStateVariable
+                       
+         implements UPnPStateVariableDescriptor{
+
+       public final static String NAME="ControlMode";
+       public final static String DATATYPE="string";
+       
+       // HERE specific state variable members
+       private ControlValveModel model;
+       
+       public ControlModeStateVariable(
+               UPnPService upnpService,
+               ControlValveModel model
+       ){      
+               super(
+                                       upnpService,
+                                       NAME,
+                                       DATATYPE,
+                                       null, // TODO defaultValue changed for 
CLOSED
+                                       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","OPEN"));
+
+               
allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","CLOSED"));
+
+               
allowedValueList.add(UPnPDataTypeUtil.instanciateObject("string","AUTO"));
+
+               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.getControlModeStateVariableValue();
+               
+       }
+};
+
+
+// class MinPositionStateVariable
+public class MinPositionStateVariable
+  extends AbstractUPnPStateVariable
+                       
+       {
+
+       public final static String NAME="MinPosition";
+       public final static String DATATYPE="ui1";
+       
+       // HERE specific state variable members
+       private ControlValveModel model;
+       
+       public MinPositionStateVariable(
+               UPnPService upnpService,
+               ControlValveModel 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 100
+                                       // 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 MaxPositionStateVariable
+public class MaxPositionStateVariable
+  extends AbstractUPnPStateVariable
+                       
+       {
+
+       public final static String NAME="MaxPosition";
+       public final static String DATATYPE="ui1";
+       
+       // HERE specific state variable members
+       private ControlValveModel model;
+       
+       public MaxPositionStateVariable(
+               UPnPService upnpService,
+               ControlValveModel model
+       ){      
+               super(
+                                       upnpService,
+                                       NAME,
+                                       DATATYPE,
+                                       null, // TODO defaultValue changed for 
100
+                                       null, // TODO step changed for 
+                                       null, // TODO step changed for 
+                                       null, // TODO minimum changed for 0
+                                       null, // TODO maximum changed for 100
+                                       // 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;
+       }
+};
+       
+
+       // UPnPAction classes
+       
+       
+
+public class GetPositionTargetAction extends AbstractUPnPAction {
+
+       ControlValveModel model;
+       
+       // HERE specific action members
+       
+       public GetPositionTargetAction(
+           UPnPService upnpService,
+               ControlValveModel model
+       ){
+               super(
+                       upnpService,
+                       "GetPositionTarget",
+                       ""
+               );
+               this.model=model;
+               
+                       addOutArg(
+                               "CurrentPositionTarget",
+                               upnpService.getStateVariable("PositionTarget")
+                       );
+               
+       }
+
+       /**
+        * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+        */
+       public Dictionary invoke(Dictionary _args) throws Exception {
+
+       IntegerHolder currentPositionTarget = new IntegerHolder();
+               
+
+               // invoke model
+               
+                model.getPositionTarget(
+                       currentPositionTarget
+                );
+               
+               // build returned Dictionary            
+               Dictionary _result = new Hashtable();
+               
+                       
_result.put("CurrentPositionTarget",currentPositionTarget.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 SetPositionAction extends AbstractUPnPAction {
+
+       ControlValveModel model;
+       
+       // HERE specific action members
+       
+       public SetPositionAction(
+           UPnPService upnpService,
+               ControlValveModel model
+       ){
+               super(
+                       upnpService,
+                       "SetPosition",
+                       ""
+               );
+               this.model=model;
+               
+                       addInArg(
+                               "NewPositionTarget",
+                               upnpService.getStateVariable("PositionTarget")
+                       );
+               
+       }
+
+       /**
+        * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+        */
+       public Dictionary invoke(Dictionary _args) throws Exception {
+
+       java.lang.Integer newPositionTarget = (java.lang.Integer) 
_args.get("NewPositionTarget");
+               
+
+               // invoke model
+               
+                model.setPosition(
+                       IntegerHolder.toValue(
+                       newPositionTarget)
+               
+                );
+               
+               // 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 GetPositionAction extends AbstractUPnPAction {
+
+       ControlValveModel model;
+       
+       // HERE specific action members
+       
+       public GetPositionAction(
+           UPnPService upnpService,
+               ControlValveModel model
+       ){
+               super(
+                       upnpService,
+                       "GetPosition",
+                       ""
+               );
+               this.model=model;
+               
+                       addOutArg(
+                               "CurrentPositionStatus",
+                               upnpService.getStateVariable("PositionStatus")
+                       );
+               
+       }
+
+       /**
+        * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+        */
+       public Dictionary invoke(Dictionary _args) throws Exception {
+
+       IntegerHolder currentPositionStatus = new IntegerHolder();
+               
+
+               // invoke model
+               
+                model.getPosition(
+                       currentPositionStatus
+                );
+               
+               // build returned Dictionary            
+               Dictionary _result = new Hashtable();
+               
+                       
_result.put("CurrentPositionStatus",currentPositionStatus.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 GetMinMaxAction extends AbstractUPnPAction {
+
+       ControlValveModel model;
+       
+       // HERE specific action members
+       
+       public GetMinMaxAction(
+           UPnPService upnpService,
+               ControlValveModel model
+       ){
+               super(
+                       upnpService,
+                       "GetMinMax",
+                       ""
+               );
+               this.model=model;
+               
+                       addOutArg(
+                               "CurrentMinPosition",
+                               upnpService.getStateVariable("MinPosition")
+                       );
+               
+                       addOutArg(
+                               "CurrentMaxPosition",
+                               upnpService.getStateVariable("MaxPosition")
+                       );
+               
+       }
+
+       /**
+        * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+        */
+       public Dictionary invoke(Dictionary _args) throws Exception {
+
+       IntegerHolder currentMinPosition = new IntegerHolder();
+               IntegerHolder currentMaxPosition = new IntegerHolder();
+               
+
+               // invoke model
+               
+                model.getMinMax(
+                       currentMinPosition,
+
+currentMaxPosition
+                );
+               
+               // build returned Dictionary            
+               Dictionary _result = new Hashtable();
+               
+                       
_result.put("CurrentMinPosition",currentMinPosition.getObject());
+                       // java.lang.Integer
+                       
_result.put("CurrentMaxPosition",currentMaxPosition.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 SetMinMaxAction extends AbstractUPnPAction {
+
+       ControlValveModel model;
+       
+       // HERE specific action members
+       
+       public SetMinMaxAction(
+           UPnPService upnpService,
+               ControlValveModel model
+       ){
+               super(
+                       upnpService,
+                       "SetMinMax",
+                       ""
+               );
+               this.model=model;
+               
+                       addInArg(
+                               "NewMinPosition",
+                               upnpService.getStateVariable("MinPosition")
+                       );
+               
+                       addInArg(
+                               "NewMaxPosition",
+                               upnpService.getStateVariable("MaxPosition")
+                       );
+               
+       }
+
+       /**
+        * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+        */
+       public Dictionary invoke(Dictionary _args) throws Exception {
+
+       java.lang.Integer newMinPosition = (java.lang.Integer) 
_args.get("NewMinPosition");
+               java.lang.Integer newMaxPosition = (java.lang.Integer) 
_args.get("NewMaxPosition");
+               
+
+               // invoke model
+               
+                model.setMinMax(
+                       IntegerHolder.toValue(
+                       newMinPosition)
+               ,
+
+IntegerHolder.toValue(
+                       newMaxPosition)
+               
+                );
+               
+               // 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 GetModeAction extends AbstractUPnPAction {
+
+       ControlValveModel model;
+       
+       // HERE specific action members
+       
+       public GetModeAction(
+           UPnPService upnpService,
+               ControlValveModel model
+       ){
+               super(
+                       upnpService,
+                       "GetMode",
+                       ""
+               );
+               this.model=model;
+               
+                       addOutArg(
+                               "CurrentControlMode",
+                               upnpService.getStateVariable("ControlMode")
+                       );
+               
+       }
+
+       /**
+        * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+        */
+       public Dictionary invoke(Dictionary _args) throws Exception {
+
+       StringHolder currentControlMode = new StringHolder();
+               
+
+               // invoke model
+               
+                model.getMode(
+                       currentControlMode
+                );
+               
+               // build returned Dictionary            
+               Dictionary _result = new Hashtable();
+               
+                       
_result.put("CurrentControlMode",currentControlMode.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 SetModeAction extends AbstractUPnPAction {
+
+       ControlValveModel model;
+       
+       // HERE specific action members
+       
+       public SetModeAction(
+           UPnPService upnpService,
+               ControlValveModel model
+       ){
+               super(
+                       upnpService,
+                       "SetMode",
+                       ""
+               );
+               this.model=model;
+               
+                       addInArg(
+                               "NewControlMode",
+                               upnpService.getStateVariable("ControlMode")
+                       );
+               
+       }
+
+       /**
+        * @see org.osgi.service.upnp.UPnPAction#invoke(java.util.Dictionary)
+        */
+       public Dictionary invoke(Dictionary _args) throws Exception {
+
+       java.lang.String newControlMode = (java.lang.String) 
_args.get("NewControlMode");
+               
+
+               // invoke model
+               
+                model.setMode(
+                       StringHolder.toValue(
+                       newControlMode)
+               
+                );
+               
+               // 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/hvac/service/ControlValve.java
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to