Class Header
- java.lang.Object
-
- org.opennms.netmgt.config.notificationCommands.Header
-
- All Implemented Interfaces:
java.io.Serializable
public class Header extends java.lang.Object implements java.io.SerializableClass Header.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Header()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Overrides the Object.equals method.java.lang.StringgetCreated()Returns the value of field 'created'.java.lang.StringgetMstation()Returns the value of field 'mstation'.java.lang.StringgetVer()Returns the value of field 'ver'.inthashCode()Method hashCode.voidsetCreated(java.lang.String created)Sets the value of field 'created'.voidsetMstation(java.lang.String mstation)Sets the value of field 'mstation'.voidsetVer(java.lang.String ver)Sets the value of field 'ver'.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Overrides the Object.equals method.- Overrides:
equalsin 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'.- Returns:
- the value of field 'Mstation'.
-
getVer
public java.lang.String getVer()
Returns the value of field 'ver'.- Returns:
- the value of field 'Ver'.
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein 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'.- 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'.
-
-