public interface XesComponent
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(XesAttribute attribute)
Adds an attribute to the component.
|
java.util.List<XesAttribute> |
getAttributes() |
java.lang.Boolean |
getBoolean(java.lang.String key)
Returns the value of the Boolean attribute with the given key.
|
java.util.Date |
getDateTime(java.lang.String key)
Returns the value of the UTC time attribute with the given key.
|
java.util.UUID |
getId(java.lang.String key)
Returns the value of the UUID attribute with the given key.
|
java.lang.Long |
getIntegerNumber(java.lang.String key)
Returns the value of the Integer Number attribute with the given key.
|
java.util.List<XesAttribute> |
getList(java.lang.String key)
Returns the value attributes of the List attribute with the given key.
|
java.lang.Double |
getRealNumber(java.lang.String key)
Returns the value of the Real Number attribute with the given key.
|
java.lang.String |
getString(java.lang.String key)
Returns the value of the String attribute with the given key.
|
java.lang.String |
getStringValue(java.lang.String key)
Returns the value of an attribute as a String.
|
XesAttributeType |
getType(java.lang.String key)
Returns the type of the attribute with the given key.
|
java.lang.Boolean |
setBoolean(java.lang.String key,
java.lang.Boolean value)
Sets the value of a Boolean attribute with the given key.
|
java.util.Date |
setDateTime(java.lang.String key,
java.util.Date value)
Sets the value of a UTC time attribute with the given key.
|
java.util.UUID |
setId(java.lang.String key,
java.util.UUID value)
Sets the value of a UUID attribute with the given key.
|
java.lang.Long |
setIntegerNumber(java.lang.String key,
java.lang.Long value)
Sets the value of an Integer Number attribute with the given key.
|
java.util.List<XesAttribute> |
setList(java.lang.String key,
java.util.List<XesAttribute> values)
Sets the values of a List attribute with the given key.
|
java.lang.Double |
setRealNumber(java.lang.String key,
java.lang.Double value)
Sets the value of a Real Number attribute with the given key.
|
java.lang.String |
setString(java.lang.String key,
java.lang.String value)
Sets the value of a String attribute with the given key.
|
void addAttribute(XesAttribute attribute)
attribute
- The attribute to add.java.util.List<XesAttribute> getAttributes()
java.lang.String getStringValue(java.lang.String key)
key
- The key of the attribute.XesAttributeType getType(java.lang.String key)
key
- The key of the attribute.java.lang.String getString(java.lang.String key)
key
- The key of the attribute.java.util.Date getDateTime(java.lang.String key)
key
- The key of the attribute.java.util.UUID getId(java.lang.String key)
key
- The key of the attribute.java.lang.Long getIntegerNumber(java.lang.String key)
key
- The key of the attribute.java.lang.Double getRealNumber(java.lang.String key)
key
- The key of the attribute.java.lang.Boolean getBoolean(java.lang.String key)
key
- The key of the attribute.java.util.List<XesAttribute> getList(java.lang.String key)
key
- The key of the attribute.java.lang.String setString(java.lang.String key, java.lang.String value)
key
- The given key.value
- The value to set.java.util.Date setDateTime(java.lang.String key, java.util.Date value)
key
- The given key.value
- The value to set.java.util.UUID setId(java.lang.String key, java.util.UUID value)
key
- The given key.value
- The value to set.java.lang.Long setIntegerNumber(java.lang.String key, java.lang.Long value)
key
- The given key.value
- The value to set.java.lang.Double setRealNumber(java.lang.String key, java.lang.Double value)
key
- The given key.value
- The value to set.java.lang.Boolean setBoolean(java.lang.String key, java.lang.Boolean value)
key
- The given key.value
- The value to set.java.util.List<XesAttribute> setList(java.lang.String key, java.util.List<XesAttribute> values)
key
- The given key.value
- The value to set.