org.kuali.rice.kew.api.document
Class DocumentWithContent
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.document.DocumentWithContent
- All Implemented Interfaces:
- Serializable, ModelObjectBasic, ModelObjectComplete, DocumentWithContentContract
public final class DocumentWithContent
- extends AbstractDataTransferObject
- implements DocumentWithContentContract
Immutable implementation of the DocumentWithContentContract
. This class does not have a builder since it is
intended to simply be a wrapper a document and it's content.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
create
public static DocumentWithContent create(Document document,
DocumentContent documentContent)
getDocument
public Document getDocument()
- Specified by:
getDocument
in interface DocumentWithContentContract
getDocumentContent
public DocumentContent getDocumentContent()
- Specified by:
getDocumentContent
in interface DocumentWithContentContract
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.