Class XmlTreeMetaObjectDataholder
- java.lang.Object
-
- de.unirostock.sems.cbarchive.web.dataholder.MetaObjectDataholder
-
- de.unirostock.sems.cbarchive.web.dataholder.XmlTreeMetaObjectDataholder
-
public class XmlTreeMetaObjectDataholder 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 XmlTreeMetaObjectDataholder()
XmlTreeMetaObjectDataholder(de.unirostock.sems.cbarchive.meta.MetaDataObject metaObject, ArchiveEntryDataholder parent)
XmlTreeMetaObjectDataholder(String id, String type, 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.String
getExceptionMessage()
String
getXmlString()
org.jdom2.Element
getXmlTree()
void
setXmlString(String xmlString)
void
setXmlTree(org.jdom2.Element xmlTree)
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
-
XmlTreeMetaObjectDataholder
public XmlTreeMetaObjectDataholder(de.unirostock.sems.cbarchive.meta.MetaDataObject metaObject, ArchiveEntryDataholder parent)
-
XmlTreeMetaObjectDataholder
public XmlTreeMetaObjectDataholder(String id, String type, boolean changed)
-
XmlTreeMetaObjectDataholder
public XmlTreeMetaObjectDataholder()
-
-
Method Detail
-
getXmlTree
public org.jdom2.Element getXmlTree()
-
setXmlTree
public void setXmlTree(org.jdom2.Element xmlTree)
-
getXmlString
public String getXmlString()
-
setXmlString
public void setXmlString(String xmlString)
-
getExceptionMessage
public String getExceptionMessage()
-
update
public void update(MetaObjectDataholder newMetaObject) throws CombineArchiveWebException
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- Throws:
CombineArchiveWebException
- the combine archive web exception
-
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
-
-