public class Event extends Object implements Serializable
Constructor and Description |
---|
Event()
Set default values.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAliases()
Returns the Set of alias Strings.
|
List<EventAttribute> |
getAttributes()
Returns the List of Attribute names.
|
String |
getCatalogId()
Get the Catalog Id this Event is associated with.
|
String |
getDescription()
Return the description of the event.
|
String |
getDisplayName()
Returns the name to display for this event.
|
Long |
getId()
Return the id or the event.
|
String |
getName()
Return the name of the event.
|
Event |
setAliases(Set<String> aliases)
Sets the Set of alias Strings.
|
Event |
setAttributes(List<EventAttribute> attributes)
Sets the List of Atribute names.
|
Event |
setCatalogId(String catalogId)
Set the catalog id this Event is associated with.
|
Event |
setDescription(String description)
Set the event description.
|
Event |
setDisplayName(String name)
Set the display name for this event.
|
void |
setId(Long id)
Set the event's id.
|
Event |
setName(String name)
Sets the name of the event.
|
String |
toString() |
public Long getId()
public void setId(Long id)
id
- the Event's id.public String getName()
public Event setName(String name)
name
- The name of the event.public String getDisplayName()
public Event setDisplayName(String name)
name
- the name to display for this event.public String getDescription()
public Event setDescription(String description)
description
- The description of the event.public String getCatalogId()
public Event setCatalogId(String catalogId)
catalogId
- The catalog id or null.public Set<String> getAliases()
public Event setAliases(Set<String> aliases)
aliases
- the Set of alias Strings.public List<EventAttribute> getAttributes()
public Event setAttributes(List<EventAttribute> attributes)
attributes
- The List of Attribute names.Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.