public final class EventValueDescription
extends java.lang.Object
EventContainer
value.
This is a stand-alone object, not linked to a particular Event. It describes the value, by
name, type (EventContainer.EventValueType
), and (if needed) value unit (EventValueDescription.ValueType
).
The index of the value is not contained within this class, and is instead dependent on the
index of this particular object in the array of EventValueDescription
returned by
EventLogParser.getEventInfoMap()
when queried for a particular event tag.
Modifier and Type | Class and Description |
---|---|
static class |
EventValueDescription.ValueType
Represents the type of a numerical value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkForType(java.lang.Object value)
Checks if the value is of the proper type for this receiver.
|
EventContainer.EventValueType |
getEventValueType() |
java.lang.String |
getName() |
java.lang.Object |
getObjectFromString(java.lang.String value)
Returns an object of a valid type (based on the value returned by
getEventValueType() ) from a String value. |
EventValueDescription.ValueType |
getValueType() |
java.lang.String |
toString() |
public java.lang.String getName()
public EventContainer.EventValueType getEventValueType()
EventContainer.EventValueType
.public EventValueDescription.ValueType getValueType()
EventValueDescription.ValueType
.public java.lang.String toString()
toString
in class java.lang.Object
public boolean checkForType(java.lang.Object value)
value
- the value to check.public java.lang.Object getObjectFromString(java.lang.String value)
getEventValueType()
) from a String value.
IMPORTANT EventContainer.EventValueType.LIST
and EventContainer.EventValueType.TREE
are not
supported.
value
- the value of the object expressed as a string.