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