|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.EventLogData
public class EventLogData
A data structure holding the information to be logged about an event. TODO: add a timestamp field for when the event occurred.
| Constructor Summary | |
|---|---|
EventLogData(java.lang.String ipAddress,
java.lang.String principal,
java.lang.String docid,
java.lang.String event)
Construct an EventLogData object with event log information. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDocid()
Get the current value of the document identifier. |
java.lang.String |
getEvent()
Get the current value of the event. |
java.lang.String |
getIpAddress()
Get the current value of the internet protocol address. |
java.lang.String |
getPrincipal()
Get the current value of the principal. |
void |
setDocid(java.lang.String docid)
Set the document identifier. |
void |
setEvent(java.lang.String event)
Set the current value of the event. |
void |
setIpAddress(java.lang.String ipAddress)
Set the current value of the internet protocol address. |
void |
setPrincipal(java.lang.String principal)
Set the current value of the principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventLogData(java.lang.String ipAddress,
java.lang.String principal,
java.lang.String docid,
java.lang.String event)
ipAddress - the internet protocol address for the eventprincipal - the principal for the event (a username, etc)docid - the identifier of the document to which the event appliesrevision - the revision of the document to which the event appliesevent - the string code for the event| Method Detail |
|---|
public java.lang.String getDocid()
public void setDocid(java.lang.String docid)
docid - The docid to set.public java.lang.String getEvent()
public void setEvent(java.lang.String event)
event - The event to set.public java.lang.String getIpAddress()
public void setIpAddress(java.lang.String ipAddress)
ipAddress - The ipAddress to set.public java.lang.String getPrincipal()
public void setPrincipal(java.lang.String principal)
principal - The principal to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||