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.openecomp.sdc.be.datatypes.elements;
23 import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
25 import java.util.List;
27 public class AdditionalInfoParameterDataDefinition extends ToscaDataDefinition {
29 private String uniqueId;
31 private Long creationTime;
33 private Long modificationTime;
35 private Integer lastCreatedCounter = 0;
37 private List<AdditionalInfoParameterInfo> parameters;
39 public AdditionalInfoParameterDataDefinition() {
43 public AdditionalInfoParameterDataDefinition(AdditionalInfoParameterDataDefinition p) {
44 this.uniqueId = p.uniqueId;
45 this.creationTime = p.creationTime;
46 this.modificationTime = p.modificationTime;
47 this.lastCreatedCounter = p.lastCreatedCounter;
48 this.parameters = p.parameters;
51 public String getUniqueId() {
55 public void setUniqueId(String uniqueId) {
56 this.uniqueId = uniqueId;
59 public Long getCreationTime() {
63 public void setCreationTime(Long creationTime) {
64 this.creationTime = creationTime;
67 public Long getModificationTime() {
68 return modificationTime;
71 public void setModificationTime(Long modificationTime) {
72 this.modificationTime = modificationTime;
75 public Integer getLastCreatedCounter() {
76 return lastCreatedCounter;
79 public void setLastCreatedCounter(Integer lastCreatedCounter) {
80 this.lastCreatedCounter = lastCreatedCounter;
82 public List<AdditionalInfoParameterInfo> getParameters() {
86 public void setParameters(List<AdditionalInfoParameterInfo> parameters) {
87 this.parameters = parameters;
90 public String toString() {
91 return "AdditionalInfoParameterDataDefinition [uniqueId=" + uniqueId + ", creationTime=" + creationTime
92 + ", modificationTime=" + modificationTime + ", lastCreatedCounter=" + lastCreatedCounter + "]";