fr.ifremer.isisfish.entities
Class TripTypeAbstract

java.lang.Object
  extended by org.nuiton.topia.persistence.TopiaEntityAbstract
      extended by fr.ifremer.isisfish.entities.TripTypeAbstract
All Implemented Interfaces:
TripType, Serializable, org.nuiton.topia.persistence.TopiaEntity, org.nuiton.topia.persistence.TopiaEntityContextable
Direct Known Subclasses:
TripTypeImpl

public abstract class TripTypeAbstract
extends org.nuiton.topia.persistence.TopiaEntityAbstract
implements TripType

See Also:
Serialized Form

Field Summary
protected  String comment
          Nom de l'attribut en BD : comment
protected  TimeUnit minTimeBetweenTrip
          Nom de l'attribut en BD : minTimeBetweenTrip
protected  String name
          Nom de l'attribut en BD : name
protected  TimeUnit tripDuration
          Nom de l'attribut en BD : tripDuration
 
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.TripType
PROPERTY_COMMENT, PROPERTY_MIN_TIME_BETWEEN_TRIP, PROPERTY_NAME, PROPERTY_TRIP_DURATION
 
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
TripTypeAbstract()
           
 
Method Summary
 void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
           
 void delete()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
           
 String getComment()
           
 List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
           
 TimeUnit getMinTimeBetweenTrip()
           
 String getName()
           
 TimeUnit getTripDuration()
           
 void setComment(String comment)
           
 void setMinTimeBetweenTrip(TimeUnit minTimeBetweenTrip)
           
 void setName(String name)
           
 void setTripDuration(TimeUnit tripDuration)
           
 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.TripType
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

name

protected String name
Nom de l'attribut en BD : name


tripDuration

protected TimeUnit tripDuration
Nom de l'attribut en BD : tripDuration


minTimeBetweenTrip

protected TimeUnit minTimeBetweenTrip
Nom de l'attribut en BD : minTimeBetweenTrip


comment

protected String comment
Nom de l'attribut en BD : comment

Constructor Detail

TripTypeAbstract

public TripTypeAbstract()
Method Detail

update

public void update()
            throws org.nuiton.topia.TopiaException
Specified by:
update in interface org.nuiton.topia.persistence.TopiaEntityContextable
Throws:
org.nuiton.topia.TopiaException

delete

public void delete()
            throws org.nuiton.topia.TopiaException
Specified by:
delete in interface org.nuiton.topia.persistence.TopiaEntityContextable
Throws:
org.nuiton.topia.TopiaException

accept

public void accept(org.nuiton.topia.persistence.EntityVisitor visitor)
            throws org.nuiton.topia.TopiaException
Specified by:
accept in interface org.nuiton.topia.persistence.TopiaEntity
Throws:
org.nuiton.topia.TopiaException

setName

public void setName(String name)
Specified by:
setName in interface TripType

getName

public String getName()
Specified by:
getName in interface TripType

setTripDuration

public void setTripDuration(TimeUnit tripDuration)
Specified by:
setTripDuration in interface TripType

getTripDuration

public TimeUnit getTripDuration()
Specified by:
getTripDuration in interface TripType

setMinTimeBetweenTrip

public void setMinTimeBetweenTrip(TimeUnit minTimeBetweenTrip)
Specified by:
setMinTimeBetweenTrip in interface TripType

getMinTimeBetweenTrip

public TimeUnit getMinTimeBetweenTrip()
Specified by:
getMinTimeBetweenTrip in interface TripType

setComment

public void setComment(String comment)
Specified by:
setComment in interface TripType

getComment

public String getComment()
Specified by:
getComment in interface TripType

getAggregate

public List<org.nuiton.topia.persistence.TopiaEntity> getAggregate()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getAggregate in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getAggregate in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

getComposite

public List<org.nuiton.topia.persistence.TopiaEntity> getComposite()
                                                            throws org.nuiton.topia.TopiaException
Specified by:
getComposite in interface org.nuiton.topia.persistence.TopiaEntity
Overrides:
getComposite in class org.nuiton.topia.persistence.TopiaEntityAbstract
Throws:
org.nuiton.topia.TopiaException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999-2012 CodeLutin. All Rights Reserved.