/*-\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
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
* 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
*\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
*\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