Code ReOrganization and Re-Architecture changes
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / table / SSL.java
1 /*
2  * [[ Authors will Fill in the Copyright header ]]
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Brent Salisbury, Madhu Venugopal, Evan Zeller
9  */
10 package org.opendaylight.ovsdb.lib.table;
11
12 import org.opendaylight.ovsdb.lib.notation.OvsDBMap;
13
14 import com.fasterxml.jackson.annotation.JsonIgnore;
15
16 public class SSL  extends Table<SSL> {
17
18     public static final Name<SSL> NAME = new Name<SSL>("SSL") {};
19     private String ca_cert;
20     private Boolean bootstrap_ca_cert;
21     private String certificate;
22     private String private_key;
23     private OvsDBMap<String, String> external_ids;
24
25     public String getCa_cert() {
26         return ca_cert;
27     }
28     public void setCa_cert(String ca_cert) {
29         this.ca_cert = ca_cert;
30     }
31     public OvsDBMap<String, String> getExternal_ids() {
32         return external_ids;
33     }
34     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
35         this.external_ids = external_ids;
36     }
37     public Boolean getBootstrap_ca_cert() {
38         return bootstrap_ca_cert;
39     }
40     public void setBootstrap_ca_cert(Boolean bootstrap_ca_cert) {
41         this.bootstrap_ca_cert = bootstrap_ca_cert;
42     }
43     public String getCertificate() {
44         return certificate;
45     }
46     public void setCertificate(String certificate) {
47         this.certificate = certificate;
48     }
49     public String getPrivate_key() {
50         return private_key;
51     }
52     public void setPrivate_key(String private_key) {
53         this.private_key = private_key;
54     }
55
56     @Override
57     @JsonIgnore
58     public Name<SSL> getTableName() {
59         return NAME;
60     }
61
62     @Override
63     public String toString() {
64         return "SSL [ca_cert=" + ca_cert + ", bootstrap_ca_cert="
65                 + bootstrap_ca_cert + ", certificate=" + certificate
66                 + ", private_key=" + private_key + ", external_ids="
67                 + external_ids + "]";
68     }
69
70     public enum Column implements org.opendaylight.ovsdb.lib.table.Column<SSL> {
71         ca_cert,
72         bootstrap_ca_cert,
73         certificate,
74         private_key,
75         external_ids}
76 }