org.kuali.rice.kew.api.document
Class DocumentContent.Builder
java.lang.Object
   org.kuali.rice.kew.api.document.DocumentContent.Builder
org.kuali.rice.kew.api.document.DocumentContent.Builder
- All Implemented Interfaces: 
- Serializable, ModelBuilder, DocumentContentContract
- Enclosing class:
- DocumentContent
- public static final class DocumentContent.Builder 
- extends Object- implements Serializable, ModelBuilder, DocumentContentContract
A builder which can be used to construct DocumentContent instances.  Enforces the constraints of the DocumentContentContract.
- See Also:
- Serialized Form
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
create
public static DocumentContent.Builder create(String documentId)
- 
 
- 
 
create
public static DocumentContent.Builder create(DocumentContentContract contract)
- 
 
- 
 
build
public DocumentContent build()
- Description copied from interface: ModelBuilder
- Returns an instance of the object being built by this builder based
 on the current state of the builder.  It should be possible to
 invoke this method more than once on the same builder.  It should
 never return null;
 
- 
- Specified by:
- buildin interface- ModelBuilder
 
- 
- Returns:
- an instance of the object being built by this builder,
 should never return null
 
getDocumentId
public String getDocumentId()
- 
- Specified by:
- getDocumentIdin interface- DocumentContentContract
 
- 
 
getApplicationContent
public String getApplicationContent()
- 
- Specified by:
- getApplicationContentin interface- DocumentContentContract
 
- 
 
getAttributeContent
public String getAttributeContent()
- 
- Specified by:
- getAttributeContentin interface- DocumentContentContract
 
- 
 
getSearchableContent
public String getSearchableContent()
- 
- Specified by:
- getSearchableContentin interface- DocumentContentContract
 
- 
 
getFormatVersion
public int getFormatVersion()
- 
- Specified by:
- getFormatVersionin interface- DocumentContentContract
 
- 
 
setDocumentId
public void setDocumentId(String documentId)
- 
 
- 
 
setApplicationContent
public void setApplicationContent(String applicationContent)
- 
 
- 
 
setAttributeContent
public void setAttributeContent(String attributeContent)
- 
 
- 
 
setSearchableContent
public void setSearchableContent(String searchableContent)
- 
 
- 
 
setFormatVersion
public void setFormatVersion(int formatVersion)
- 
 
- 
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.