cds.simbad
Class Coobox

java.lang.Object
  extended bycds.simbad.Coobox
All Implemented Interfaces:
java.io.Serializable

public class Coobox
extends java.lang.Object
implements java.io.Serializable

Coobox number

Version:
1.0 May 2003 Creation
, 1.1 Sep 2003 add NOT_DEFINED value, 1.2 Jan 2004 ajout de la methode equals.
Author:
Marc Wenger/CDS, Benoit Baranne (Stagiaire UTBM)
See Also:
Serialized Form

Field Summary
private  int cooboxnum
           
private static int NOT_DEFINED
           
 
Constructor Summary
Coobox()
           
Coobox(int val)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          MOD-BB 21-01-04 Ajout de cette methode.
 boolean exists()
           
 int get()
           
 void reset()
           
 void set(int val)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NOT_DEFINED

private static final int NOT_DEFINED
See Also:
Constant Field Values

cooboxnum

private int cooboxnum
Constructor Detail

Coobox

public Coobox()

Coobox

public Coobox(int val)
Method Detail

reset

public final void reset()

get

public final int get()

set

public final void set(int val)

toString

public java.lang.String toString()

exists

public final boolean exists()

equals

public boolean equals(java.lang.Object o)
MOD-BB 21-01-04 Ajout de cette methode. Comparaison de Coobox.

Parameters:
o - Objet a comparer.
Returns:
Vrai si o est identique a this, faux sinon.