TransactionContainer
- public class TransactionContainer extends Container<EntityInterface> implements ToElementable, JobTarget
Base class for transaction containers used by classes such as
RetrieveContainer
orWritableContainer
.- Author:
Timm Fitschen
Constructors
TransactionContainer
- public TransactionContainer()
TransactionContainer
TransactionContainer
Methods
addError
addFile
- public void addFile(String name, FileProperties file)
addMessage
- public void addMessage(ToElementable m)
addToElement
- public void addToElement(Element element)
- Parameters:
element –
- Returns:
Add List of Elements which represent the contained Entities to an predefined element.
getEntityByName
- public EntityInterface getEntityByName(String name)
Get the first entity from this container which has this name.
Return null if no matching is in this container.
- Parameters:
name –
getFiles
- public HashMap<String, FileProperties> getFiles()
getFlags
getMessages
- public List<ToElementable> getMessages()
getOwner
- public Subject getOwner()
getQuery
getRequestId
getStatus
- public EntityStatus getStatus()
getTimestamp
getTransactionBenchmark
- public TransactionBenchmark getTransactionBenchmark()
setFiles
- public void setFiles(HashMap<String, FileProperties> files)
setFlags
setQuery
setStatus
- public void setStatus(EntityStatus status)
skipJob
- public boolean skipJob()