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 java.io.Serializable;
24 import java.util.List;
26 import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
28 public class AdditionalInfoParameterDataDefinition extends ToscaDataDefinition implements Serializable {
33 private static final long serialVersionUID = -565365728516901670L;
35 private String uniqueId;
37 private Long creationTime;
39 private Long modificationTime;
41 private Integer lastCreatedCounter = 0;
43 private List<AdditionalInfoParameterInfo> parameters;
45 public AdditionalInfoParameterDataDefinition() {
49 public AdditionalInfoParameterDataDefinition(AdditionalInfoParameterDataDefinition p) {
50 this.uniqueId = p.uniqueId;
51 this.creationTime = p.creationTime;
52 this.modificationTime = p.modificationTime;
53 this.lastCreatedCounter = p.lastCreatedCounter;
54 this.parameters = p.parameters;
57 public String getUniqueId() {
61 public void setUniqueId(String uniqueId) {
62 this.uniqueId = uniqueId;
65 public Long getCreationTime() {
69 public void setCreationTime(Long creationTime) {
70 this.creationTime = creationTime;
73 public Long getModificationTime() {
74 return modificationTime;
77 public void setModificationTime(Long modificationTime) {
78 this.modificationTime = modificationTime;
81 public Integer getLastCreatedCounter() {
82 return lastCreatedCounter;
85 public void setLastCreatedCounter(Integer lastCreatedCounter) {
86 this.lastCreatedCounter = lastCreatedCounter;
88 public List<AdditionalInfoParameterInfo> getParameters() {
92 public void setParameters(List<AdditionalInfoParameterInfo> parameters) {
93 this.parameters = parameters;
96 public String toString() {
97 return "AdditionalInfoParameterDataDefinition [uniqueId=" + uniqueId + ", creationTime=" + creationTime
98 + ", modificationTime=" + modificationTime + ", lastCreatedCounter=" + lastCreatedCounter + "]";