org.apache.muse.ws.dm.muws.events.impl
Class SimpleSituation

java.lang.Object
  extended by org.apache.muse.ws.dm.muws.events.impl.SimpleSituation
All Implemented Interfaces:
XmlSerializable, Situation

public class SimpleSituation
extends Object
implements Situation

Author:
Dan Jemiolo (danj)

Field Summary
 
Fields inherited from interface org.apache.muse.ws.dm.muws.events.Situation
CRITICAL_SEVERITY, FATAL_SEVERITY, HIGH_PRIORITY, HIGHEST_PRIORITY, INFO_SEVERITY, LOW_PRIORITY, LOWEST_PRIORITY, MAJOR_SEVERITY, MEDIUM_PRIORITY, MINOR_SEVERITY, SUCCESSFUL, UNKNOWN_SEVERITY, UNSUCCESSFUL, WARNING_SEVERITY
 
Constructor Summary
SimpleSituation()
           
SimpleSituation(Element xml)
           
 
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)
           
 String toString()
           
 Element toXML()
          Converts this object into an XML representation, as defined by its related schema or specification.
 Element toXML(Document factory)
          Converts this object into an XML representation, as defined by its related schema or specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleSituation

public SimpleSituation()

SimpleSituation

public SimpleSituation(Element xml)
Method Detail

getCategoryType

public final QName[] getCategoryType()
Specified by:
getCategoryType in interface Situation

getMessage

public final String getMessage()
Specified by:
getMessage in interface Situation

getPriority

public final short getPriority()
Specified by:
getPriority in interface Situation

getSeverity

public final short getSeverity()
Specified by:
getSeverity in interface Situation

getSituationTime

public final Date getSituationTime()
Specified by:
getSituationTime in interface Situation

getSubstitutableMessage

public final SubstitutableMessage getSubstitutableMessage()
Specified by:
getSubstitutableMessage in interface Situation

getSuccessDisposition

public final String getSuccessDisposition()
Specified by:
getSuccessDisposition in interface Situation

setCategoryType

public final void setCategoryType(QName categoryType)
Specified by:
setCategoryType in interface Situation

setCategoryType

public final void setCategoryType(QName[] categoryType)
Specified by:
setCategoryType in interface Situation

setMessage

public final void setMessage(String message)
Specified by:
setMessage in interface Situation

setPriority

public final void setPriority(short priority)
Specified by:
setPriority in interface Situation

setSeverity

public final void setSeverity(short severity)
Specified by:
setSeverity in interface Situation

setSituationTime

public final void setSituationTime(Date situationTime)
Specified by:
setSituationTime in interface Situation

setSubstitutableMessage

public final void setSubstitutableMessage(SubstitutableMessage message)
Specified by:
setSubstitutableMessage in interface Situation

setSuccessDisposition

public final void setSuccessDisposition(String disposition)
Specified by:
setSuccessDisposition in interface Situation

toString

public String toString()
Overrides:
toString in class Object

toXML

public Element toXML()
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Returns:
An XML representation of this object.

toXML

public Element toXML(Document factory)
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Parameters:
factory - The DOM Document that will be used to create all of the nodes in the resulting XML fragment.
Returns:
An XML representation of this object.


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