Update license and poms
[aai/sparky-be.git] / sparkybe-onap-service / src / main / java / org / onap / aai / sparky / subscription / config / SubscriptionConfig.java
1 /**
2  * ============LICENSE_START=======================================================
3  * org.onap.aai
4  * ================================================================================
5  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * Copyright © 2017-2018 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
11  *
12  *       http://www.apache.org/licenses/LICENSE-2.0
13  *
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  */
21 package org.onap.aai.sparky.subscription.config;
22
23 import java.util.Collection;
24
25
26 /**
27  * The Class SubscriptionConfig.
28  */
29 public class SubscriptionConfig {
30
31   private static final String EMPTY_TARGET = "";
32   private static final String EMPTY_ORIGIN = "";
33   private static final String EMPTY_MESSAGE_TYPE = "";
34   private static final String EMPTY_TOPIC = "";
35
36
37   private String subscriptionTarget = EMPTY_TARGET;
38   private String subscriptionOrigin = EMPTY_ORIGIN;
39   private String subscriptionMessageType = EMPTY_MESSAGE_TYPE;
40   private String subscriptionTopic = EMPTY_TOPIC;
41
42   private String launchOITarget = EMPTY_TARGET;
43   private String launchOIOrigin = EMPTY_ORIGIN;
44   private String launchOIMessageType = EMPTY_MESSAGE_TYPE;
45   private String launchOITopic = EMPTY_TOPIC;
46
47   private Boolean isLaunchOIEnabled = false;
48
49   private Collection<String> annEntitiyTypes;
50
51   /**
52    * Instantiates a new Subscription config.
53    */
54   public SubscriptionConfig() {}
55
56   public String getSubscriptionTarget() {
57     return subscriptionTarget;
58   }
59
60   public void setSubscriptionTarget(String target) {
61     this.subscriptionTarget = target;
62   }
63
64   public String getSubscriptionOrigin() {
65     return subscriptionOrigin;
66   }
67
68   public void setSubscriptionOrigin(String origin) {
69     this.subscriptionOrigin = origin;
70   }
71
72   public String getSubscriptionMessageType() {
73     return subscriptionMessageType;
74   }
75
76   public void setSubscriptionMessageType(String messageType) {
77     this.subscriptionMessageType = messageType;
78   }
79
80   public String getSubscriptionTopic() {
81     return subscriptionTopic;
82   }
83
84   public void setSubscriptionTopic(String topic) {
85     this.subscriptionTopic = topic;
86   }
87
88   public String getLaunchOITarget() {
89     return launchOITarget;
90   }
91
92   public void setLaunchOITarget(String launchOITarget) {
93     this.launchOITarget = launchOITarget;
94   }
95
96   public String getLaunchOIOrigin() {
97     return launchOIOrigin;
98   }
99
100   public void setLaunchOIOrigin(String launchOIOrigin) {
101     this.launchOIOrigin = launchOIOrigin;
102   }
103
104   public String getLaunchOIMessageType() {
105     return launchOIMessageType;
106   }
107
108   public void setLaunchOIMessageType(String launchOIMessageType) {
109     this.launchOIMessageType = launchOIMessageType;
110   }
111
112   public String getLaunchOITopic() {
113     return launchOITopic;
114   }
115
116   public void setLaunchOITopic(String launchOITopic) {
117     this.launchOITopic = launchOITopic;
118   }
119
120   public Collection<String> getAnnEntitiyTypes() {
121     return annEntitiyTypes;
122   }
123
124   public void setAnnEntitiyTypes(Collection<String> annEntitiyTypes) {
125     this.annEntitiyTypes = annEntitiyTypes;
126   }
127
128   public Boolean getIsLaunchOIEnabled() {
129     return isLaunchOIEnabled;
130   }
131
132   public void setIsLaunchOIEnabled(Boolean isLaunchOIEnabled) {
133     this.isLaunchOIEnabled = isLaunchOIEnabled;
134   }
135 }