Remove Chinese comments
[msb/java-sdk.git] / src / main / java / org / onap / msb / sdk / discovery / entity / NodeInfo.java
1 /*******************************************************************************
2  * Copyright 2017 ZTE, Inc. and others.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5  * in compliance with the License. You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software distributed under the License
10  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11  * or implied. See the License for the specific language governing permissions and limitations under
12  * the License.
13  ******************************************************************************/
14 package org.onap.msb.sdk.discovery.entity;
15
16 import java.util.Date;
17
18 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
19 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
20
21 @JsonIgnoreProperties(ignoreUnknown = true)
22 public class NodeInfo extends Node {
23
24   private static final long serialVersionUID = 8955786461351557306L;
25
26   private String nodeId;
27
28   private String status;
29
30   @JsonSerialize(using = CustomDateSerializer.class)
31   private Date expiration;
32
33   @JsonSerialize(using = CustomDateSerializer.class)
34   private Date created_at;
35
36   @JsonSerialize(using = CustomDateSerializer.class)
37   private Date updated_at;
38
39   public Date getExpiration() {
40     return expiration;
41   }
42
43   public void setExpiration(Date expiration) {
44     this.expiration = expiration;
45   }
46
47   public Date getCreated_at() {
48     return created_at;
49   }
50
51   public void setCreated_at(Date created_at) {
52     this.created_at = created_at;
53   }
54
55   public Date getUpdated_at() {
56     return updated_at;
57   }
58
59   public void setUpdated_at(Date updated_at) {
60     this.updated_at = updated_at;
61   }
62
63   public String getNodeId() {
64     return nodeId;
65   }
66
67   public void setNodeId(String nodeId) {
68     this.nodeId = nodeId;
69   }
70
71   public String getStatus() {
72     return status;
73   }
74
75   public void setStatus(String status) {
76     this.status = status;
77   }
78
79
80 }