[VID-55] Upgrade Tosca Parser (merge)
[vid.git] / vid-app-common / src / main / java / org / openecomp / vid / asdc / beans / tosca / Input.java
index f988207..e5eec01 100755 (executable)
@@ -1,9 +1,9 @@
 /*-\r
- * ============LICENSE_START=======================================================
- * VID
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
+ * ============LICENSE_START=======================================================\r
+ * VID\r
+ * ================================================================================\r
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
+ * ================================================================================\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
  * You may obtain a copy of the License at\r
  * distributed under the License is distributed on an "AS IS" BASIS,\r
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
  * See the License for the specific language governing permissions and\r
- * limitations under the License.
+ * limitations under the License.\r
  * ============LICENSE_END=========================================================\r
  */\r
 \r
 package org.openecomp.vid.asdc.beans.tosca;\r
 \r
+import org.openecomp.sdc.toscaparser.api.elements.constraints.*;\r
+\r
 import java.util.List;\r
 import java.util.ArrayList;\r
 \r
@@ -42,7 +44,7 @@ public class Input {
        private Input entry_schema;\r
        \r
        /** The constraints */\r
-       private List<Constraint> constraints;\r
+       private List<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint> constraints;\r
        \r
        /** The required field. If not set, the default is true */\r
        private boolean required = true;\r
@@ -51,7 +53,7 @@ public class Input {
         * Instantiates a new input.\r
         */\r
        public Input() {\r
-               constraints = new ArrayList<Constraint>();\r
+               constraints = new ArrayList<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint>();\r
        }\r
        \r
        /**\r
@@ -144,7 +146,7 @@ public class Input {
         *\r
         * @param c the new constraints\r
         */\r
-       public void setConstraints(List<Constraint> c) {\r
+       public void setConstraints(List<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint> c) {\r
                this.constraints = c;\r
        }\r
        /**\r
@@ -152,7 +154,7 @@ public class Input {
         *\r
         * @return the constraints\r
         */\r
-       public List<Constraint> getConstraints() {\r
+       public List<org.openecomp.sdc.toscaparser.api.elements.constraints.Constraint> getConstraints() {\r
                return constraints;\r
        }\r
        \r