Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.om2m.commons/src/main/java/org/eclipse/om2m/commons/resource/flexcontainerspec/DeviceClothesWasherFlexContainer.java')
-rw-r--r--org.eclipse.om2m.commons/src/main/java/org/eclipse/om2m/commons/resource/flexcontainerspec/DeviceClothesWasherFlexContainer.java184
1 files changed, 79 insertions, 105 deletions
diff --git a/org.eclipse.om2m.commons/src/main/java/org/eclipse/om2m/commons/resource/flexcontainerspec/DeviceClothesWasherFlexContainer.java b/org.eclipse.om2m.commons/src/main/java/org/eclipse/om2m/commons/resource/flexcontainerspec/DeviceClothesWasherFlexContainer.java
index 71f70762..47767a29 100644
--- a/org.eclipse.om2m.commons/src/main/java/org/eclipse/om2m/commons/resource/flexcontainerspec/DeviceClothesWasherFlexContainer.java
+++ b/org.eclipse.om2m.commons/src/main/java/org/eclipse/om2m/commons/resource/flexcontainerspec/DeviceClothesWasherFlexContainer.java
@@ -1,6 +1,6 @@
/*
********************************************************************************
- * Copyright (c) 2014, 2017 Orange.
+ * Copyright (c) 2014, 2018 Orange.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -11,7 +11,7 @@ Device : DeviceClothesWasher
A clothes washer is a home appliance that is used to wash laundry, such as clothing and sheets. This information model provides capabilities to interact with specific functions and resources of clothes washers.
-Created: 2018-06-11 12:14:18
+Created: 2018-06-29 17:19:54
*/
package org.eclipse.om2m.commons.resource.flexcontainerspec;
@@ -21,9 +21,8 @@ import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-import org.eclipse.om2m.commons.resource.AbstractFlexContainer;
-import org.eclipse.om2m.commons.resource.AbstractFlexContainerAnnc;
+import org.eclipse.om2m.commons.resource.AbstractFlexContainer;
@XmlRootElement(name = DeviceClothesWasherFlexContainer.SHORT_NAME, namespace = "http://www.onem2m.org/xml/protocols/homedomain")
@XmlAccessorType(XmlAccessType.FIELD)
@@ -39,48 +38,43 @@ public class DeviceClothesWasherFlexContainer extends AbstractFlexContainer {
setShortName(SHORT_NAME);
}
- public void finalizeSerialization() {
+ public void finalizeSerialization() {
getBinarySwitch();
+ getClothesWasherOperationMode();
+ getRunState();
+ getClothesWasherJobMode();
+ getClothesWasherJobModeOption();
+ getRemoteControlEnable();
getTimer();
- getRunMode();
- getTemperature();
- getWaterLevel();
- getRinseLevel();
- getWaterFlow();
- getSpinLevel();
}
public void finalizeDeserialization() {
if (this.binarySwitch != null) {
setBinarySwitch(this.binarySwitch);
}
- if (this.timer != null) {
- setTimer(this.timer);
- }
- if (this.runMode != null) {
- setRunMode(this.runMode);
+ if (this.clothesWasherOperationMode != null) {
+ setClothesWasherOperationMode(this.clothesWasherOperationMode);
}
- if (this.temperature != null) {
- setTemperature(this.temperature);
+ if (this.runState != null) {
+ setRunState(this.runState);
}
- if (this.waterLevel != null) {
- setWaterLevel(this.waterLevel);
+ if (this.clothesWasherJobMode != null) {
+ setClothesWasherJobMode(this.clothesWasherJobMode);
}
- if (this.rinseLevel != null) {
- setRinseLevel(this.rinseLevel);
+ if (this.clothesWasherJobModeOption != null) {
+ setClothesWasherJobModeOption(this.clothesWasherJobModeOption);
}
- if (this.waterFlow != null) {
- setWaterFlow(this.waterFlow);
+ if (this.remoteControlEnable != null) {
+ setRemoteControlEnable(this.remoteControlEnable);
}
- if (this.spinLevel != null) {
- setSpinLevel(this.spinLevel);
+ if (this.timer != null) {
+ setTimer(this.timer);
}
}
-
- @XmlElement(name="binSh", required=true, type=BinarySwitchFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
+
+ @XmlElement(name=BinarySwitchFlexContainer.SHORT_NAME, required=true, type=BinarySwitchFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
private BinarySwitchFlexContainer binarySwitch;
-
-
+
public void setBinarySwitch(BinarySwitchFlexContainer binarySwitch) {
this.binarySwitch = binarySwitch;
getFlexContainerOrContainerOrSubscription().add(binarySwitch);
@@ -91,102 +85,82 @@ public class DeviceClothesWasherFlexContainer extends AbstractFlexContainer {
return binarySwitch;
}
- @XmlElement(name="timer", required=true, type=TimerFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
- private TimerFlexContainer timer;
-
-
- public void setTimer(TimerFlexContainer timer) {
- this.timer = timer;
- getFlexContainerOrContainerOrSubscription().add(timer);
+ @XmlElement(name=OperationModeFlexContainer.SHORT_NAME, required=true, type=OperationModeFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
+ private OperationModeFlexContainer clothesWasherOperationMode;
+
+ public void setClothesWasherOperationMode(OperationModeFlexContainer clothesWasherOperationMode) {
+ this.clothesWasherOperationMode = clothesWasherOperationMode;
+ getFlexContainerOrContainerOrSubscription().add(clothesWasherOperationMode);
}
- public TimerFlexContainer getTimer() {
- this.timer = (TimerFlexContainer) getResourceByName(TimerFlexContainer.SHORT_NAME);
- return timer;
+ public OperationModeFlexContainer getClothesWasherOperationMode() {
+ this.clothesWasherOperationMode = (OperationModeFlexContainer) getResourceByName(OperationModeFlexContainer.SHORT_NAME);
+ return clothesWasherOperationMode;
}
- @XmlElement(name="runMe", required=true, type=RunModeFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
- private RunModeFlexContainer runMode;
-
-
- public void setRunMode(RunModeFlexContainer runMode) {
- this.runMode = runMode;
- getFlexContainerOrContainerOrSubscription().add(runMode);
+ @XmlElement(name=RunStateFlexContainer.SHORT_NAME, required=true, type=RunStateFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
+ private RunStateFlexContainer runState;
+
+ public void setRunState(RunStateFlexContainer runState) {
+ this.runState = runState;
+ getFlexContainerOrContainerOrSubscription().add(runState);
}
- public RunModeFlexContainer getRunMode() {
- this.runMode = (RunModeFlexContainer) getResourceByName(RunModeFlexContainer.SHORT_NAME);
- return runMode;
+ public RunStateFlexContainer getRunState() {
+ this.runState = (RunStateFlexContainer) getResourceByName(RunStateFlexContainer.SHORT_NAME);
+ return runState;
}
- @XmlElement(name="tempe", required=true, type=TemperatureFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
- private TemperatureFlexContainer temperature;
-
-
- public void setTemperature(TemperatureFlexContainer temperature) {
- this.temperature = temperature;
- getFlexContainerOrContainerOrSubscription().add(temperature);
+ @XmlElement(name=ClothesWasherJobModeFlexContainer.SHORT_NAME, required=true, type=ClothesWasherJobModeFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
+ private ClothesWasherJobModeFlexContainer clothesWasherJobMode;
+
+ public void setClothesWasherJobMode(ClothesWasherJobModeFlexContainer clothesWasherJobMode) {
+ this.clothesWasherJobMode = clothesWasherJobMode;
+ getFlexContainerOrContainerOrSubscription().add(clothesWasherJobMode);
}
- public TemperatureFlexContainer getTemperature() {
- this.temperature = (TemperatureFlexContainer) getResourceByName(TemperatureFlexContainer.SHORT_NAME);
- return temperature;
+ public ClothesWasherJobModeFlexContainer getClothesWasherJobMode() {
+ this.clothesWasherJobMode = (ClothesWasherJobModeFlexContainer) getResourceByName(ClothesWasherJobModeFlexContainer.SHORT_NAME);
+ return clothesWasherJobMode;
}
- @XmlElement(name="watLl", required=true, type=WaterLevelFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
- private WaterLevelFlexContainer waterLevel;
-
-
- public void setWaterLevel(WaterLevelFlexContainer waterLevel) {
- this.waterLevel = waterLevel;
- getFlexContainerOrContainerOrSubscription().add(waterLevel);
+ @XmlElement(name=ClothesWasherJobModeOptionFlexContainer.SHORT_NAME, required=true, type=ClothesWasherJobModeOptionFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
+ private ClothesWasherJobModeOptionFlexContainer clothesWasherJobModeOption;
+
+ public void setClothesWasherJobModeOption(ClothesWasherJobModeOptionFlexContainer clothesWasherJobModeOption) {
+ this.clothesWasherJobModeOption = clothesWasherJobModeOption;
+ getFlexContainerOrContainerOrSubscription().add(clothesWasherJobModeOption);
}
- public WaterLevelFlexContainer getWaterLevel() {
- this.waterLevel = (WaterLevelFlexContainer) getResourceByName(WaterLevelFlexContainer.SHORT_NAME);
- return waterLevel;
+ public ClothesWasherJobModeOptionFlexContainer getClothesWasherJobModeOption() {
+ this.clothesWasherJobModeOption = (ClothesWasherJobModeOptionFlexContainer) getResourceByName(ClothesWasherJobModeOptionFlexContainer.SHORT_NAME);
+ return clothesWasherJobModeOption;
}
- @XmlElement(name="rinLl", required=true, type=RinseLevelFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
- private RinseLevelFlexContainer rinseLevel;
-
-
- public void setRinseLevel(RinseLevelFlexContainer rinseLevel) {
- this.rinseLevel = rinseLevel;
- getFlexContainerOrContainerOrSubscription().add(rinseLevel);
+ @XmlElement(name=RemoteControlEnableFlexContainer.SHORT_NAME, required=true, type=RemoteControlEnableFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
+ private RemoteControlEnableFlexContainer remoteControlEnable;
+
+ public void setRemoteControlEnable(RemoteControlEnableFlexContainer remoteControlEnable) {
+ this.remoteControlEnable = remoteControlEnable;
+ getFlexContainerOrContainerOrSubscription().add(remoteControlEnable);
}
- public RinseLevelFlexContainer getRinseLevel() {
- this.rinseLevel = (RinseLevelFlexContainer) getResourceByName(RinseLevelFlexContainer.SHORT_NAME);
- return rinseLevel;
+ public RemoteControlEnableFlexContainer getRemoteControlEnable() {
+ this.remoteControlEnable = (RemoteControlEnableFlexContainer) getResourceByName(RemoteControlEnableFlexContainer.SHORT_NAME);
+ return remoteControlEnable;
}
- @XmlElement(name="watFw", required=true, type=WaterFlowFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
- private WaterFlowFlexContainer waterFlow;
-
-
- public void setWaterFlow(WaterFlowFlexContainer waterFlow) {
- this.waterFlow = waterFlow;
- getFlexContainerOrContainerOrSubscription().add(waterFlow);
- }
-
- public WaterFlowFlexContainer getWaterFlow() {
- this.waterFlow = (WaterFlowFlexContainer) getResourceByName(WaterFlowFlexContainer.SHORT_NAME);
- return waterFlow;
- }
-
- @XmlElement(name="spiLl", required=true, type=SpinLevelFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
- private SpinLevelFlexContainer spinLevel;
-
-
- public void setSpinLevel(SpinLevelFlexContainer spinLevel) {
- this.spinLevel = spinLevel;
- getFlexContainerOrContainerOrSubscription().add(spinLevel);
+ @XmlElement(name=TimerFlexContainer.SHORT_NAME, required=true, type=TimerFlexContainer.class, namespace="http://www.onem2m.org/xml/protocols/homedomain")
+ private TimerFlexContainer timer;
+
+ public void setTimer(TimerFlexContainer timer) {
+ this.timer = timer;
+ getFlexContainerOrContainerOrSubscription().add(timer);
}
- public SpinLevelFlexContainer getSpinLevel() {
- this.spinLevel = (SpinLevelFlexContainer) getResourceByName(SpinLevelFlexContainer.SHORT_NAME);
- return spinLevel;
+ public TimerFlexContainer getTimer() {
+ this.timer = (TimerFlexContainer) getResourceByName(TimerFlexContainer.SHORT_NAME);
+ return timer;
}
-} \ No newline at end of file
+}

Back to the top