org.apache.camel.component.jmx.jaxb
Class NotificationEventType

java.lang.Object
  extended by org.apache.camel.component.jmx.jaxb.NotificationEventType
Direct Known Subclasses:
AttributeChangeNotification, JMXConnectionNotification, MBeanServerNotification, MonitorNotification, RelationNotification, TimerNotification

public class NotificationEventType
extends Object

Base type that includes all of the elements for a javax.management.Notification

Java class for notificationEventType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="notificationEventType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="source" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="sequence" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="dateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="userData" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  XMLGregorianCalendar dateTime
           
protected  String message
           
protected  long sequence
           
protected  String source
           
protected  long timestamp
           
protected  String type
           
protected  String userData
           
 
Constructor Summary
NotificationEventType()
           
 
Method Summary
 XMLGregorianCalendar getDateTime()
          Gets the value of the dateTime property.
 String getMessage()
          Gets the value of the message property.
 long getSequence()
          Gets the value of the sequence property.
 String getSource()
          Gets the value of the source property.
 long getTimestamp()
          Gets the value of the timestamp property.
 String getType()
          Gets the value of the type property.
 String getUserData()
          Gets the value of the userData property.
 void setDateTime(XMLGregorianCalendar value)
          Sets the value of the dateTime property.
 void setMessage(String value)
          Sets the value of the message property.
 void setSequence(long value)
          Sets the value of the sequence property.
 void setSource(String value)
          Sets the value of the source property.
 void setTimestamp(long value)
          Sets the value of the timestamp property.
 void setType(String value)
          Sets the value of the type property.
 void setUserData(String value)
          Sets the value of the userData property.
 NotificationEventType withDateTime(XMLGregorianCalendar value)
           
 NotificationEventType withMessage(String value)
           
 NotificationEventType withSequence(long value)
           
 NotificationEventType withSource(String value)
           
 NotificationEventType withTimestamp(long value)
           
 NotificationEventType withType(String value)
           
 NotificationEventType withUserData(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected String source

message

protected String message

sequence

protected long sequence

timestamp

protected long timestamp

dateTime

protected XMLGregorianCalendar dateTime

type

protected String type

userData

protected String userData
Constructor Detail

NotificationEventType

public NotificationEventType()
Method Detail

getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String

getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getSequence

public long getSequence()
Gets the value of the sequence property.


setSequence

public void setSequence(long value)
Sets the value of the sequence property.


getTimestamp

public long getTimestamp()
Gets the value of the timestamp property.


setTimestamp

public void setTimestamp(long value)
Sets the value of the timestamp property.


getDateTime

public XMLGregorianCalendar getDateTime()
Gets the value of the dateTime property.

Returns:
possible object is XMLGregorianCalendar

setDateTime

public void setDateTime(XMLGregorianCalendar value)
Sets the value of the dateTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getUserData

public String getUserData()
Gets the value of the userData property.

Returns:
possible object is String

setUserData

public void setUserData(String value)
Sets the value of the userData property.

Parameters:
value - allowed object is String

withSource

public NotificationEventType withSource(String value)

withMessage

public NotificationEventType withMessage(String value)

withSequence

public NotificationEventType withSequence(long value)

withTimestamp

public NotificationEventType withTimestamp(long value)

withDateTime

public NotificationEventType withDateTime(XMLGregorianCalendar value)

withType

public NotificationEventType withType(String value)

withUserData

public NotificationEventType withUserData(String value)


Apache Camel