public class AuditEntry
extends java.lang.Object
implements java.io.Serializable
Java class for auditEntry complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="auditEntry"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="date" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="user" type="{http://www.iknowbase.com/ws/iknowbase-2}userReference"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.Calendar |
date |
protected UserReference |
user |
Constructor and Description |
---|
AuditEntry()
Default no-arg constructor
|
AuditEntry(java.util.Calendar date,
UserReference user)
Fully-initialising value constructor
|
AuditEntry(java.time.Instant instant,
UserReference user) |
AuditEntry(java.time.LocalDateTime dateTime,
UserReference user) |
AuditEntry(java.time.ZonedDateTime dateTime,
UserReference user) |
Modifier and Type | Method and Description |
---|---|
java.util.Calendar |
getDate()
Gets the value of the date property.
|
java.time.Instant |
getDateAsInstant() |
java.time.LocalDateTime |
getDateAsLocalDateTime() |
java.time.ZonedDateTime |
getDateAsZonedDateTime() |
UserReference |
getUser()
Gets the value of the user property.
|
void |
setDate(java.util.Calendar value)
Sets the value of the date property.
|
void |
setDateTime(java.time.LocalDateTime dateTime) |
void |
setDateTime(java.time.ZonedDateTime dateTime) |
void |
setInstant(java.time.Instant instant) |
void |
setUser(UserReference value)
Sets the value of the user property.
|
AuditEntry |
withDate(java.util.Calendar value) |
AuditEntry |
withUser(UserReference value) |
protected java.util.Calendar date
protected UserReference user
public AuditEntry()
public AuditEntry(java.util.Calendar date, UserReference user)
public AuditEntry(java.time.ZonedDateTime dateTime, UserReference user)
public AuditEntry(java.time.LocalDateTime dateTime, UserReference user)
public AuditEntry(java.time.Instant instant, UserReference user)
public java.util.Calendar getDate()
String
public void setDate(java.util.Calendar value)
value
- allowed object is
String
public UserReference getUser()
UserReference
public void setUser(UserReference value)
value
- allowed object is
UserReference
public AuditEntry withDate(java.util.Calendar value)
public AuditEntry withUser(UserReference value)
public java.time.ZonedDateTime getDateAsZonedDateTime()
public java.time.LocalDateTime getDateAsLocalDateTime()
public java.time.Instant getDateAsInstant()
public void setDateTime(java.time.ZonedDateTime dateTime)
public void setDateTime(java.time.LocalDateTime dateTime)
public void setInstant(java.time.Instant instant)
Copyright © Acando AS. All Rights Reserved.