51ccafb7c20249179d0e8932edf26ce70c8edb09
[policy/gui.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2016-2018 Ericsson. All rights reserved.
4  *  Modifications Copyright (C) 2020 Nordix Foundation.
5  * ================================================================================
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * SPDX-License-Identifier: Apache-2.0
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.policy.gui.editors.apex.rest.handling.bean;
23
24 import javax.xml.bind.annotation.XmlType;
25
26 /**
27  * The ContextAlbum Bean.
28  */
29 @XmlType
30 public class BeanContextAlbum extends BeanBase {
31     private String name = null;
32     private String version = null;
33     private String scope = null;
34     private String uuid = null;
35     private String description = null;
36     private BeanKeyRef itemSchema = null;
37     private boolean writeable;
38
39     /**
40      * Gets the name.
41      *
42      * @return the name
43      */
44     public String getName() {
45         return name;
46     }
47
48     /**
49      * Gets the version.
50      *
51      * @return the version
52      */
53     public String getVersion() {
54         return version;
55     }
56
57     /**
58      * Gets the scope.
59      *
60      * @return the scope
61      */
62     public String getScope() {
63         return scope;
64     }
65
66     /**
67      * Gets the uuid.
68      *
69      * @return the uuid
70      */
71     public String getUuid() {
72         return uuid;
73     }
74
75     /**
76      * Gets the description.
77      *
78      * @return the description
79      */
80     public String getDescription() {
81         return description;
82     }
83
84     /**
85      * Gets the item schema.
86      *
87      * @return the item schema
88      */
89     public BeanKeyRef getItemSchema() {
90         return itemSchema;
91     }
92
93     /**
94      * Gets the writeable.
95      *
96      * @return the writeable
97      */
98     public boolean getWriteable() {
99         return writeable;
100     }
101
102     /**
103      * {@inheritDoc}.
104      */
105     @Override
106     public String toString() {
107         return "ContextAlbum [name=" + name + ", version=" + version + ", scope=" + scope + ", uuid=" + uuid
108             + ", description=" + description + ", itemSchema=" + itemSchema + ", writeable=" + writeable + "]";
109     }
110 }