Package org.opennms.netmgt.xml.event
Class Header
- java.lang.Object
-
- org.opennms.netmgt.xml.event.Header
-
- All Implemented Interfaces:
java.io.Serializable
public class Header extends java.lang.Object implements java.io.Serializable
Class Header.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Header()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCreated()
Returns the value of field 'created'.java.lang.String
getDpName()
Returns the value of field 'dpName'.java.lang.String
getMstation()
Returns the value of field 'mstation'.java.lang.String
getVer()
Returns the value of field 'ver'.void
setCreated(java.lang.String created)
Sets the value of field 'created'.void
setDpName(java.lang.String dpName)
Sets the value of field 'dpName'.void
setMstation(java.lang.String mstation)
Sets the value of field 'mstation'.void
setVer(java.lang.String ver)
Sets the value of field 'ver'.java.lang.String
toString()
-
-
-
Method Detail
-
getCreated
public java.lang.String getCreated()
Returns the value of field 'created'. The field 'created' has the following description: The time at which this log was generated. The time is in the format generated by the java.text.DateFormat using the DateFormat.FULL style for the default locale. For example: "Monday, February 18, 2002 3:01:58 PM EST"- Returns:
- the value of field 'Created'.
-
getDpName
public java.lang.String getDpName()
Returns the value of field 'dpName'.- Returns:
- the value of field 'DpName'.
-
getMstation
public java.lang.String getMstation()
Returns the value of field 'mstation'.- Returns:
- the value of field 'Mstation'.
-
getVer
public java.lang.String getVer()
Returns the value of field 'ver'.- Returns:
- the value of field 'Ver'.
-
setCreated
public void setCreated(java.lang.String created)
Sets the value of field 'created'. The field 'created' has the following description: The time at which this log was generated. The time is in the format generated by the java.text.DateFormat using the DateFormat.FULL style for the default locale. For example: "Monday, February 18, 2002 3:01:58 PM EST"- Parameters:
created
- the value of field 'created'.
-
setDpName
public void setDpName(java.lang.String dpName)
Sets the value of field 'dpName'.- Parameters:
dpName
- the value of field 'dpName'.
-
setMstation
public void setMstation(java.lang.String mstation)
Sets the value of field 'mstation'.- Parameters:
mstation
- the value of field 'mstation'.
-
setVer
public void setVer(java.lang.String ver)
Sets the value of field 'ver'.- Parameters:
ver
- the value of field 'ver'.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-