org.deckfour.xes.model
Interface XAttributeTimestamp

All Superinterfaces:
Cloneable, Comparable<XAttribute>, XAttributable, XAttribute
All Known Implementing Classes:
XAttributeTimestampImpl

public interface XAttributeTimestamp
extends XAttribute

Attribute with timestamp type value.

Author:
Christian W. Guenther (christian@deckfour.org)

Method Summary
 Date getValue()
          Retrieves the timestamp value of this attribute.
 long getValueMillis()
          Retrieves the timestamp value of this attribute, in milliseconds.
 void setValue(Date value)
          Assigns the timestamp value of this attribute.
 void setValueMillis(long value)
          Assigns the timestamp value of this attribute in milliseconds.
 
Methods inherited from interface org.deckfour.xes.model.XAttribute
clone, getExtension, getKey
 
Methods inherited from interface org.deckfour.xes.model.XAttributable
getAttributes, getExtensions, setAttributes
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

setValue

void setValue(Date value)
Assigns the timestamp value of this attribute.

Parameters:
value - Value of the attribute.

setValueMillis

void setValueMillis(long value)
Assigns the timestamp value of this attribute in milliseconds.

Parameters:
value - Value of the attribute.

getValue

Date getValue()
Retrieves the timestamp value of this attribute.

Returns:
Value of this attribute.

getValueMillis

long getValueMillis()
Retrieves the timestamp value of this attribute, in milliseconds.

Returns:
Value of this attribute.