public abstract class PresentationAbstract extends org.nuiton.topia.persistence.TopiaEntityAbstract implements Presentation
| Modifier and Type | Field and Description |
|---|---|
protected Batch |
batch
Nom de l'attribut en BD : batch
|
protected Date |
dmesd
Nom de l'attribut en BD : dmesd
|
protected Collection<Place> |
inventoryPlaces
Nom de l'attribut en BD : inventoryPlaces
|
protected boolean |
original
Vrai si la presentation est celle d'origine crée pour l'import du lot.
|
protected PresentationCode |
presentationCode
Nom de l'attribut en BD : presentationCode
|
protected double |
quantity
Nom de l'attribut en BD : quantity
|
readListeners, readVetoables, topiaContext, topiaCreateDate, topiaId, topiaVersion, writeListeners, writeVetoablesPROPERTY_BATCH, PROPERTY_DMESD, PROPERTY_INVENTORY_PLACES, PROPERTY_ORIGINAL, PROPERTY_PRESENTATION_CODE, PROPERTY_QUANTITY| Constructor and Description |
|---|
PresentationAbstract() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.nuiton.topia.persistence.EntityVisitor visitor) |
void |
addAllInventoryPlaces(Collection<Place> inventoryPlaces) |
void |
addInventoryPlaces(Place inventoryPlaces) |
void |
clearInventoryPlaces() |
List<org.nuiton.topia.persistence.TopiaEntity> |
getAggregate() |
Batch |
getBatch() |
List<org.nuiton.topia.persistence.TopiaEntity> |
getComposite() |
Date |
getDmesd() |
Collection<Place> |
getInventoryPlaces() |
Place |
getInventoryPlacesByTopiaId(String topiaId) |
boolean |
getOriginal() |
PresentationCode |
getPresentationCode() |
double |
getQuantity() |
boolean |
isInventoryPlacesEmpty() |
boolean |
isOriginal() |
void |
removeInventoryPlaces(Place inventoryPlaces) |
void |
setBatch(Batch batch) |
void |
setDmesd(Date dmesd) |
void |
setInventoryPlaces(Collection<Place> inventoryPlaces) |
void |
setOriginal(boolean original) |
void |
setPresentationCode(PresentationCode presentationCode) |
void |
setQuantity(double quantity) |
int |
sizeInventoryPlaces() |
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, setTopiaVersionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, addPropertyListener, addPropertyListener, addVetoableChangeListener, addVetoableChangeListener, addVetoableListener, addVetoableListener, getTopiaCreateDate, getTopiaId, getTopiaVersion, removePropertyChangeListener, removePropertyChangeListener, removePropertyListener, removePropertyListener, removeVetoableChangeListener, removeVetoableChangeListener, removeVetoableListener, removeVetoableListener, setTopiaCreateDate, setTopiaId, setTopiaVersionprotected double quantity
protected Date dmesd
protected boolean original
protected Batch batch
protected PresentationCode presentationCode
protected Collection<Place> inventoryPlaces
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 setQuantity(double quantity)
setQuantity in interface Presentationpublic double getQuantity()
getQuantity in interface Presentationpublic void setDmesd(Date dmesd)
setDmesd in interface Presentationpublic Date getDmesd()
getDmesd in interface Presentationpublic void setOriginal(boolean original)
setOriginal in interface Presentationpublic boolean isOriginal()
isOriginal in interface Presentationpublic boolean getOriginal()
getOriginal in interface Presentationpublic void setBatch(Batch batch)
setBatch in interface Presentationpublic Batch getBatch()
getBatch in interface Presentationpublic void setPresentationCode(PresentationCode presentationCode)
setPresentationCode in interface Presentationpublic PresentationCode getPresentationCode()
getPresentationCode in interface Presentationpublic void addInventoryPlaces(Place inventoryPlaces)
addInventoryPlaces in interface Presentationpublic void addAllInventoryPlaces(Collection<Place> inventoryPlaces)
addAllInventoryPlaces in interface Presentationpublic void setInventoryPlaces(Collection<Place> inventoryPlaces)
setInventoryPlaces in interface Presentationpublic void removeInventoryPlaces(Place inventoryPlaces)
removeInventoryPlaces in interface Presentationpublic void clearInventoryPlaces()
clearInventoryPlaces in interface Presentationpublic Collection<Place> getInventoryPlaces()
getInventoryPlaces in interface Presentationpublic Place getInventoryPlacesByTopiaId(String topiaId)
getInventoryPlacesByTopiaId in interface Presentationpublic int sizeInventoryPlaces()
sizeInventoryPlaces in interface Presentationpublic boolean isInventoryPlacesEmpty()
isInventoryPlacesEmpty in interface Presentationpublic 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.TopiaExceptionpublic 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.TopiaExceptionCopyright © 2012-2013 Herboristerie Cailleau. All Rights Reserved.