fr.ifremer.allegro.referential.vessel
Class Vessel

java.lang.Object
  extended by fr.ifremer.allegro.referential.vessel.Vessel
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
VesselImpl

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

Navire. Peut etre un navire de peche professionnel ou non, un navire oc??anographique, etc.

See Also:
Serialized Form

Constructor Summary
Vessel()
           
 
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()
           Code du navire, c'est ?? dire son immatriculation.
 java.util.Collection getRightToProduces()
           
 Status getStatus()
           Etat du navire ?? la date actuelle du syst??me.
 java.sql.Timestamp getUpdateDate()
           
 java.util.Collection getVesselOwnerPeriods()
           
 java.util.Collection getVesselRegistrationPeriods()
           
 VesselType getVesselType()
           Type de navire.
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setCode(java.lang.String code)
           
 void setRightToProduces(java.util.Collection rightToProduces)
           
 void setStatus(Status status)
           
 void setUpdateDate(java.sql.Timestamp updateDate)
           
 void setVesselOwnerPeriods(java.util.Collection vesselOwnerPeriods)
           
 void setVesselRegistrationPeriods(java.util.Collection vesselRegistrationPeriods)
           
 void setVesselType(VesselType vesselType)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vessel

public Vessel()
Method Detail

getCode

public java.lang.String getCode()

Code du navire, c'est ?? dire son immatriculation. L'immatriculation d'un navire ne change jamais, quelque soit sont quartier maritime.

Le code est sur 12 caract??res pour permettre de stocker les 6 caract??res du code Harmonie un prefix (ex, dans Allegro : "#TEMP??").


setCode

public void setCode(java.lang.String code)

getUpdateDate

public java.sql.Timestamp getUpdateDate()

setUpdateDate

public void setUpdateDate(java.sql.Timestamp updateDate)

getRightToProduces

public java.util.Collection getRightToProduces()

setRightToProduces

public void setRightToProduces(java.util.Collection rightToProduces)

getVesselOwnerPeriods

public java.util.Collection getVesselOwnerPeriods()

setVesselOwnerPeriods

public void setVesselOwnerPeriods(java.util.Collection vesselOwnerPeriods)

getVesselRegistrationPeriods

public java.util.Collection getVesselRegistrationPeriods()

setVesselRegistrationPeriods

public void setVesselRegistrationPeriods(java.util.Collection vesselRegistrationPeriods)

getStatus

public Status getStatus()

Etat du navire ?? la date actuelle du syst??me. Sert notamment ?? d??terminer si le navire est encore actif ?? la date du jour.

Cet ??tat sert ??galement pour les navires temporaires, lors de leur cr??ation dans la base locale d'Allegro.


setStatus

public void setStatus(Status status)

getVesselType

public VesselType getVesselType()

Type de navire. Exemple : 1 pour les navires professionnels, 2 pour les pecheurs ?? pied, 3 pour les navires scientifiques


setVesselType

public void setVesselType(VesselType vesselType)

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.