net.sourceforge.fixagora.basis.client.model.editor
Class ComboBoxEntry

java.lang.Object
  extended by net.sourceforge.fixagora.basis.client.model.editor.ComboBoxEntry
All Implemented Interfaces:
java.lang.Comparable<ComboBoxEntry>

public class ComboBoxEntry
extends java.lang.Object
implements java.lang.Comparable<ComboBoxEntry>

The Class ComboBoxEntry.


Constructor Summary
ComboBoxEntry()
          Instantiates a new combo box entry.
ComboBoxEntry(AbstractBusinessObject entry, java.lang.String displayName)
          Instantiates a new combo box entry.
ComboBoxEntry(java.lang.Boolean entry, java.lang.String displayName)
          Instantiates a new combo box entry.
ComboBoxEntry(java.lang.Integer entry, java.lang.String displayName)
          Instantiates a new combo box entry.
ComboBoxEntry(java.lang.Long entry, java.lang.String displayName)
          Instantiates a new combo box entry.
ComboBoxEntry(java.lang.String displayName)
          Instantiates a new combo box entry.
ComboBoxEntry(java.lang.String entry, java.lang.String displayName)
          Instantiates a new combo box entry.
 
Method Summary
 int compareTo(ComboBoxEntry o)
           
 boolean equals(java.lang.Object object)
           
 java.lang.Object getEntry()
          Gets the entry.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComboBoxEntry

public ComboBoxEntry(java.lang.Integer entry,
                     java.lang.String displayName)
Instantiates a new combo box entry.

Parameters:
entry - the entry
displayName - the display name

ComboBoxEntry

public ComboBoxEntry(java.lang.Long entry,
                     java.lang.String displayName)
Instantiates a new combo box entry.

Parameters:
entry - the entry
displayName - the display name

ComboBoxEntry

public ComboBoxEntry(java.lang.String entry,
                     java.lang.String displayName)
Instantiates a new combo box entry.

Parameters:
entry - the entry
displayName - the display name

ComboBoxEntry

public ComboBoxEntry(java.lang.Boolean entry,
                     java.lang.String displayName)
Instantiates a new combo box entry.

Parameters:
entry - the entry
displayName - the display name

ComboBoxEntry

public ComboBoxEntry(AbstractBusinessObject entry,
                     java.lang.String displayName)
Instantiates a new combo box entry.

Parameters:
entry - the entry
displayName - the display name

ComboBoxEntry

public ComboBoxEntry(java.lang.String displayName)
Instantiates a new combo box entry.

Parameters:
displayName - the display name

ComboBoxEntry

public ComboBoxEntry()
Instantiates a new combo box entry.

Method Detail

getEntry

public java.lang.Object getEntry()
Gets the entry.

Returns:
the entry

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(ComboBoxEntry o)
Specified by:
compareTo in interface java.lang.Comparable<ComboBoxEntry>