Samples JDK
SetDeviceConfigurationRequest.java
1 /**
2  *
3  */
4 package com.freemindcafe.apache.commons.beanutils.sample2;
5 
6 import java.util.ArrayList;
7 import java.util.Date;
8 import java.util.List;
9 
10 /**
11  * @author ic033961
12  *
13  */
15 
16  //meterControlRequest.deviceConfigurations = wfRequest.payload.abc
17  //meterControlRequest.deviceConfigurations.entry.property1 = wfRequest.payload.abc.entry.property2
18  //meterControlRequest.deviceConfigurations[0].
19 
20  private List<String> profiles = new ArrayList<>(10);
21  private List<DeviceConfigurationProfile> deviceConfigurations=new ArrayList<>(10);
22  private List<DeviceInterface> deviceInterfaces=new ArrayList<>();
23  private Date snapShotTime;
24  private Date activationDateTime;
25  /**
26  * @return the deviceConfigurations
27  */
28  public List<DeviceConfigurationProfile> getDeviceConfigurations() {
29  return deviceConfigurations;
30  }
31  /**
32  * @param deviceConfigurations the deviceConfigurations to set
33  */
35  List<DeviceConfigurationProfile> deviceConfigurations) {
36  this.deviceConfigurations = deviceConfigurations;
37  }
38  /**
39  * @return the deviceInterfaces
40  */
41  public List<DeviceInterface> getDeviceInterfaces() {
42  return deviceInterfaces;
43  }
44  /**
45  * @param deviceInterfaces the deviceInterfaces to set
46  */
47  public void setDeviceInterfaces(List<DeviceInterface> deviceInterfaces) {
48  this.deviceInterfaces = deviceInterfaces;
49  }
50  /**
51  * @return the snapShotTime
52  */
53  public Date getSnapShotTime() {
54  return snapShotTime;
55  }
56  /**
57  * @param snapShotTime the snapShotTime to set
58  */
59  public void setSnapShotTime(Date snapShotTime) {
60  this.snapShotTime = snapShotTime;
61  }
62  /**
63  * @return the activationDateTime
64  */
65  public Date getActivationDateTime() {
66  return activationDateTime;
67  }
68  /**
69  * @param activationDateTime the activationDateTime to set
70  */
71  public void setActivationDateTime(Date activationDateTime) {
72  this.activationDateTime = activationDateTime;
73  }
74  public List<String> getProfiles() {
75  return profiles;
76  }
77  public void setProfiles(List<String> something) {
78  this.profiles = something;
79  }
80 }
void setDeviceConfigurations(List< DeviceConfigurationProfile > deviceConfigurations)