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;
24 import java.util.HashMap;
27 * The Class NodeTemplate.
29 public class NodeTemplate {
35 private ToscaMetadata metadata;
37 /** The properties. */
38 private Map<String, Object> properties; //HEAT?
40 /** The requirements. */
41 private Object requirements;
43 public NodeTemplate () {
44 properties = new HashMap<String,Object>();
51 public String getType() {
58 * @param type the new type
60 public void setType(String type) {
67 * @return the metadata
69 public ToscaMetadata getMetadata() {
76 * @param metadata the new metadata
78 public void setMetadata(ToscaMetadata metadata) {
79 this.metadata = metadata;
83 * Gets the properties.
85 * @return the properties
87 public Map<String, Object> getProperties() {
92 * Sets the properties.
94 * @param properties the properties
96 public void setProperties(Map<String, Object> properties) {
97 this.properties = properties;
101 * Gets the requirements.
103 * @return the requirements
105 public Object getRequirements() {
110 * Sets the requirements.
112 * @param requirements the new requirements
114 public void setRequirements(Object requirements) {
115 this.requirements = requirements;