2 * Copyright © 2016-2018 European Support Limited
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.openecomp.sdc.tosca.datatypes.model;
19 import java.util.List;
21 public class DefinitionOfDataType {
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;
32 public String getType() {
36 public void setType(String type) {
40 public String getDescription() {
44 public void setDescription(String description) {
45 this.description = description;
48 public Object getValue() {
52 public void setValue(Object value) {
56 public Boolean getRequired() {
60 public void setRequired(Boolean required) {
61 this.required = required;
64 public Object get_default() {
68 public void set_default(Object _default) {
69 this._default = _default;
72 public Status getStatus() {
76 public void setStatus(Status status) {
80 public List<Constraint> getConstraints() {
84 public void setConstraints(List<Constraint> constraints) {
85 this.constraints = constraints;
88 public EntrySchema getEntry_schema() {
92 public void setEntry_schema(EntrySchema entry_schema) {
93 this.entry_schema = entry_schema;