public final class EventAttribute extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
private String |
name |
private ScalarType |
type |
| Constructor and Description |
|---|
EventAttribute(String name,
String description,
ScalarType type)
Create an EventAttribute with the specified name, description and type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description of the attribute.
|
String |
getName()
Return the name of the attribute.
|
ScalarType |
getType()
Return the type of the attribute.
|
private final String description
private final ScalarType type
public EventAttribute(String name, String description, ScalarType type)
name - The name of the attribute.description - A description of the attribute.type - The type of the attribute.public final String getName()
public final String getDescription()
public final ScalarType getType()