public abstract class Vessel extends Object implements Serializable
Navire. Peut etre un navire de peche professionnel ou non, un navire océanographique, etc.
| Modifier and Type | Class and Description |
|---|---|
static class |
Vessel.Factory
Constructs new instances of
Vessel. |
| Constructor and Description |
|---|
Vessel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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. |
String |
getCode()
Code du navire, c'est à dire son immatriculation.
|
Collection<RightToProduce> |
getRightToProduces() |
Status |
getStatus()
Etat du navire à la date actuelle du système.
|
Timestamp |
getUpdateDate() |
Collection<VesselFeatures> |
getVesselFeatures() |
Collection<VesselMasterPeriod> |
getVesselMasterPeriods() |
Collection<VesselOwnerPeriod> |
getVesselOwnerPeriods() |
Collection<VesselRegistrationPeriod> |
getVesselRegistrationPeriods() |
VesselType |
getVesselType()
Type de navire.
|
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setCode(String code) |
void |
setRightToProduces(Collection<RightToProduce> rightToProduces) |
void |
setStatus(Status status) |
void |
setUpdateDate(Timestamp updateDate) |
void |
setVesselFeatures(Collection<VesselFeatures> vesselFeatures) |
void |
setVesselMasterPeriods(Collection<VesselMasterPeriod> vesselMasterPeriods) |
void |
setVesselOwnerPeriods(Collection<VesselOwnerPeriod> vesselOwnerPeriods) |
void |
setVesselRegistrationPeriods(Collection<VesselRegistrationPeriod> vesselRegistrationPeriods) |
void |
setVesselType(VesselType vesselType) |
public 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¿").
public void setCode(String code)
public Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDate)
public Collection<RightToProduce> getRightToProduces()
public void setRightToProduces(Collection<RightToProduce> rightToProduces)
public VesselType getVesselType()
Type de navire. Exemple : 1 pour les navires professionnels, 2 pour les pecheurs à pied, 3 pour les navires scientifiques
public void setVesselType(VesselType vesselType)
public Collection<VesselFeatures> getVesselFeatures()
public void setVesselFeatures(Collection<VesselFeatures> vesselFeatures)
public Collection<VesselRegistrationPeriod> getVesselRegistrationPeriods()
public void setVesselRegistrationPeriods(Collection<VesselRegistrationPeriod> vesselRegistrationPeriods)
public Collection<VesselOwnerPeriod> getVesselOwnerPeriods()
public void setVesselOwnerPeriods(Collection<VesselOwnerPeriod> vesselOwnerPeriods)
public Collection<VesselMasterPeriod> getVesselMasterPeriods()
public void setVesselMasterPeriods(Collection<VesselMasterPeriod> vesselMasterPeriods)
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.
public void setStatus(Status status)
public boolean equals(Object object)
true if the argument reference and this
refer to the same object.Copyright © 2013. All Rights Reserved.