Convert Sparky to Spring-Boot
[aai/sparky-be.git] / sparkybe-onap-service / src / main / java / org / onap / aai / sparky / subscription / config / SubscriptionConfig.java
1 /**
2  * ============LICENSE_START===================================================
3  * SPARKY (AAI UI service)
4  * ============================================================================
5  * Copyright © 2017 AT&T Intellectual Property.
6  * Copyright © 2017 Amdocs
7  * All rights reserved.
8  * ============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=====================================================
21  *
22  * ECOMP and OpenECOMP are trademarks
23  * and service marks of AT&T Intellectual Property.
24  */
25 package org.onap.aai.sparky.subscription.config;
26
27 import java.util.Collection;
28
29
30 /**
31  * The Class SubscriptionConfig.
32  */
33 public class SubscriptionConfig {
34
35   private static final String EMPTY_TARGET = "";
36   private static final String EMPTY_ORIGIN = "";
37   private static final String EMPTY_MESSAGE_TYPE = "";
38   private static final String EMPTY_TOPIC = "";
39
40
41   private String subscriptionTarget = EMPTY_TARGET;
42   private String subscriptionOrigin = EMPTY_ORIGIN;
43   private String subscriptionMessageType = EMPTY_MESSAGE_TYPE;
44   private String subscriptionTopic = EMPTY_TOPIC;
45
46   private String launchOITarget = EMPTY_TARGET;
47   private String launchOIOrigin = EMPTY_ORIGIN;
48   private String launchOIMessageType = EMPTY_MESSAGE_TYPE;
49   private String launchOITopic = EMPTY_TOPIC;
50
51   private Boolean isLaunchOIEnabled = false;
52
53   private Collection<String> annEntitiyTypes;
54
55   /**
56    * Instantiates a new Subscription config.
57    */
58   public SubscriptionConfig() {}
59
60   public String getSubscriptionTarget() {
61     return subscriptionTarget;
62   }
63
64   public void setSubscriptionTarget(String target) {
65     this.subscriptionTarget = target;
66   }
67
68   public String getSubscriptionOrigin() {
69     return subscriptionOrigin;
70   }
71
72   public void setSubscriptionOrigin(String origin) {
73     this.subscriptionOrigin = origin;
74   }
75
76   public String getSubscriptionMessageType() {
77     return subscriptionMessageType;
78   }
79
80   public void setSubscriptionMessageType(String messageType) {
81     this.subscriptionMessageType = messageType;
82   }
83
84   public String getSubscriptionTopic() {
85     return subscriptionTopic;
86   }
87
88   public void setSubscriptionTopic(String topic) {
89     this.subscriptionTopic = topic;
90   }
91
92   public String getLaunchOITarget() {
93     return launchOITarget;
94   }
95
96   public void setLaunchOITarget(String launchOITarget) {
97     this.launchOITarget = launchOITarget;
98   }
99
100   public String getLaunchOIOrigin() {
101     return launchOIOrigin;
102   }
103
104   public void setLaunchOIOrigin(String launchOIOrigin) {
105     this.launchOIOrigin = launchOIOrigin;
106   }
107
108   public String getLaunchOIMessageType() {
109     return launchOIMessageType;
110   }
111
112   public void setLaunchOIMessageType(String launchOIMessageType) {
113     this.launchOIMessageType = launchOIMessageType;
114   }
115
116   public String getLaunchOITopic() {
117     return launchOITopic;
118   }
119
120   public void setLaunchOITopic(String launchOITopic) {
121     this.launchOITopic = launchOITopic;
122   }
123
124   public Collection<String> getAnnEntitiyTypes() {
125     return annEntitiyTypes;
126   }
127
128   public void setAnnEntitiyTypes(Collection<String> annEntitiyTypes) {
129     this.annEntitiyTypes = annEntitiyTypes;
130   }
131
132   public Boolean getIsLaunchOIEnabled() {
133     return isLaunchOIEnabled;
134   }
135
136   public void setIsLaunchOIEnabled(Boolean isLaunchOIEnabled) {
137     this.isLaunchOIEnabled = isLaunchOIEnabled;
138   }
139 }