Class AuditEntry
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.AuditEntry
-
- All Implemented Interfaces:
Serializable
public class AuditEntry extends Object implements 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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Calendar
date
protected UserReference
user
-
Constructor Summary
Constructors Constructor Description AuditEntry()
Default no-arg constructorAuditEntry(Instant instant, UserReference user)
AuditEntry(LocalDateTime dateTime, UserReference user)
AuditEntry(ZonedDateTime dateTime, UserReference user)
AuditEntry(Calendar date, UserReference user)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calendar
getDate()
Gets the value of the date property.Instant
getDateAsInstant()
LocalDateTime
getDateAsLocalDateTime()
ZonedDateTime
getDateAsZonedDateTime()
UserReference
getUser()
Gets the value of the user property.void
setDate(Calendar value)
Sets the value of the date property.void
setDateTime(LocalDateTime dateTime)
void
setDateTime(ZonedDateTime dateTime)
void
setInstant(Instant instant)
void
setUser(UserReference value)
Sets the value of the user property.AuditEntry
withDate(Calendar value)
AuditEntry
withUser(UserReference value)
-
-
-
Field Detail
-
date
protected Calendar date
-
user
protected UserReference user
-
-
Constructor Detail
-
AuditEntry
public AuditEntry()
Default no-arg constructor
-
AuditEntry
public AuditEntry(Calendar date, UserReference user)
Fully-initialising value constructor
-
AuditEntry
public AuditEntry(ZonedDateTime dateTime, UserReference user)
-
AuditEntry
public AuditEntry(LocalDateTime dateTime, UserReference user)
-
AuditEntry
public AuditEntry(Instant instant, UserReference user)
-
-
Method Detail
-
getDate
public Calendar getDate()
Gets the value of the date property.- Returns:
- possible object is
String
-
setDate
public void setDate(Calendar value)
Sets the value of the date property.- Parameters:
value
- allowed object isString
-
getUser
public UserReference getUser()
Gets the value of the user property.- Returns:
- possible object is
UserReference
-
setUser
public void setUser(UserReference value)
Sets the value of the user property.- Parameters:
value
- allowed object isUserReference
-
withDate
public AuditEntry withDate(Calendar value)
-
withUser
public AuditEntry withUser(UserReference value)
-
getDateAsZonedDateTime
public ZonedDateTime getDateAsZonedDateTime()
-
getDateAsLocalDateTime
public LocalDateTime getDateAsLocalDateTime()
-
getDateAsInstant
public Instant getDateAsInstant()
-
setDateTime
public void setDateTime(ZonedDateTime dateTime)
-
setDateTime
public void setDateTime(LocalDateTime dateTime)
-
setInstant
public void setInstant(Instant instant)
-
-