public class EventLogData
extends java.lang.Object
| Constructor and Description |
|---|
EventLogData(java.lang.String ipAddress,
java.lang.String userAgent,
java.lang.String principal,
java.lang.String docid,
java.lang.String event)
Construct an EventLogData object with event log information.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getUserAgent() |
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.
|
void |
setUserAgent(java.lang.String userAgent) |
public EventLogData(java.lang.String ipAddress,
java.lang.String userAgent,
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 eventpublic 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.public java.lang.String getUserAgent()
public void setUserAgent(java.lang.String userAgent)
Copyright © 2020 Regents of the University of California. All Rights Reserved.