Class OmexMetaObjectDataholder
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.dataholder.MetaObjectDataholder
-
- de.unirostock.sems.cbarchive.web.dataholder.OmexMetaObjectDataholder
-
public class OmexMetaObjectDataholder extends MetaObjectDataholder
-
-
Field Summary
-
Fields inherited from class de.unirostock.sems.cbarchive.web.dataholder.MetaObjectDataholder
changed, id, metaObject, parent, type, TYPE_NOTSET, TYPE_OMEX, TYPE_XML
-
-
Constructor Summary
Constructors Constructor Description OmexMetaObjectDataholder()
OmexMetaObjectDataholder(de.unirostock.sems.cbarchive.meta.OmexMetaDataObject metaObject)
OmexMetaObjectDataholder(String id, String type, boolean changed)
OmexMetaObjectDataholder(String id, String type, String description, boolean changed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.unirostock.sems.cbarchive.meta.MetaDataObject
getCombineArchiveMetaObject()
Generates a CombineArchive MetaObject, which can be easily added to an ArchvieEntry.Date
getCreated()
List<de.unirostock.sems.cbarchive.meta.omex.VCard>
getCreators()
String
getDescription()
List<Date>
getModified()
void
setCreated(Date created)
void
setCreators(List<de.unirostock.sems.cbarchive.meta.omex.VCard> creators)
void
setDescription(String description)
void
setModified(List<Date> modified)
void
update(MetaObjectDataholder newMetaObject)
Updates the existing dataholder and the underlaying MetaDataObject with new information from another dataholder.-
Methods inherited from class de.unirostock.sems.cbarchive.web.dataholder.MetaObjectDataholder
construct, construct, generateId, getId, getMetaObject, getType, isChanged, setChanged
-
-
-
-
Constructor Detail
-
OmexMetaObjectDataholder
public OmexMetaObjectDataholder(de.unirostock.sems.cbarchive.meta.OmexMetaDataObject metaObject)
-
OmexMetaObjectDataholder
public OmexMetaObjectDataholder(String id, String type, String description, boolean changed)
-
OmexMetaObjectDataholder
public OmexMetaObjectDataholder()
-
-
Method Detail
-
getCreated
public Date getCreated()
-
getCreators
public List<de.unirostock.sems.cbarchive.meta.omex.VCard> getCreators()
-
setCreators
public void setCreators(List<de.unirostock.sems.cbarchive.meta.omex.VCard> creators)
-
setCreated
public void setCreated(Date created)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
update
public void update(MetaObjectDataholder newMetaObject)
Description copied from class:MetaObjectDataholder
Updates the existing dataholder and the underlaying MetaDataObject with new information from another dataholder.- Specified by:
update
in classMetaObjectDataholder
- Parameters:
newMetaObject
- the new meta object
-
getCombineArchiveMetaObject
public de.unirostock.sems.cbarchive.meta.MetaDataObject getCombineArchiveMetaObject()
Description copied from class:MetaObjectDataholder
Generates a CombineArchive MetaObject, which can be easily added to an ArchvieEntry.- Specified by:
getCombineArchiveMetaObject
in classMetaObjectDataholder
- Returns:
- the combine archive meta object
-
-