public class EventAttribute extends Object implements Serializable
Constructor and Description |
---|
EventAttribute() |
EventAttribute(String name,
boolean isRequired) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the attribute.
|
Boolean |
isRequired()
Indicates whether the attribute is required.
|
void |
setName(String attributeName)
Set the name of the Attribute.
|
void |
setRequired(Boolean required)
Sets whether the attribute is required.
|
public EventAttribute()
public EventAttribute(String name, boolean isRequired)
public String getName()
public void setName(String attributeName)
attributeName
- the Attribute's name.public Boolean isRequired()
public void setRequired(Boolean required)
required
- true if the attribute is required, false otherwise.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.