at.ac.tuwien.infosys.sm4all.copal.api.event.xml
Class TimeStamp

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.XMLElement<T>
      extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.ConcreteElement<Date>
          extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.TimeStamp

public class TimeStamp
extends ConcreteElement<Date>

The COPAL element for the event's time-stamp,

Author:
sanjin

Field Summary
static TimeStamp INSTANCE
          Singleton instance.
 
Method Summary
protected  Date retrieve(Element element)
          Retrieve the value of this element from specified Element.
 void update(Element element, ContextEvent event)
          Update specified Element with value retrieved from specified ContextEvent.
 
Methods inherited from class at.ac.tuwien.infosys.sm4all.copal.api.event.xml.ConcreteElement
createElement, getElement, getXPath, retrieve
 
Methods inherited from class at.ac.tuwien.infosys.sm4all.copal.api.event.xml.XMLElement
getExpression, getQualifiedName, getXMLType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final TimeStamp INSTANCE
Singleton instance.

Method Detail

retrieve

protected Date retrieve(Element element)
                 throws FailedUnmarshallingException
Description copied from class: ConcreteElement
Retrieve the value of this element from specified Element.

Specified by:
retrieve in class ConcreteElement<Date>
Parameters:
element - the Element.
Returns:
the value of this property.
Throws:
FailedUnmarshallingException - if retrieving was not successful.

update

public void update(Element element,
                   ContextEvent event)
Description copied from class: ConcreteElement
Update specified Element with value retrieved from specified ContextEvent.

Specified by:
update in class ConcreteElement<Date>
Parameters:
element - the Element to update.
event - the ContextEvent.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.