@Entity public class EventModel extends Object implements Serializable
Constructor and Description |
---|
EventModel() |
Modifier and Type | Method and Description |
---|---|
void |
addEventAttribute(EventAttributeModel attribute) |
boolean |
equals(Object o) |
Set<String> |
getAliases()
Returns the List of alias Strings.
|
EventAttributeModel |
getAttribute(String name) |
List<String> |
getAttributeNames() |
Set<EventAttributeModel> |
getAttributes()
Returns the List of AttributeDto objects.
|
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 identifier for this event.
|
String |
getName()
Returns the name for this event.
|
int |
hashCode() |
void |
setAliases(Set<String> aliases)
Sets the List of alias Strings.
|
void |
setAttributes(Set<EventAttributeModel> attributes)
Sets the List of Atribute objects.
|
void |
setCatalogId(String catalogId)
Set the catalog id this Event is associated with.
|
void |
setDescription(String description)
Set the event description.
|
void |
setDisplayName(String name)
Set the display name for this event.
|
void |
setId(Long id)
Set the identifier for this event.
|
void |
setName(String name)
Set the name for this event.
|
String |
toString() |
public Long getId()
public void setId(Long id)
id
- the identifier for this event.public String getName()
public void setName(String name)
name
- the name for this event.public String getDisplayName()
public void setDisplayName(String name)
name
- the name to display for this event.public String getDescription()
public void setDescription(String description)
description
- The description of the event.public Set<String> getAliases()
public void setAliases(Set<String> aliases)
aliases
- the List of alias Strings.public String getCatalogId()
public void setCatalogId(String catalogId)
catalogId
- The catalog id or null.public Set<EventAttributeModel> getAttributes()
public EventAttributeModel getAttribute(String name)
public void addEventAttribute(EventAttributeModel attribute)
public void setAttributes(Set<EventAttributeModel> attributes)
attributes
- The List of Attributes.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.