2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * Copyright (C) 2017 Amdocs
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 package org.openecomp.appc.workflow.objects;
25 public class WorkflowExistsOutput {
27 private boolean mappingExist ;
28 private boolean dgExist;
29 private String workflowModule;
30 private String workflowName;
31 private String workflowVersion;
34 public WorkflowExistsOutput() {
37 public WorkflowExistsOutput(boolean mappingExist, boolean dgExist) {
38 this.mappingExist = mappingExist;
39 this.dgExist = dgExist;
42 public boolean isMappingExist() {
46 public void setMappingExist(boolean mappingExist) {
47 this.mappingExist = mappingExist;
50 public boolean isDgExist() {
54 public void setDgExist(boolean dgExist) {
55 this.dgExist = dgExist;
58 public String getWorkflowName() {
62 public void setWorkflowName(String workflowName) {
63 this.workflowName = workflowName;
66 public String getWorkflowVersion() {
67 return workflowVersion;
70 public void setWorkflowVersion(String workflowVersion) {
71 this.workflowVersion = workflowVersion;
74 public String getWorkflowModule() {
75 return workflowModule;
78 public void setWorkflowModule(String workflowModule) {
79 this.workflowModule = workflowModule;
81 public boolean exists(){
82 return mappingExist && dgExist;
86 public String toString() {
87 return "WorkflowExistsOutput{" +
88 "mappingExist=" + mappingExist +
89 ", dgExist=" + dgExist +
90 ", workflowModule='" + workflowModule + '\'' +
91 ", workflowName='" + workflowName + '\'' +
92 ", workflowVersion='" + workflowVersion + '\'' +