* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.openecomp.sdc.be.datatypes.elements;
import com.fasterxml.jackson.annotation.JsonCreator;
super(definition);
setName(name);
}
- public OperationOutputDefinition(String paramName, String paramId) {
+
+ public OperationOutputDefinition(String name, Boolean mandatory, String type) {
super();
- setName(paramName);
- setInputId(paramId);
+ setName(name);
+ setRequired(mandatory);
+ setType(type);
}
+
public String getLabel() {
return (String) getToscaPresentationValue(JsonPresentationFields.ARTIFACT_LABEL);
}
public void setLabel(String name) {
setToscaPresentationValue(JsonPresentationFields.ARTIFACT_LABEL, name);
}
-
}