public interface Event
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
An code to identify the error.
|
java.lang.String |
getComponentName()
The name of the component that generated this event
For example JDBC_CONNECTOR
By default the component name is set to the simple name of the class that generated this event.
|
java.lang.Long |
getCreationTimeStamp()
A timestamp to log the creation date of the event.
|
java.lang.String |
getIdentifier()
A document identifier.
|
java.lang.String |
getLabel()
A human readable short text to describe briefly the event
The title is displayed in the UI
The title must not exceed 256 string length() size
|
java.lang.Long |
getModificationTimeStamp()
A timestamp to log the modification date of the event.
|
java.lang.String |
getReportingCodePointer()
Returns the class that created this event
For internal use only
|
java.util.Map<java.lang.Class<? extends java.io.Serializable>,java.lang.Iterable<? extends java.io.Serializable>> |
getSubContexts()
A map that contains all the context object
WARNING this Map is immutable, you cannot add context when you get event contexts
|
<T extends java.io.Serializable> |
getSubContexts(java.lang.Class<T> aClass)
Lists all contexts of a given type
|
java.lang.Long getCreationTimeStamp()
java.lang.Long getModificationTimeStamp()
java.lang.String getCode()
java.lang.String getComponentName()
java.lang.String getLabel()
java.lang.String getReportingCodePointer()
java.lang.String getIdentifier()
java.util.Map<java.lang.Class<? extends java.io.Serializable>,java.lang.Iterable<? extends java.io.Serializable>> getSubContexts()
<T extends java.io.Serializable> java.lang.Iterable<T> getSubContexts(java.lang.Class<T> aClass)
aClass
- Copyright © 2013 Dassault Systèmes, All Rights Reserved.