com.ibm.tuningfork.tracegen.types
Class EventAttribute

java.lang.Object
  extended by com.ibm.tuningfork.tracegen.types.EventAttribute

public final class EventAttribute
extends Object

An attribute of an EventType.


Field Summary
private  String description
           
private  String name
           
private  ScalarType type
           
 
Constructor Summary
EventAttribute(String name, String description, ScalarType type)
          Create an EventAttribute with the specified name, description and type.
 
Method Summary
 String getDescription()
          Return the description of the attribute.
 String getName()
          Return the name of the attribute.
 ScalarType getType()
          Return the type of the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private final String name

description

private final String description

type

private final ScalarType type
Constructor Detail

EventAttribute

public EventAttribute(String name,
                      String description,
                      ScalarType type)
Create an EventAttribute with the specified name, description and type.

Parameters:
name - The name of the attribute.
description - A description of the attribute.
type - The type of the attribute.
Method Detail

getName

public final String getName()
Return the name of the attribute.

Returns:
The name of the attribute.

getDescription

public final String getDescription()
Return the description of the attribute.

Returns:
The description of the attribute.

getType

public final ScalarType getType()
Return the type of the attribute.

Returns:
The type of the attribute.