Class DocumentWithContent

  extended by
      extended by 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.

Kuali Rice Team (
See Also:
Serialized Form

Method Summary
static DocumentWithContent create(Document document, DocumentContent documentContent)
 Document getDocument()
 DocumentContent getDocumentContent()
Methods inherited from class
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Method Detail


public static DocumentWithContent create(Document document,
                                         DocumentContent documentContent)


public Document getDocument()
Specified by:
getDocument in interface DocumentWithContentContract


public DocumentContent getDocumentContent()
Specified by:
getDocumentContent in interface DocumentWithContentContract

Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.