Class ArchiveEntryDataholder
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.dataholder.ArchiveEntryDataholder
-
public class ArchiveEntryDataholder extends Object
-
-
Constructor Summary
Constructors Constructor Description ArchiveEntryDataholder()
ArchiveEntryDataholder(boolean master, String id, String filePath, String fileName, URI format, List<MetaObjectDataholder> meta)
ArchiveEntryDataholder(de.unirostock.sems.cbarchive.ArchiveEntry archiveEntry)
ArchiveEntryDataholder(de.unirostock.sems.cbarchive.meta.MetaDataHolder metaDataHolder, boolean master, String filePath, String fileName, URI format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMetaEntry(MetaObjectDataholder metaObject)
void
clearOption()
protected void
copyMetaData(de.unirostock.sems.cbarchive.meta.MetaDataHolder metaDataHolder)
de.unirostock.sems.cbarchive.ArchiveEntry
getArchiveEntry()
String
getFileName()
String
getFilePath()
long
getFileSize()
URI
getFormat()
String
getId()
List<MetaObjectDataholder>
getMeta()
MetaObjectDataholder
getMetaById(String metaId)
de.unirostock.sems.cbarchive.meta.MetaDataHolder
getMetaDataHolder()
String
getOption()
boolean
isMaster()
void
setFileName(String fileName)
void
setFilePath(String filePath)
void
setFormat(URI format)
void
setMaster(boolean master)
void
setOption(String option)
void
updateId()
-
-
-
Constructor Detail
-
ArchiveEntryDataholder
public ArchiveEntryDataholder(de.unirostock.sems.cbarchive.ArchiveEntry archiveEntry)
-
ArchiveEntryDataholder
public ArchiveEntryDataholder(de.unirostock.sems.cbarchive.meta.MetaDataHolder metaDataHolder, boolean master, String filePath, String fileName, URI format)
-
ArchiveEntryDataholder
public ArchiveEntryDataholder(boolean master, String id, String filePath, String fileName, URI format, List<MetaObjectDataholder> meta)
-
ArchiveEntryDataholder
public ArchiveEntryDataholder()
-
-
Method Detail
-
copyMetaData
protected void copyMetaData(de.unirostock.sems.cbarchive.meta.MetaDataHolder metaDataHolder)
-
updateId
public void updateId()
-
getArchiveEntry
public de.unirostock.sems.cbarchive.ArchiveEntry getArchiveEntry()
-
getMetaById
public MetaObjectDataholder getMetaById(String metaId)
-
addMetaEntry
public void addMetaEntry(MetaObjectDataholder metaObject)
-
isMaster
public boolean isMaster()
-
setMaster
public void setMaster(boolean master)
-
getId
public String getId()
-
getFilePath
public String getFilePath()
-
getFileName
public String getFileName()
-
getFormat
public URI getFormat()
-
getFileSize
public long getFileSize()
-
setFilePath
public void setFilePath(String filePath)
-
setFileName
public void setFileName(String fileName)
-
setFormat
public void setFormat(URI format)
-
getMeta
public List<MetaObjectDataholder> getMeta()
-
getMetaDataHolder
public de.unirostock.sems.cbarchive.meta.MetaDataHolder getMetaDataHolder()
-
getOption
public String getOption()
-
setOption
public void setOption(String option)
-
clearOption
public void clearOption()
-
-