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