public class Document extends ContentMap implements Serializable
All members of this class are allowed to be null
.
Constructor and Description |
---|
Document() |
Document(DocumentEntry documentEntry,
DataHandler dataHandler)
Constructs a document.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
DataHandler |
getDataHandler()
Same as
getContent(DataHandler.class) . |
DocumentEntry |
getDocumentEntry() |
int |
hashCode() |
void |
setDataHandler(DataHandler dataHandler)
Same as
setContent(DataHandler.class, DataHandler dataHandler) . |
void |
setDocumentEntry(DocumentEntry documentEntry) |
String |
toString() |
getContent, getContentsCount, getConversionService, hasContent, removeContent, setContent, setConversionService
public Document()
public Document(DocumentEntry documentEntry, DataHandler dataHandler)
documentEntry
- the document entry describing the meta data of the document.dataHandler
- the data handler allowing access to the contents of the document.public DocumentEntry getDocumentEntry()
public void setDocumentEntry(DocumentEntry documentEntry)
documentEntry
- the document entry describing the meta data of the document.public DataHandler getDataHandler()
getContent(DataHandler.class)
.public void setDataHandler(DataHandler dataHandler)
setContent(DataHandler.class, DataHandler dataHandler)
.dataHandler
- the data handler allowing access to the contents of the document.@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2018 Open eHealth Foundation. All rights reserved.