org.apache.muse.ws.dm.muws.events
Interface Situation

All Superinterfaces:
XmlSerializable
All Known Implementing Classes:
SimpleSituation

public interface Situation
extends XmlSerializable

Situation defines the constants and fields for the WSDM Event Format's (WEF) situation data type. This type is embedded in a ManagementEvent when reporting events to subscribers. It is composed of accessor methods for its fields and serialization methods to convertion to and from XML. The constants define the valid values for the fields as defined by WSDM.

Author:
Dan Jemiolo (danj)

Field Summary
static short CRITICAL_SEVERITY
           
static short FATAL_SEVERITY
           
static short HIGH_PRIORITY
           
static short HIGHEST_PRIORITY
           
static short INFO_SEVERITY
           
static short LOW_PRIORITY
           
static short LOWEST_PRIORITY
           
static short MAJOR_SEVERITY
           
static short MEDIUM_PRIORITY
           
static short MINOR_SEVERITY
           
static String SUCCESSFUL
           
static short UNKNOWN_SEVERITY
           
static String UNSUCCESSFUL
           
static short WARNING_SEVERITY
           
 
Method Summary
 QName[] getCategoryType()
           
 String getMessage()
           
 short getPriority()
           
 short getSeverity()
           
 Date getSituationTime()
           
 SubstitutableMessage getSubstitutableMessage()
           
 String getSuccessDisposition()
           
 void setCategoryType(QName categoryType)
           
 void setCategoryType(QName[] categoryType)
           
 void setMessage(String message)
           
 void setPriority(short priority)
           
 void setSeverity(short severity)
           
 void setSituationTime(Date situationTime)
           
 void setSubstitutableMessage(SubstitutableMessage message)
           
 void setSuccessDisposition(String disposition)
           
 
Methods inherited from interface org.apache.muse.util.xml.XmlSerializable
toXML, toXML
 

Field Detail

LOWEST_PRIORITY

static final short LOWEST_PRIORITY
See Also:
Constant Field Values

LOW_PRIORITY

static final short LOW_PRIORITY
See Also:
Constant Field Values

MEDIUM_PRIORITY

static final short MEDIUM_PRIORITY
See Also:
Constant Field Values

HIGH_PRIORITY

static final short HIGH_PRIORITY
See Also:
Constant Field Values

HIGHEST_PRIORITY

static final short HIGHEST_PRIORITY
See Also:
Constant Field Values

UNKNOWN_SEVERITY

static final short UNKNOWN_SEVERITY
See Also:
Constant Field Values

INFO_SEVERITY

static final short INFO_SEVERITY
See Also:
Constant Field Values

WARNING_SEVERITY

static final short WARNING_SEVERITY
See Also:
Constant Field Values

MINOR_SEVERITY

static final short MINOR_SEVERITY
See Also:
Constant Field Values

MAJOR_SEVERITY

static final short MAJOR_SEVERITY
See Also:
Constant Field Values

CRITICAL_SEVERITY

static final short CRITICAL_SEVERITY
See Also:
Constant Field Values

FATAL_SEVERITY

static final short FATAL_SEVERITY
See Also:
Constant Field Values

SUCCESSFUL

static final String SUCCESSFUL
See Also:
Constant Field Values

UNSUCCESSFUL

static final String UNSUCCESSFUL
See Also:
Constant Field Values
Method Detail

getCategoryType

QName[] getCategoryType()

getMessage

String getMessage()

getPriority

short getPriority()

getSeverity

short getSeverity()

getSituationTime

Date getSituationTime()

getSubstitutableMessage

SubstitutableMessage getSubstitutableMessage()

getSuccessDisposition

String getSuccessDisposition()

setCategoryType

void setCategoryType(QName categoryType)

setCategoryType

void setCategoryType(QName[] categoryType)

setMessage

void setMessage(String message)

setPriority

void setPriority(short priority)

setSeverity

void setSeverity(short severity)

setSituationTime

void setSituationTime(Date situationTime)

setSubstitutableMessage

void setSubstitutableMessage(SubstitutableMessage message)

setSuccessDisposition

void setSuccessDisposition(String disposition)


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.