Former-commit-id:6e44abdba1
[formerly98171b5de9
] [formerlyd3497e47eb
] [formerly6e44abdba1
[formerly98171b5de9
] [formerlyd3497e47eb
] [formerly6958b861f0
[formerlyd3497e47eb
[formerly dddf20c9518c578d1bebd0b5e01b10c5080fd24e]]]] Former-commit-id:6958b861f0
Former-commit-id:c9b563338a
[formerly2c82d9cb07
] [formerly d50a176f97de36460cafeb5bb47f7dc824e33ce1 [formerlycbbdb231ce
]] Former-commit-id: 892afd7b093bec93e8f4c170f6b8ae08bea40239 [formerly560f0d9cc3
] Former-commit-id:35e34308c5
103 lines
2.2 KiB
Java
103 lines
2.2 KiB
Java
/**
|
|
* This software was developed and / or modified by Raytheon Company,
|
|
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
|
*
|
|
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
|
* This software product contains export-restricted data whose
|
|
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
|
* to non-U.S. persons whether in the United States or abroad requires
|
|
* an export license or other authorization.
|
|
*
|
|
* Contractor Name: Raytheon Company
|
|
* Contractor Address: 6825 Pine Street, Suite 340
|
|
* Mail Stop B8
|
|
* Omaha, NE 68106
|
|
* 402.291.0100
|
|
*
|
|
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
|
* further licensing information.
|
|
**/
|
|
package com.raytheon.openfire.plugin.detailedfeedlog;
|
|
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* Contains all the necessary information to be stored in memory for useful
|
|
* logging
|
|
*
|
|
* <pre>
|
|
*
|
|
* SOFTWARE HISTORY
|
|
*
|
|
* Date Ticket# Engineer Description
|
|
* ------------ ---------- ----------- --------------------------
|
|
* Jul 27, 2012 mnash Initial creation
|
|
*
|
|
* </pre>
|
|
*
|
|
* @author mnash
|
|
* @version 1.0
|
|
*/
|
|
|
|
public class LogEntry {
|
|
|
|
private Date date;
|
|
|
|
private String username;
|
|
|
|
private String message;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public LogEntry(Date date, String username, String message) {
|
|
this.date = date;
|
|
this.username = username;
|
|
this.message = message;
|
|
}
|
|
|
|
/**
|
|
* @return the date
|
|
*/
|
|
public Date getDate() {
|
|
return date;
|
|
}
|
|
|
|
/**
|
|
* @param date
|
|
* the date to set
|
|
*/
|
|
public void setDate(Date date) {
|
|
this.date = date;
|
|
}
|
|
|
|
/**
|
|
* @return the username
|
|
*/
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
/**
|
|
* @param username
|
|
* the username to set
|
|
*/
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
/**
|
|
* @return the message
|
|
*/
|
|
public String getMessage() {
|
|
return message;
|
|
}
|
|
|
|
/**
|
|
* @param message
|
|
* the message to set
|
|
*/
|
|
public void setMessage(String message) {
|
|
this.message = message;
|
|
}
|
|
}
|