4c062e3fab3eabb5c40b2c983798a6dc315c078c
[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 java.io.Serializable;
24
25 public class AdditionalInfoParameterDataDefinition implements Serializable {
26
27         /**
28          * 
29          */
30         private static final long serialVersionUID = -565365728516901670L;
31
32         private String uniqueId;
33
34         private Long creationTime;
35
36         private Long modificationTime;
37
38         private Integer lastCreatedCounter = 0;
39
40         public AdditionalInfoParameterDataDefinition() {
41
42         }
43
44         public AdditionalInfoParameterDataDefinition(AdditionalInfoParameterDataDefinition p) {
45                 this.uniqueId = p.uniqueId;
46                 this.creationTime = p.creationTime;
47                 this.modificationTime = p.modificationTime;
48                 this.lastCreatedCounter = p.lastCreatedCounter;
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         @Override
84         public String toString() {
85                 return "AdditionalInfoParameterDataDefinition [uniqueId=" + uniqueId + ", creationTime=" + creationTime
86                                 + ", modificationTime=" + modificationTime + ", lastCreatedCounter=" + lastCreatedCounter + "]";
87         }
88
89 }