com.cumulocity.model.event
Class AuditRecord
java.lang.Object
org.svenson.AbstractDynamicProperties
com.cumulocity.model.JSONBase
com.cumulocity.model.Document<GId>
com.cumulocity.model.event.Event
com.cumulocity.model.event.AuditRecord
- All Implemented Interfaces:
- org.svenson.DynamicProperties
public class AuditRecord
- extends Event
An audit record is a notification about an activity which might be relevant
in terms of security or otherwise and should therefore be logged.
The concept is defined in the Core Event
Model.
- Author:
- dems16v0
Methods inherited from class com.cumulocity.model.Document |
get, get, getFragment, getId, getInternalId, getRevision, set, set, set, setId, setInternalId, setRevision, toString |
Methods inherited from class org.svenson.AbstractDynamicProperties |
getProperty, propertyNames, setProperty |
AuditRecord
public AuditRecord()
getUser
@JSONProperty(value="user",
ignoreIfNull=true)
public String getUser()
setUser
public void setUser(String user)
getApplication
@JSONProperty(value="application",
ignoreIfNull=true)
public String getApplication()
setApplication
public void setApplication(String application)
getActivity
@JSONProperty(value="activity",
ignoreIfNull=true)
public String getActivity()
setActivity
public void setActivity(String activity)
getSeverity
@JSONConverter(type=SeverityConverter.class)
@JSONProperty(value="severity",
ignoreIfNull=true)
public Severity getSeverity()
setSeverity
public void setSeverity(Severity severity)
getChanges
@JSONTypeHint(value=Change.class)
@JSONProperty(value="changes",
ignoreIfNull=true)
public final Set<Change> getChanges()
setChanges
public final void setChanges(Set<Change> changes)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Event
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Event
Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.