fr.ifremer.allegro.referential
Class Status

java.lang.Object
  extended by fr.ifremer.allegro.referential.Status
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
StatusImpl

public abstract class Status
extends java.lang.Object
implements java.io.Serializable

Pour les donn??es du r??f??rentiel, information permettant de d??terminer si une donn??e est valide, obsol??te ou temporaire.

- obsol??te (=inactif) : '0'

- valide (=actif) : '1'

- temporaire : '2'

note : on a pr??f??re ici 'valide' au terme 'actif' (utilis?? dans Harmonie), pour ne pas confondre avec par exemple l'activit?? d'un navire sur un mois.

See Also:
Serialized Form

Nested Class Summary
static class Status.Factory
          Constructs new instances of Status.
 
Constructor Summary
Status()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          This entity does not have any identifiers and is not extending any other entity, so this method will only return true if the argument reference and this refer to the same object.
 java.lang.String getCode()
           
 java.lang.String getName()
           
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setCode(java.lang.String code)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status

public Status()
Method Detail

getCode

public java.lang.String getCode()

setCode

public void setCode(java.lang.String code)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

equals

public boolean equals(java.lang.Object object)
This entity does not have any identifiers and is not extending any other entity, so this method will only return true if the argument reference and this refer to the same object.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code based on this entity's identifiers.

Overrides:
hashCode in class java.lang.Object


Copyright © 2008-2010 IFREMER. All Rights Reserved.