re base code
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / tosca / model / ToscaProperty.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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.openecomp.sdc.be.tosca.model;
22
23 public class ToscaProperty {
24
25
26     private Object _defaultp_;
27     private String type;
28     private String description;
29     private Boolean required;
30     private EntrySchema entry_schema;
31
32     public ToscaProperty(ToscaProperty toscaProperty) {
33         this.type = toscaProperty.type;
34         this._defaultp_ = toscaProperty._defaultp_;
35         this.description = toscaProperty.description;
36         this.required = toscaProperty.required;
37         this.entry_schema = toscaProperty.entry_schema;
38         this.status = toscaProperty.status;
39     }
40
41     private String status;
42
43     public EntrySchema getEntry_schema() {
44         return entry_schema;
45     }
46
47     public void setEntry_schema(EntrySchema entry_schema) {
48         this.entry_schema = entry_schema;
49     }
50
51     public ToscaProperty() {
52     }
53
54     public String getType() {
55         return type;
56     }
57
58     public void setType(String type) {
59         this.type = type;
60     }
61
62     public Object getDefaultp() {
63         return _defaultp_;
64     }
65
66     public void setDefaultp(Object defaultp) {
67         this._defaultp_ = defaultp;
68     }
69
70     public String getDescription() {
71         return description;
72     }
73
74     public void setDescription(String description) {
75         this.description = description;
76     }
77
78     public Boolean getRequired() {
79         return required;
80     }
81
82     public void setRequired(Boolean required) {
83         this.required = required;
84     }
85
86     public String getStatus() {
87         return status;
88     }
89
90     public void setStatus(String status) {
91         this.status = status;
92     }
93
94 }