org.opennms.netmgt.xml.rtc
Class Header

java.lang.Object
  extended by org.opennms.netmgt.xml.rtc.Header
All Implemented Interfaces:
Serializable

public class Header
extends Object
implements Serializable

Class Header.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Header()
           
 
Method Summary
 String getCreated()
          Returns the value of field 'created'.
 String getMstation()
          Returns the value of field 'mstation'.
 String getVer()
          Returns the value of field 'ver'.
 boolean isValid()
          Method isValid.
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setCreated(String created)
          Sets the value of field 'created'.
 void setMstation(String mstation)
          Sets the value of field 'mstation'.
 void setVer(String ver)
          Sets the value of field 'ver'.
static Header unmarshal(Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Header

public Header()
Method Detail

getCreated

public String getCreated()
Returns the value of field 'created'. The field 'created' has the following description: creation time in the 'dow mon dd hh:mm:ss zzz yyyy' format

Returns:
the value of field 'Created'.

getMstation

public String getMstation()
Returns the value of field 'mstation'.

Returns:
the value of field 'Mstation'.

getVer

public String getVer()
Returns the value of field 'ver'.

Returns:
the value of field 'Ver'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setCreated

public void setCreated(String created)
Sets the value of field 'created'. The field 'created' has the following description: creation time in the 'dow mon dd hh:mm:ss zzz yyyy' format

Parameters:
created - the value of field 'created'.

setMstation

public void setMstation(String mstation)
Sets the value of field 'mstation'.

Parameters:
mstation - the value of field 'mstation'.

setVer

public void setVer(String ver)
Sets the value of field 'ver'.

Parameters:
ver - the value of field 'ver'.

unmarshal

public static Header unmarshal(Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled org.opennms.netmgt.xml.rtc.Header
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema


Copyright ? 2008. All Rights Reserved.