Sync Integ to Master
[sdc.git] / common-be / src / main / java / org / openecomp / sdc / be / datatypes / elements / AdditionalInfoParameterDataDefinition.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.sdc.be.datatypes.elements;
22
23 import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition;
24
25 import java.io.Serializable;
26 import java.util.List;
27
28 public class AdditionalInfoParameterDataDefinition extends ToscaDataDefinition implements Serializable {
29
30         /**
31          * 
32          */
33         private static final long serialVersionUID = -565365728516901670L;
34
35         private String uniqueId;
36
37         private Long creationTime;
38
39         private Long modificationTime;
40
41         private Integer lastCreatedCounter = 0;
42
43         private List<AdditionalInfoParameterInfo> parameters;
44
45         public AdditionalInfoParameterDataDefinition() {
46
47         }
48
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;
55         }
56
57         public String getUniqueId() {
58                 return uniqueId;
59         }
60
61         public void setUniqueId(String uniqueId) {
62                 this.uniqueId = uniqueId;
63         }
64
65         public Long getCreationTime() {
66                 return creationTime;
67         }
68
69         public void setCreationTime(Long creationTime) {
70                 this.creationTime = creationTime;
71         }
72
73         public Long getModificationTime() {
74                 return modificationTime;
75         }
76
77         public void setModificationTime(Long modificationTime) {
78                 this.modificationTime = modificationTime;
79         }
80
81         public Integer getLastCreatedCounter() {
82                 return lastCreatedCounter;
83         }
84
85         public void setLastCreatedCounter(Integer lastCreatedCounter) {
86                 this.lastCreatedCounter = lastCreatedCounter;
87         }
88         public List<AdditionalInfoParameterInfo> getParameters() {
89                 return parameters;
90         }
91
92         public void setParameters(List<AdditionalInfoParameterInfo> parameters) {
93                 this.parameters = parameters;
94         }
95         @Override
96         public String toString() {
97                 return "AdditionalInfoParameterDataDefinition [uniqueId=" + uniqueId + ", creationTime=" + creationTime
98                                 + ", modificationTime=" + modificationTime + ", lastCreatedCounter=" + lastCreatedCounter + "]";
99         }
100
101 }