at.ac.tuwien.infosys.sm4all.copal.api.event
Enum XMLContextEvent.Property

java.lang.Object
  extended by java.lang.Enum<XMLContextEvent.Property>
      extended by at.ac.tuwien.infosys.sm4all.copal.api.event.XMLContextEvent.Property
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XMLContextEvent.Property>
Enclosing class:
XMLContextEvent

public static enum XMLContextEvent.Property
extends java.lang.Enum<XMLContextEvent.Property>

Retrievable property marshaled in a XMLContextEvent.

Author:
sanjin

Enum Constant Summary
CurrentAction
          The name of the CurrentAction in a XMLContextEvent.
Priority
          The priority of a XMLContextEvent.
Processed
          If a XMLContextEvent is fully processed i.e.
SourceID
          The source ID of a XMLContextEvent.
TimeStamp
          The time stamp of a XMLContextEvent.
TimeToLive
          The time-to-live of a XMLContextEvent.
Type
          The name of the XMLContextEventType associated with a XMLContextEvent.
 
Field Summary
protected static java.lang.String EVENT_ELEMENT_XPATH
          The XPath to retrieve the XMLContextEvent.EVENT_ELEMENT Element.
 
Method Summary
 java.lang.Class<?> getType()
          Return the type of this XMLContextEvent.Property.
abstract  java.lang.String getXPath()
          Return the XPath to retrieve the value of this XMLContextEvent.Property.
 java.lang.String toString()
           
static XMLContextEvent.Property valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XMLContextEvent.Property[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Type

public static final XMLContextEvent.Property Type
The name of the XMLContextEventType associated with a XMLContextEvent.


SourceID

public static final XMLContextEvent.Property SourceID
The source ID of a XMLContextEvent.


TimeStamp

public static final XMLContextEvent.Property TimeStamp
The time stamp of a XMLContextEvent.


TimeToLive

public static final XMLContextEvent.Property TimeToLive
The time-to-live of a XMLContextEvent.


Priority

public static final XMLContextEvent.Property Priority
The priority of a XMLContextEvent.


CurrentAction

public static final XMLContextEvent.Property CurrentAction
The name of the CurrentAction in a XMLContextEvent.


Processed

public static final XMLContextEvent.Property Processed
If a XMLContextEvent is fully processed i.e. there are no more UnprocessedActions and no CurrentAction.

Field Detail

EVENT_ELEMENT_XPATH

protected static final java.lang.String EVENT_ELEMENT_XPATH
The XPath to retrieve the XMLContextEvent.EVENT_ELEMENT Element.

Method Detail

values

public static XMLContextEvent.Property[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XMLContextEvent.Property c : XMLContextEvent.Property.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XMLContextEvent.Property valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getType

public java.lang.Class<?> getType()
Return the type of this XMLContextEvent.Property.

Returns:
the type of this XMLContextEvent.Property.

getXPath

public abstract java.lang.String getXPath()
Return the XPath to retrieve the value of this XMLContextEvent.Property.

Returns:
the XPath to retrieve the value of this XMLContextEvent.Property.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<XMLContextEvent.Property>


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