ActivitySpec - Correcting logger messages
[sdc.git] / common / onap-tosca-datatype / src / main / java / org / onap / sdc / tosca / datatypes / model / DefinitionOfDataType.java
1 /*
2  * Copyright © 2016-2018 European Support Limited
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.onap.sdc.tosca.datatypes.model;
18
19 import java.util.List;
20
21 public class DefinitionOfDataType {
22
23   protected String type;
24   protected String description;
25   protected Object value;
26   protected Boolean required;
27   protected Object _default;
28   protected Status status;
29   protected List<Constraint> constraints;
30   protected EntrySchema entry_schema;
31
32   public String getType() {
33     return type;
34   }
35
36   public void setType(String type) {
37     this.type = type;
38   }
39
40   public String getDescription() {
41     return description;
42   }
43
44   public void setDescription(String description) {
45     this.description = description;
46   }
47
48   public Object getValue() {
49     return value;
50   }
51
52   public void setValue(Object value) {
53     this.value = value;
54   }
55
56   public Boolean getRequired() {
57     return required;
58   }
59
60   public void setRequired(Boolean required) {
61     this.required = required;
62   }
63
64   public Object get_default() {
65     return _default;
66   }
67
68   public void set_default(Object _default) {
69     this._default = _default;
70   }
71
72   public Status getStatus() {
73     return status;
74   }
75
76   public void setStatus(Status status) {
77     this.status = status;
78   }
79
80   public List<Constraint> getConstraints() {
81     return constraints;
82   }
83
84   public void setConstraints(List<Constraint> constraints) {
85     this.constraints = constraints;
86   }
87
88   public EntrySchema getEntry_schema() {
89     return entry_schema;
90   }
91
92   public void setEntry_schema(EntrySchema entry_schema) {
93     this.entry_schema = entry_schema;
94   }
95
96 }