2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.vid.asdc.beans.tosca;
26 public class Property {
31 /** The description. */
32 private String description;
34 /** The entry schema. */
35 private Schema entry_schema;
38 private String _default;
41 private boolean required;
44 * Instantiates a new property.
53 public String getType() {
58 * Gets the description.
60 * @return the description
62 public String getDescription() {
67 * Gets the entry schema.
69 * @return the entry schema
71 public Schema getEntry_schema() {
78 * @param type the new type
80 public void setType(String type) {
85 * Sets the description.
87 * @param description the new description
89 public void setDescription(String description) {
90 this.description = description;
94 * Sets the entry schema.
96 * @param entry_schema the new entry schema
98 public void setEntry_schema(Schema entry_schema) {
99 this.entry_schema = entry_schema;
105 * @return the default
107 public String getDefault() {
112 * Checks if is required.
114 * @return true, if is required
116 public boolean isRequired() {
123 * @param _default the new default
125 public void setDefault(String _default) {
126 this._default = _default;
132 * @param required the new required
134 public void setRequired(boolean required) {
135 this.required = required;