Class Header
- java.lang.Object
-
- org.opennms.netmgt.config.notifications.Header
-
- All Implemented Interfaces:
Serializable
public class Header extends Object implements 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 booleanequals(Object obj)Overrides the Object.equals method.StringgetCreated()Returns the value of field 'created'.StringgetMstation()Returns the value of field 'mstation'.StringgetRev()Returns the value of field 'rev'.inthashCode()Method hashCode.voidsetCreated(String created)Sets the value of field 'created'.voidsetMstation(String mstation)Sets the value of field 'mstation'.voidsetRev(String rev)Sets the value of field 'rev'.
-
-
-
Method Detail
-
equals
public boolean equals(Object obj)
Overrides the Object.equals method.
-
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'. The field 'mstation' has the following description: Monitoring station? This is seemingly unused.- Returns:
- the value of field 'Mstation'.
-
getRev
public 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.
-
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'. The field 'mstation' has the following description: Monitoring station? This is seemingly unused.- Parameters:
mstation- the value of field 'mstation'.
-
setRev
public void setRev(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'.
-
-