|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.topia.persistence.TopiaEntityAbstract
fr.ifremer.isisfish.entities.VesselTypeAbstract
public abstract class VesselTypeAbstract
| Field Summary | |
|---|---|
protected double |
activityRange
Nom de l'attribut en BD : activityRange |
protected String |
comment
Nom de l'attribut en BD : comment |
protected int |
length
Nom de l'attribut en BD : length |
protected TimeUnit |
maxTripDuration
Nom de l'attribut en BD : maxTripDuration |
protected int |
minCrewSize
Taille minimum de l'équipage sur ce style de bateau |
protected String |
name
Nom de l'attribut en BD : name |
protected double |
speed
Nom de l'attribut en BD : speed |
protected Collection<TripType> |
tripType
Nom de l'attribut en BD : tripType |
protected double |
unitFuelCostOfTravel
Coût d'un heure de carburant |
| Fields inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoables |
| Fields inherited from interface fr.ifremer.isisfish.entities.VesselType |
|---|
PROPERTY_ACTIVITY_RANGE, PROPERTY_COMMENT, PROPERTY_LENGTH, PROPERTY_MAX_TRIP_DURATION, PROPERTY_MIN_CREW_SIZE, PROPERTY_NAME, PROPERTY_SPEED, PROPERTY_TRIP_TYPE, PROPERTY_UNIT_FUEL_COST_OF_TRAVEL |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable |
|---|
TOPIA_CONTEXT |
| Fields inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
AGGREGATE, COMPOSITE, TOPIA_CREATE_DATE, TOPIA_ID, TOPIA_VERSION |
| Constructor Summary | |
|---|---|
VesselTypeAbstract()
|
|
| Method Summary | |
|---|---|
void |
accept(org.nuiton.topia.persistence.EntityVisitor visitor)
|
void |
addAllTripType(Collection<TripType> tripType)
|
void |
addTripType(TripType tripType)
|
void |
clearTripType()
|
void |
delete()
|
double |
getActivityRange()
|
List<org.nuiton.topia.persistence.TopiaEntity> |
getAggregate()
|
String |
getComment()
|
List<org.nuiton.topia.persistence.TopiaEntity> |
getComposite()
|
int |
getLength()
|
TimeUnit |
getMaxTripDuration()
|
int |
getMinCrewSize()
|
String |
getName()
|
double |
getSpeed()
|
Collection<TripType> |
getTripType()
|
TripType |
getTripTypeByTopiaId(String topiaId)
|
double |
getUnitFuelCostOfTravel()
|
boolean |
isTripTypeEmpty()
|
void |
removeTripType(TripType tripType)
|
void |
setActivityRange(double activityRange)
|
void |
setComment(String comment)
|
void |
setLength(int length)
|
void |
setMaxTripDuration(TimeUnit maxTripDuration)
|
void |
setMinCrewSize(int minCrewSize)
|
void |
setName(String name)
|
void |
setSpeed(double speed)
|
void |
setTripType(Collection<TripType> tripType)
|
void |
setUnitFuelCostOfTravel(double unitFuelCostOfTravel)
|
int |
sizeTripType()
|
String |
toString()
|
void |
update()
|
| Methods inherited from class org.nuiton.topia.persistence.TopiaEntityAbstract |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, equals, fireOnPostRead, fireOnPostRead, fireOnPostWrite, fireOnPostWrite, fireOnPreRead, fireOnPreWrite, getReadPropertyChangeSupport, getReadVetoableChangeSupport, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, getWritePropertyChangeSupport, getWriteVetoableChangeSupport, hashCode, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaContext, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fr.ifremer.isisfish.entities.VesselType |
|---|
getFisheryRegion |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntityContextable |
|---|
getTopiaContext, setTopiaContext |
| Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion |
| Field Detail |
|---|
protected String name
protected int length
protected double speed
protected TimeUnit maxTripDuration
protected double activityRange
protected int minCrewSize
Taille minimum de l'équipage sur ce style de bateau
Nom de l'attribut en BD : minCrewSize
protected double unitFuelCostOfTravel
Coût d'un heure de carburant
Nom de l'attribut en BD : unitFuelCostOfTravel
protected String comment
protected Collection<TripType> tripType
| Constructor Detail |
|---|
public VesselTypeAbstract()
| Method Detail |
|---|
public void update()
throws org.nuiton.topia.TopiaException
update in interface org.nuiton.topia.persistence.TopiaEntityContextableorg.nuiton.topia.TopiaException
public void delete()
throws org.nuiton.topia.TopiaException
delete in interface org.nuiton.topia.persistence.TopiaEntityContextableorg.nuiton.topia.TopiaException
public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
throws org.nuiton.topia.TopiaException
accept in interface org.nuiton.topia.persistence.TopiaEntityorg.nuiton.topia.TopiaExceptionpublic void setName(String name)
setName in interface VesselTypepublic String getName()
getName in interface VesselTypepublic void setLength(int length)
setLength in interface VesselTypepublic int getLength()
getLength in interface VesselTypepublic void setSpeed(double speed)
setSpeed in interface VesselTypepublic double getSpeed()
getSpeed in interface VesselTypepublic void setMaxTripDuration(TimeUnit maxTripDuration)
setMaxTripDuration in interface VesselTypepublic TimeUnit getMaxTripDuration()
getMaxTripDuration in interface VesselTypepublic void setActivityRange(double activityRange)
setActivityRange in interface VesselTypepublic double getActivityRange()
getActivityRange in interface VesselTypepublic void setMinCrewSize(int minCrewSize)
setMinCrewSize in interface VesselTypepublic int getMinCrewSize()
getMinCrewSize in interface VesselTypepublic void setUnitFuelCostOfTravel(double unitFuelCostOfTravel)
setUnitFuelCostOfTravel in interface VesselTypepublic double getUnitFuelCostOfTravel()
getUnitFuelCostOfTravel in interface VesselTypepublic void setComment(String comment)
setComment in interface VesselTypepublic String getComment()
getComment in interface VesselTypepublic void addTripType(TripType tripType)
addTripType in interface VesselTypepublic void addAllTripType(Collection<TripType> tripType)
addAllTripType in interface VesselTypepublic void setTripType(Collection<TripType> tripType)
setTripType in interface VesselTypepublic void removeTripType(TripType tripType)
removeTripType in interface VesselTypepublic void clearTripType()
clearTripType in interface VesselTypepublic Collection<TripType> getTripType()
getTripType in interface VesselTypepublic TripType getTripTypeByTopiaId(String topiaId)
getTripTypeByTopiaId in interface VesselTypepublic int sizeTripType()
sizeTripType in interface VesselTypepublic boolean isTripTypeEmpty()
isTripTypeEmpty in interface VesselType
public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
throws org.nuiton.topia.TopiaException
getAggregate in interface org.nuiton.topia.persistence.TopiaEntitygetAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaException
public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
throws org.nuiton.topia.TopiaException
getComposite in interface org.nuiton.topia.persistence.TopiaEntitygetComposite in class org.nuiton.topia.persistence.TopiaEntityAbstractorg.nuiton.topia.TopiaExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||