public final class DocumentWithContent extends AbstractDataTransferObject implements DocumentWithContentContract
DocumentWithContentContract
. This class does not have a builder since it is
intended to simply be a wrapper a document and it's content.Modifier and Type | Method and Description |
---|---|
static DocumentWithContent |
create(Document document,
DocumentContent documentContent) |
Document |
getDocument() |
DocumentContent |
getDocumentContent() |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
public static DocumentWithContent create(Document document, DocumentContent documentContent)
public Document getDocument()
getDocument
in interface DocumentWithContentContract
public DocumentContent getDocumentContent()
getDocumentContent
in interface DocumentWithContentContract
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.