a85f04050c71649e8c75719692227093d05cc963
[dmaap/dbcapi.git] / src / main / java / org / onap / dmaap / dbcapi / model / DR_Node.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * org.onap.dmaap
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.dmaap.dbcapi.model;
22
23 import javax.xml.bind.annotation.XmlRootElement;
24
25 @XmlRootElement
26 public class DR_Node extends DmaapObject {
27         private String fqdn;
28         private String dcaeLocationName;
29         private String hostName;
30         private String version;
31         
32         public DR_Node() {
33                 
34         }
35         
36         public DR_Node( String f,
37                                         String dLN,
38                                         String hN,
39                                         String v ) {
40                 this.fqdn = f;
41                 this.dcaeLocationName = dLN;
42                 this.hostName = hN;
43                 this.version = v;
44         }
45
46         public String getFqdn() {
47                 return fqdn;
48         }
49
50         public void setFqdn(String fqdn) {
51                 this.fqdn = fqdn;
52         }
53
54         public String getDcaeLocationName() {
55                 return dcaeLocationName;
56         }
57
58         public void setDcaeLocationName(String dcaeLocationName) {
59                 this.dcaeLocationName = dcaeLocationName;
60         }
61
62         public String getHostName() {
63                 return hostName;
64         }
65
66         public void setHostName(String hostName) {
67                 this.hostName = hostName;
68         }
69
70         public String getVersion() {
71                 return version;
72         }
73
74         public void setVersion(String version) {
75                 this.version = version;
76         }
77
78 }