com.openexchange.admin.rmi.dataobjects
Class MaintenanceReason

java.lang.Object
  extended by com.openexchange.admin.rmi.dataobjects.MaintenanceReason
All Implemented Interfaces:
Serializable

public class MaintenanceReason
extends Object
implements Serializable

This class represents a maintenance reason.

Author:
Manuel Kraft, Carsten Hoeger, Dennis Sieben
See Also:
Serialized Form

Constructor Summary
MaintenanceReason()
           
MaintenanceReason(Integer id)
           
MaintenanceReason(Integer id, String text)
           
MaintenanceReason(String text)
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getId()
           
 String getText()
           
 int hashCode()
           
 boolean isIdset()
           
 boolean isTextset()
           
 void setId(Integer val)
           
 void setText(String val)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaintenanceReason

public MaintenanceReason()

MaintenanceReason

public MaintenanceReason(Integer id)
Parameters:
id -

MaintenanceReason

public MaintenanceReason(Integer id,
                         String text)
Parameters:
id -
text -

MaintenanceReason

public MaintenanceReason(String text)
Parameters:
id -
text -
Method Detail

getId

public Integer getId()

setId

public void setId(Integer val)

getText

public String getText()

setText

public void setText(String val)

toString

public String toString()
Overrides:
toString in class Object

isIdset

public boolean isIdset()
Returns:
the idset

isTextset

public boolean isTextset()
Returns:
the textset

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object