public class AbstractDataContainer extends AbstractEntity
Modifier and Type | Field and Description |
---|---|
protected DataStorage |
dataCatch |
protected DataStorage |
dataHaul |
protected DataStorage |
dataLength |
protected DataStorage |
dataStrata |
protected DataStorage |
deletedDataCatch
Deleted catch (can be null).
|
protected DataStorage |
deletedDataHaul
Deleted haul (can be null).
|
protected DataStorage |
deletedDataLength
Deleted length (can be null).
|
protected DataStorage |
deletedDataStrata
Deleted strata (can be null).
|
protected List<Command> |
historyCommands
L'historique des commandes do/undo .
|
static String |
PROPERTY_HISTORY_COMMANDS |
support
Constructor and Description |
---|
AbstractDataContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addHistoryCommand(Command historyCommand) |
void |
clearData()
Clear all data to force free memory.
|
void |
clearHistoryCommands() |
DataStorage |
getCatch() |
DataStorage |
getDeletedCatch() |
DataStorage |
getDeletedHaul() |
DataStorage |
getDeletedLength() |
DataStorage |
getDeletedStrata() |
DataStorage |
getHaul() |
List<Command> |
getHistoryCommands() |
DataStorage |
getLength() |
DataStorage |
getStrata() |
boolean |
isDataLoaded()
Return
true if data are loaded. |
void |
removeHistoryCommand(Command historyCommand) |
void |
setCatch(DataStorage dataCatch) |
void |
setDeletedCatch(DataStorage deletedDataCatch) |
void |
setDeletedHaul(DataStorage deletedDataHaul) |
void |
setDeletedLength(DataStorage deletedDataLength) |
void |
setDeletedStrata(DataStorage deletedDataStrata) |
void |
setHaul(DataStorage dataHaul) |
void |
setHistoryCommands(List<Command> historyCommand) |
void |
setLength(DataStorage dataLength) |
void |
setStrata(DataStorage dataStrata) |
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
public static final String PROPERTY_HISTORY_COMMANDS
protected DataStorage dataCatch
protected DataStorage deletedDataCatch
protected DataStorage dataStrata
protected DataStorage deletedDataStrata
protected DataStorage dataHaul
protected DataStorage deletedDataHaul
protected DataStorage dataLength
protected DataStorage deletedDataLength
public void clearData()
public DataStorage getCatch()
public void setCatch(DataStorage dataCatch)
public DataStorage getStrata()
public void setStrata(DataStorage dataStrata)
public DataStorage getHaul()
public void setHaul(DataStorage dataHaul)
public DataStorage getLength()
public void setLength(DataStorage dataLength)
public DataStorage getDeletedCatch()
public void setDeletedCatch(DataStorage deletedDataCatch)
public DataStorage getDeletedStrata()
public void setDeletedStrata(DataStorage deletedDataStrata)
public DataStorage getDeletedHaul()
public void setDeletedHaul(DataStorage deletedDataHaul)
public DataStorage getDeletedLength()
public void setDeletedLength(DataStorage deletedDataLength)
public void addHistoryCommand(Command historyCommand)
public void removeHistoryCommand(Command historyCommand)
public void clearHistoryCommands()
public boolean isDataLoaded()
true
if data are loaded.
If lists are non null
.true
if at least one list is not null
Copyright © 2010–2015 Ifremer. All rights reserved.