aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml
diff options
context:
space:
mode:
Diffstat (limited to 'ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml')
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileFooter.java42
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileHeader.java79
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileSender.java53
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/GranularityPeriod.java56
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Job.java49
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ManagedElement.java65
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollec.java46
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecEnd.java19
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecFile.java68
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasData.java51
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasInfo.java112
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasResult.java34
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasType.java55
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasValue.java63
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ReportingPeriod.java47
-rw-r--r--ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Result.java54
16 files changed, 893 insertions, 0 deletions
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileFooter.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileFooter.java
new file mode 100644
index 0000000..20171bc
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileFooter.java
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class FileFooter {
+private MeasCollecEnd measCollec;
+public FileFooter() {
+
+}
+public FileFooter(MeasCollecEnd measCollec) {
+super();
+this.measCollec = measCollec;
+}
+public MeasCollecEnd getMeasCollec() {
+return measCollec;
+}
+public void setMeasCollec(MeasCollecEnd measCollec) {
+this.measCollec = measCollec;
+}
+@Override
+public String toString() {
+return "FileFooter [measCollec=" + measCollec + "]";
+}
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileHeader.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileHeader.java
new file mode 100644
index 0000000..61cc6bf
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileHeader.java
@@ -0,0 +1,79 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class FileHeader {
+private String dnPrefix;
+private String vendorName;
+private String fileFormatVersion;
+private MeasCollec measCollec;
+private FileSender fileSender;
+public FileHeader() {
+
+}
+public FileHeader(String dnPrefix, String vendorName, String fileFormatVersion, MeasCollec measCollec,
+FileSender fileSender) {
+super();
+this.dnPrefix = dnPrefix;
+this.vendorName = vendorName;
+this.fileFormatVersion = fileFormatVersion;
+this.measCollec = measCollec;
+this.fileSender = fileSender;
+}
+public MeasCollec getMeasCollec() {
+return measCollec;
+}
+public void setMeasCollec(MeasCollec measCollec) {
+this.measCollec = measCollec;
+}
+@XmlAttribute
+public String getDnPrefix() {
+return dnPrefix;
+}
+public void setDnPrefix(String dnPrefix) {
+this.dnPrefix = dnPrefix;
+}
+@XmlAttribute
+public String getVendorName() {
+return vendorName;
+}
+public void setVendorName(String vendorName) {
+this.vendorName = vendorName;
+}
+@XmlAttribute
+public String getFileFormatVersion() {
+return fileFormatVersion;
+}
+public void setFileFormatVersion(String fileFormatVersion) {
+this.fileFormatVersion = fileFormatVersion;
+}
+public FileSender getFileSender() {
+return fileSender;
+}
+public void setFileSender(FileSender fileSender) {
+this.fileSender = fileSender;
+}
+@Override
+public String toString() {
+return "FileHeader [dnPrefix=" + dnPrefix + ", vendorName=" + vendorName + ", fileFormatVersion="
++ fileFormatVersion + ", measCollec=" + measCollec + ", fileSender=" + fileSender + "]";
+}
+}
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileSender.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileSender.java
new file mode 100644
index 0000000..ddf0b1f
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/FileSender.java
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class FileSender {
+private String localDn;
+//private String elementType;
+public FileSender() {
+
+}
+public FileSender(String localDn) {
+super();
+this.localDn = localDn;
+}
+@XmlAttribute
+public String getLocalDn() {
+return localDn;
+}
+public void setLocalDn(String localDn) {
+this.localDn = localDn;
+}
+/*@XmlAttribute
+public String getElementType() {
+return elementType;
+}
+public void setElementType(String elementType) {
+this.elementType = elementType;
+}*/
+@Override
+public String toString() {
+return "FileSender [localDn=" + localDn + "]";
+}
+}
+
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/GranularityPeriod.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/GranularityPeriod.java
new file mode 100644
index 0000000..ef9be95
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/GranularityPeriod.java
@@ -0,0 +1,56 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class GranularityPeriod {
+ private String endTime;
+ private String duration;
+
+ public GranularityPeriod() {
+
+}
+
+ public GranularityPeriod(String endTime, String duration) {
+super();
+this.endTime = endTime;
+this.duration = duration;
+}
+@XmlAttribute
+public String getEndTime() {
+return endTime;
+}
+public void setEndTime(String endTime) {
+this.endTime = endTime;
+}
+@XmlAttribute
+public String getDuration() {
+return duration;
+}
+public void setDuration(String duration) {
+this.duration = duration;
+}
+@Override
+public String toString() {
+return "GranularityPeriod [endTime=" + endTime + ", duration=" + duration + "]";
+}
+}
+
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Job.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Job.java
new file mode 100644
index 0000000..ec38194
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Job.java
@@ -0,0 +1,49 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class Job {
+private String jobId;
+public Job() {
+
+}
+
+public Job(String jobId) {
+super();
+this.jobId = jobId;
+}
+
+@XmlAttribute
+public String getJobId() {
+return jobId;
+}
+
+public void setJobId(String jobId) {
+this.jobId = jobId;
+}
+
+@Override
+public String toString() {
+return "Job [jobId=" + jobId + "]";
+}
+
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ManagedElement.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ManagedElement.java
new file mode 100644
index 0000000..67da4da
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ManagedElement.java
@@ -0,0 +1,65 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class ManagedElement {
+ private String swVersion;
+ private String localDn;
+// private String userLabel;
+
+ public ManagedElement() {
+
+}
+ public ManagedElement(String swVersion, String localDn) {
+super();
+this.swVersion = swVersion;
+this.localDn = localDn;
+//this.userLabel = userLabel;
+}
+@XmlAttribute
+public String getSwVersion() {
+return swVersion;
+}
+public void setSwVersion(String swVersion) {
+this.swVersion = swVersion;
+}
+@XmlAttribute
+public String getLocalDn() {
+return localDn;
+}
+public void setLocalDn(String localDn) {
+this.localDn = localDn;
+}
+/*
+@XmlAttribute
+public String getUserLabel() {
+return userLabel;
+}
+public void setUserLabel(String userLabel) {
+this.userLabel = userLabel;
+}*/
+@Override
+public String toString() {
+return "ManagedElement [swVersion=" + swVersion + ", localDn=" + localDn + "]";
+}
+
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollec.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollec.java
new file mode 100644
index 0000000..d9256b6
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollec.java
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class MeasCollec {
+private String beginTime;
+
+public MeasCollec() {
+
+}
+public MeasCollec(String beginTime) {
+super();
+this.beginTime = beginTime;
+}
+@XmlAttribute
+public String getBeginTime() {
+return beginTime;
+}
+public void setBeginTime(String beginTime) {
+this.beginTime = beginTime;
+}
+
+@Override
+public String toString() {
+return "MeasCollec [beginTime=" + beginTime + "]";
+}
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecEnd.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecEnd.java
new file mode 100644
index 0000000..57e84de
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecEnd.java
@@ -0,0 +1,19 @@
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class MeasCollecEnd {
+@XmlAttribute
+private String endTime;
+public MeasCollecEnd() {
+
+}
+
+public MeasCollecEnd(String endTime) {
+super();
+this.endTime = endTime;
+}
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecFile.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecFile.java
new file mode 100644
index 0000000..8150144
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasCollecFile.java
@@ -0,0 +1,68 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+
+@XmlRootElement
+public class MeasCollecFile {
+@XmlAttribute
+private String xmlns;
+ @XmlElement
+private FileHeader fileHeader;
+ @XmlElement
+private List<MeasData> measData;
+ @XmlElement
+private FileFooter fileFooter;
+public MeasCollecFile() {
+
+}
+public MeasCollecFile(FileHeader fileHeader, List<MeasData> measData, FileFooter fileFooter,String xmlns) {
+super();
+this.fileHeader = fileHeader;
+this.measData = measData;
+this.fileFooter = fileFooter;
+this.xmlns = xmlns;
+}
+// public FileHeader getFileHeader() {
+// return fileHeader;
+// }
+// public void setFileHeader(FileHeader fileHeader) {
+// this.fileHeader = fileHeader;
+// }
+// public List<MeasData> getMeasData() {
+// return measData;
+// }
+// public void setMeasData(List<MeasData> measData) {
+// this.measData = measData;
+// }
+// public FileFooter getFileFooter() {
+// return fileFooter;
+// }
+// public void setFileFooter(FileFooter fileFooter) {
+// this.fileFooter = fileFooter;
+// }
+@Override
+public String toString() {
+return "MeasCollecFile [fileHeader=" + fileHeader + ", measData=" + measData + ", fileFooter=" + fileFooter
++ "]";
+}
+}
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasData.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasData.java
new file mode 100644
index 0000000..70ccd95
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasData.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.onap.ransim.rest.xml.models;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElementWrapper;
+import javax.xml.bind.annotation.XmlRootElement;
+@XmlRootElement
+public class MeasData {
+private ManagedElement managedElement;
+private List<MeasInfo> measInfo;
+public MeasData() {
+}
+public MeasData(ManagedElement managedElement, List<MeasInfo> measInfo) {
+super();
+this.managedElement = managedElement;
+this.measInfo = measInfo;
+}
+public ManagedElement getManagedElement() {
+return managedElement;
+}
+public void setManagedElement(ManagedElement managedElement) {
+this.managedElement = managedElement;
+}
+public List<MeasInfo> getMeasInfo() {
+return measInfo;
+}
+public void setMeasInfo(List<MeasInfo> measInfo) {
+this.measInfo = measInfo;
+}
+@Override
+public String toString() {
+return "MeasData [managedElement=" + managedElement + ", measInfo=" + measInfo + "]";
+}
+
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasInfo.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasInfo.java
new file mode 100644
index 0000000..3e50945
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasInfo.java
@@ -0,0 +1,112 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+@XmlRootElement
+@XmlType(propOrder={"measInfoId","job","granPeriod","repPeriod","measType","measValue"})
+public class MeasInfo {
+ private String measInfoId;
+ private Job job;
+ private GranularityPeriod granPeriod;
+ private ReportingPeriod repPeriod;
+ private List<MeasType> measType;
+ private List<MeasValue> measValue;
+
+
+ public MeasInfo(String measInfoId, Job job, GranularityPeriod granPeriod, ReportingPeriod repPeriod,
+List<MeasType> measType, List<MeasValue> measValue) {
+super();
+this.measInfoId = measInfoId;
+this.job = job;
+this.granPeriod = granPeriod;
+this.repPeriod = repPeriod;
+this.measType = measType;
+this.measValue = measValue;
+}
+
+
+public MeasInfo() {
+}
+
+
+@XmlAttribute
+public String getMeasInfoId() {
+return measInfoId;
+}
+
+public void setMeasInfoId(String measInfoId) {
+this.measInfoId = measInfoId;
+}
+
+
+public Job getJob() {
+return job;
+}
+
+
+public void setJob(Job job) {
+this.job = job;
+}
+
+
+public GranularityPeriod getGranPeriod() {
+return granPeriod;
+}
+
+
+public void setGranPeriod(GranularityPeriod granPeriod) {
+this.granPeriod = granPeriod;
+}
+
+
+public ReportingPeriod getRepPeriod() {
+return repPeriod;
+}
+
+
+public void setRepPeriod(ReportingPeriod repPeriod) {
+this.repPeriod = repPeriod;
+}
+
+public List<MeasType> getMeasType() {
+return measType;
+}
+
+public void setMeasType(List<MeasType> measType) {
+this.measType = measType;
+}
+
+public List<MeasValue> getMeasValue() {
+return measValue;
+}
+
+public void setMeasValue(List<MeasValue> measValue) {
+this.measValue = measValue;
+}
+
+@Override
+public String toString() {
+return "MeasInfo [measInfoId=" + measInfoId + ", job=" + job + ", granPeriod=" + granPeriod + ", repPeriod="
++ repPeriod + ", measType=" + measType + ", measValue=" + measValue + "]";
+}
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasResult.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasResult.java
new file mode 100644
index 0000000..b86e620
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasResult.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import java.util.List;
+
+public class MeasResult {
+private String position;
+private String result;
+public MeasResult(String position, String result) {
+super();
+this.position = position;
+this.result = result;
+}
+public MeasResult() {
+}
+
+
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasType.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasType.java
new file mode 100644
index 0000000..411e218
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasType.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlValue;
+@XmlRootElement
+public class MeasType {
+
+private String measType;
+private int p;
+public MeasType(String measType, int p) {
+super();
+this.measType = measType;
+this.p = p;
+}
+public MeasType() {
+}
+
+@XmlValue
+public String getMeasType() {
+return measType;
+}
+public void setMeasType(String measType) {
+this.measType = measType;
+}
+@XmlAttribute
+public int getP() {
+return p;
+}
+public void setP(int p) {
+this.p = p;
+}
+@Override
+public String toString() {
+return "MeasType [measType=" + measType + ", p=" + p + "]";
+}
+
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasValue.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasValue.java
new file mode 100644
index 0000000..3eea932
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/MeasValue.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+@XmlRootElement
+public class MeasValue {
+private Integer measObjLdn;
+private List<Result> r;
+public MeasValue() {
+
+}
+public MeasValue(Integer measObjLdn, List<Result> r, boolean suspect) {
+super();
+this.measObjLdn = measObjLdn;
+this.r = r;
+this.suspect = suspect;
+}
+private boolean suspect;
+@XmlAttribute
+public Integer getMeasObjLdn() {
+return measObjLdn;
+}
+public void setMeasObjLdn(Integer measObjLdn) {
+this.measObjLdn = measObjLdn;
+}
+public List<Result> getR() {
+return r;
+}
+public void setR(List<Result> r) {
+this.r = r;
+}
+public boolean isSuspect() {
+return suspect;
+}
+public void setSuspect(boolean suspect) {
+this.suspect = suspect;
+}
+@Override
+public String toString() {
+return "MeasValue [measObjLdn=" + measObjLdn + ", r=" + r + ", suspect=" + suspect + "]";
+}
+
+}
+
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ReportingPeriod.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ReportingPeriod.java
new file mode 100644
index 0000000..493f5b9
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/ReportingPeriod.java
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+
+public class ReportingPeriod {
+@XmlAttribute
+ public String getDuration() {
+return duration;
+}
+
+public void setDuration(String duration) {
+this.duration = duration;
+}
+
+private String duration;
+public ReportingPeriod() {
+}
+
+public ReportingPeriod(String duration) {
+super();
+this.duration = duration;
+}
+
+@Override
+public String toString() {
+return "ReportingPeriod [duration=" + duration + "]";
+}
+
+
+}
+
diff --git a/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Result.java b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Result.java
new file mode 100644
index 0000000..f7ff0a0
--- /dev/null
+++ b/ransim/ransimctrlr/RANSIM-CTRLR/src/main/java/org/onap/ransim/rest/xml/models/Result.java
@@ -0,0 +1,54 @@
+/*
+ * Copyright (C) 2018 Wipro Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.ransim.rest.xml.models;
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlValue;
+@XmlRootElement
+public class Result {
+private int p;
+private int measValue;
+public Result() {
+}
+public Result(int p, int measValue) {
+super();
+this.p = p;
+this.measValue = measValue;
+}
+@XmlAttribute
+public int getP() {
+return p;
+}
+public void setP(int p) {
+this.p = p;
+}
+@XmlValue
+public double getMeasValue() {
+return measValue;
+}
+public void setMeasValue(int measValue) {
+this.measValue = measValue;
+}
+@Override
+public String toString() {
+return "Result [p=" + p + ", measValue=" + measValue + "]";
+}
+
+}
+
+