Allow storing database password in environment variables
[policy/engine.git] / LogParser / src / main / java / org / onap / xacml / parser / LogEntryObject.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * LogParser
4  * ================================================================================
5  * Copyright (C) 2017-2018 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.onap.xacml.parser;
22
23 import java.util.Date;
24
25 public class LogEntryObject {
26
27     private String system;
28     private String description;
29     private Date date;
30     private String remote;
31     private String systemType;
32     private LogType logType;
33
34     public enum LogType {
35         INFO, DEBUG, ERROR, SEVERE, WARN;
36     }
37
38     public String getSystem() {
39         return system;
40     }
41
42     public void setSystem(final String system) {
43         this.system = system;
44     }
45
46     public String getDescription() {
47         return description;
48     }
49
50     public void setDescription(final String description) {
51         this.description = description;
52     }
53
54     public Date getDate() {
55         return date;
56     }
57
58     public void setDate(final Date date) {
59         this.date = date;
60     }
61
62     public String getRemote() {
63         return remote;
64     }
65
66     public void setRemote(final String remote) {
67         this.remote = remote;
68     }
69
70     public String getSystemType() {
71         return systemType;
72     }
73
74     public void setSystemType(final String systemType) {
75         this.systemType = systemType;
76     }
77
78     public LogType getLogType() {
79         return logType;
80     }
81
82     public void setLogType(final LogType logType) {
83         this.logType = logType;
84     }
85 }