e92a806032f402c0b249e9ee1657301f16e59cc2
[sdc.git] /
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.util.List;
26
27 public class AdditionalInfoParameterDataDefinition extends ToscaDataDefinition {
28
29     private String uniqueId;
30
31     private Long creationTime;
32
33     private Long modificationTime;
34
35     private Integer lastCreatedCounter = 0;
36
37     private List<AdditionalInfoParameterInfo> parameters;
38
39     public AdditionalInfoParameterDataDefinition() {
40
41     }
42
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;
49     }
50
51     public String getUniqueId() {
52         return uniqueId;
53     }
54
55     public void setUniqueId(String uniqueId) {
56         this.uniqueId = uniqueId;
57     }
58
59     public Long getCreationTime() {
60         return creationTime;
61     }
62
63     public void setCreationTime(Long creationTime) {
64         this.creationTime = creationTime;
65     }
66
67     public Long getModificationTime() {
68         return modificationTime;
69     }
70
71     public void setModificationTime(Long modificationTime) {
72         this.modificationTime = modificationTime;
73     }
74
75     public Integer getLastCreatedCounter() {
76         return lastCreatedCounter;
77     }
78
79     public void setLastCreatedCounter(Integer lastCreatedCounter) {
80         this.lastCreatedCounter = lastCreatedCounter;
81     }
82
83     public List<AdditionalInfoParameterInfo> getParameters() {
84         return parameters;
85     }
86
87     public void setParameters(List<AdditionalInfoParameterInfo> parameters) {
88         this.parameters = parameters;
89     }
90
91     @Override
92     public String toString() {
93         return "AdditionalInfoParameterDataDefinition [uniqueId=" + uniqueId + ", creationTime=" + creationTime
94                 + ", modificationTime=" + modificationTime + ", lastCreatedCounter=" + lastCreatedCounter + "]";
95     }
96
97 }