New Optimization Policy
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / jpa / MicroServiceModels.java
index ff4028f..4029ad5 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP-REST
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  * ============LICENSE_END=========================================================
  */
-
-/*
- *                        AT&T - PROPRIETARY
- *          THIS FILE CONTAINS PROPRIETARY INFORMATION OF
- *        AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN
- *             ACCORDANCE WITH APPLICABLE AGREEMENTS.
- *
- *          Copyright (c) 2015 AT&T Knowledge Ventures
- *              Unpublished and Not for Publication
- *                     All Rights Reserved
- */
 package org.onap.policy.rest.jpa;
 
 import java.io.Serializable;
@@ -79,6 +68,9 @@ public class MicroServiceModels implements Serializable{
        @Column (name="sub_attributes", nullable=false, length=2000)
        private String sub_attributes;
        
+       @Column (name="dataOrderInfo", nullable=true, length=2000)
+       private String dataOrderInfo;
+
        @Column (name="version", nullable=false, length=2000)
        private String version;
        
@@ -95,6 +87,14 @@ public class MicroServiceModels implements Serializable{
        public void setSub_attributes(String sub_attributes) {
                this.sub_attributes = sub_attributes;
        }
+       
+       public String getDataOrderInfo() {
+               return dataOrderInfo;
+       }
+
+       public void setDataOrderInfo(String dataOrderInfo) {
+               this.dataOrderInfo = dataOrderInfo;
+       }
 
        public String getVersion() {
                return version;
@@ -116,14 +116,6 @@ public class MicroServiceModels implements Serializable{
                this.userCreatedBy = userCreatedBy;
        }
        
-       public MicroServiceModels(){
-               //An empty constructor
-       }
-       
-       public MicroServiceModels(String userid){
-               //An empty constructor
-       }
-
        public String getAttributes() {
                return attributes;
        }
@@ -187,4 +179,4 @@ public class MicroServiceModels implements Serializable{
        public void setAnnotation(String annotation) {
                this.annotation = annotation;
        }
-}
+}
\ No newline at end of file