Class Header
- java.lang.Object
-
- org.opennms.netmgt.config.notifications.Header
-
- All Implemented Interfaces:
java.io.Serializable
public class Header extends java.lang.Object implements java.io.Serializable
Header containing information about this configuration file.- 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 boolean
equals(java.lang.Object obj)
Overrides the Object.equals method.java.lang.String
getCreated()
Returns the value of field 'created'.java.lang.String
getMstation()
Returns the value of field 'mstation'.java.lang.String
getRev()
Returns the value of field 'rev'.int
hashCode()
Method hashCode.void
setCreated(java.lang.String created)
Sets the value of field 'created'.void
setMstation(java.lang.String mstation)
Sets the value of field 'mstation'.void
setRev(java.lang.String rev)
Sets the value of field 'rev'.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Overrides the Object.equals method.- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
-- Returns:
- true if the objects are equal.
-
getCreated
public java.lang.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 java.lang.String getMstation()
Returns the value of field 'mstation'. The field 'mstation' has the following description: Monitoring station? This is seemingly unused.- Returns:
- the value of field 'Mstation'.
-
getRev
public java.lang.String getRev()
Returns the value of field 'rev'. The field 'rev' has the following description: Revision of this file.- Returns:
- the value of field 'Rev'.
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- a hash code value for the object.
-
setCreated
public void setCreated(java.lang.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(java.lang.String mstation)
Sets the value of field 'mstation'. The field 'mstation' has the following description: Monitoring station? This is seemingly unused.- Parameters:
mstation
- the value of field 'mstation'.
-
setRev
public void setRev(java.lang.String rev)
Sets the value of field 'rev'. The field 'rev' has the following description: Revision of this file.- Parameters:
rev
- the value of field 'rev'.
-
-