2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.dmaap.dbcapi.model;
23 import javax.xml.bind.annotation.XmlRootElement;
25 import org.apache.log4j.Logger;
28 public class Dmaap extends DmaapObject {
30 private String version;
31 private String topicNsRoot;
32 private String dmaapName;
33 private String drProvUrl;
34 private String bridgeAdminTopic;
35 private String loggingUrl;
36 private String nodeKey;
37 private String accessKeyOwner;
40 // no-op constructor used by framework
45 public Dmaap( String ver,
54 this.topicNsRoot = tnr;
57 this.bridgeAdminTopic = bat;
60 this.accessKeyOwner = ako;
61 this.setStatus( DmaapObject_Status.NEW );
65 public String getVersion() {
69 public void setVersion(String version) {
70 this.version = version;
73 public String getTopicNsRoot() {
77 public void setTopicNsRoot(String topicNsRoot) {
78 this.topicNsRoot = topicNsRoot;
81 public String getDmaapName() {
85 public void setDmaapName(String dmaapName) {
86 this.dmaapName = dmaapName;
89 public String getDrProvUrl() {
93 public void setDrProvUrl(String drProvUrl) {
94 this.drProvUrl = drProvUrl;
98 public String getNodeKey() {
102 public void setNodeKey(String nodeKey) {
103 this.nodeKey = nodeKey;
106 public String getAccessKeyOwner() {
107 return accessKeyOwner;
110 public void setAccessKeyOwner(String accessKeyOwner) {
111 this.accessKeyOwner = accessKeyOwner;
115 public String getBridgeAdminTopic() {
116 return bridgeAdminTopic;
119 public void setBridgeAdminTopic(String bridgeAdminTopic) {
120 this.bridgeAdminTopic = bridgeAdminTopic;
123 public String getLoggingUrl() {
127 public void setLoggingUrl(String loggingUrl) {
128 this.loggingUrl = loggingUrl;