org.chorem.callao.entity
Interface Period

All Superinterfaces:
org.nuiton.topia.persistence.TopiaEntity
All Known Implementing Classes:
PeriodAbstract, PeriodImpl

public interface Period
extends org.nuiton.topia.persistence.TopiaEntity


Field Summary
static java.lang.String BEGIN_PERIOD
           
static java.lang.String END_PERIOD
           
static java.lang.String LOCKED
           
static java.lang.String TIME_SPAN
           
 
Method Summary
 void addAllTimeSpan(java.util.Collection<TimeSpan> timeSpan)
           
 void addTimeSpan(TimeSpan timeSpan)
           
 void clearTimeSpan()
          Vide la Collection de timeSpan.
 java.util.Date getBeginPeriod()
           
 java.util.Date getEndPeriod()
           
 boolean getLocked()
           
 java.util.Collection<TimeSpan> getTimeSpan()
           
 TimeSpan getTimeSpanByTopiaId(java.lang.String topiaId)
          Recupère l'attribut timeSpan à partir de son topiaId.
 boolean isTimeSpanEmpty()
           
 void removeTimeSpan(TimeSpan timeSpan)
           
 void setBeginPeriod(java.util.Date beginPeriod)
           
 void setEndPeriod(java.util.Date endPeriod)
           
 void setLocked(boolean locked)
           
 void setTimeSpan(java.util.Collection<TimeSpan> timeSpan)
           
 int sizeTimeSpan()
           
 
Methods inherited from interface org.nuiton.topia.persistence.TopiaEntity
accept, addPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, delete, getAggregate, getComposite, getTopiaContext, getTopiaCreateDate, getTopiaId, getTopiaVersion, postCreate, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersion, update
 

Field Detail

BEGIN_PERIOD

static final java.lang.String BEGIN_PERIOD
See Also:
Constant Field Values

END_PERIOD

static final java.lang.String END_PERIOD
See Also:
Constant Field Values

LOCKED

static final java.lang.String LOCKED
See Also:
Constant Field Values

TIME_SPAN

static final java.lang.String TIME_SPAN
See Also:
Constant Field Values
Method Detail

setBeginPeriod

void setBeginPeriod(java.util.Date beginPeriod)
Parameters:
beginPeriod - La valeur de l'attribut beginPeriod à positionner.

getBeginPeriod

java.util.Date getBeginPeriod()
Returns:
La valeur de l'attribut beginPeriod.

setEndPeriod

void setEndPeriod(java.util.Date endPeriod)
Parameters:
endPeriod - La valeur de l'attribut endPeriod à positionner.

getEndPeriod

java.util.Date getEndPeriod()
Returns:
La valeur de l'attribut endPeriod.

setLocked

void setLocked(boolean locked)
Parameters:
locked - La valeur de l'attribut locked à positionner.

getLocked

boolean getLocked()
Returns:
La valeur de l'attribut locked.

addTimeSpan

void addTimeSpan(TimeSpan timeSpan)
Parameters:
timeSpan - L'instance de timeSpan à ajouter.

addAllTimeSpan

void addAllTimeSpan(java.util.Collection<TimeSpan> timeSpan)
Parameters:
timeSpan - Les instances de timeSpan à ajouter.

setTimeSpan

void setTimeSpan(java.util.Collection<TimeSpan> timeSpan)
Parameters:
timeSpan - La Collection de timeSpan à positionner.

removeTimeSpan

void removeTimeSpan(TimeSpan timeSpan)
Parameters:
timeSpan - L'instance de timeSpan à retirer.

clearTimeSpan

void clearTimeSpan()
Vide la Collection de timeSpan.


getTimeSpan

java.util.Collection<TimeSpan> getTimeSpan()
Returns:
La Liste de timeSpan.

getTimeSpanByTopiaId

TimeSpan getTimeSpanByTopiaId(java.lang.String topiaId)
Recupère l'attribut timeSpan à partir de son topiaId.

Parameters:
topiaId - le topia id de l'entité recherchée
Returns:
l'attribut recherché, ou null s'il n'existe pas.

sizeTimeSpan

int sizeTimeSpan()
Returns:
Le nombre d'éléments de la collection timeSpan.

isTimeSpanEmpty

boolean isTimeSpanEmpty()
Returns:
true si la collection timeSpan est vide.


Copyright © 2008-2010 CodeLutin. All Rights Reserved.