com.mtgi.analytics
Class ImmutableEventDataElement
java.lang.Object
com.mtgi.analytics.EventDataElement
com.mtgi.analytics.ImmutableEventDataElement
- All Implemented Interfaces:
- Serializable
public class ImmutableEventDataElement
- extends EventDataElement
- See Also:
- Serialized Form
Field Summary |
protected T |
next
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
next
protected T extends com.mtgi.analytics.DataLink<T> next
ImmutableEventDataElement
public ImmutableEventDataElement(String name)
isEmpty
public boolean isEmpty()
- Overrides:
isEmpty
in class EventDataElement
- Returns:
- true if this element has no child properties or child elements
add
public void add(String name,
Object value)
- Description copied from class:
EventDataElement
- Set a named attribute on this element. Values may be null. Calling
this method multiple times with the same name will result in previous values
being overwritten.
- Overrides:
add
in class EventDataElement
addElement
public void addElement(EventDataElement child)
- Overrides:
addElement
in class EventDataElement
addElement
public EventDataElement addElement(String name)
- Description copied from class:
EventDataElement
- Add a child element with the given name to this element.
- Overrides:
addElement
in class EventDataElement
setNext
protected void setNext(EventDataElement parent,
EventDataElement next)
- Description copied from class:
EventDataElement
- set the next sibling in the linked list of children under
parent
.
- Overrides:
setNext
in class EventDataElement
setText
public void setText(String text)
- Overrides:
setText
in class EventDataElement