Initial source code
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / MOMetaData.java
diff --git a/mapper/src/main/java/org/commscope/tr069adapter/mapper/MOMetaData.java b/mapper/src/main/java/org/commscope/tr069adapter/mapper/MOMetaData.java
new file mode 100644 (file)
index 0000000..f3b6700
--- /dev/null
@@ -0,0 +1,101 @@
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.mapper;\r
+\r
+import java.io.Serializable;\r
+\r
+public class MOMetaData implements Serializable {\r
+\r
+  private static final long serialVersionUID = -2772256485667214776L;\r
+\r
+  private String moName;\r
+  private String dataType;\r
+\r
+  private boolean isReadOnly;\r
+  private boolean isTabluar;\r
+  private boolean isTabluarObj;\r
+  private String uri;\r
+\r
+  public MOMetaData() {}\r
+\r
+  public MOMetaData(String moName, String dataType, boolean isReadOnly, boolean isTabluar,\r
+      boolean isTabluarObj) {\r
+    super();\r
+    this.moName = moName;\r
+    this.dataType = dataType;\r
+    this.isReadOnly = isReadOnly;\r
+    this.isTabluar = isTabluar;\r
+    this.isTabluarObj = isTabluarObj;\r
+  }\r
+\r
+  public String getMoName() {\r
+    return moName;\r
+  }\r
+\r
+  public void setMoName(String moName) {\r
+    this.moName = moName;\r
+  }\r
+\r
+  public String getDataType() {\r
+    return dataType;\r
+  }\r
+\r
+  public void setDataType(String dataType) {\r
+    this.dataType = dataType;\r
+  }\r
+\r
+  public boolean isReadOnly() {\r
+    return isReadOnly;\r
+  }\r
+\r
+  public void setReadOnly(boolean isReadOnly) {\r
+    this.isReadOnly = isReadOnly;\r
+  }\r
+\r
+  public boolean isTabluar() {\r
+    return isTabluar;\r
+  }\r
+\r
+  public void setTabluar(boolean isTabluar) {\r
+    this.isTabluar = isTabluar;\r
+  }\r
+\r
+  public boolean isTabluarObj() {\r
+    return isTabluarObj;\r
+  }\r
+\r
+  public void setTabluarObj(boolean isTabluarObj) {\r
+    this.isTabluarObj = isTabluarObj;\r
+  }\r
+\r
+  public String getURI() {\r
+    return uri;\r
+  }\r
+\r
+  public void setURI(String uRI) {\r
+    uri = uRI;\r
+  }\r
+\r
+  @Override\r
+  public String toString() {\r
+    return "MOMetaData [moName=" + moName + ", dataType=" + dataType + ", isReadOnly=" + isReadOnly\r
+        + ", isTabluar=" + isTabluar + "]";\r
+  }\r
+\r
+}\r