public static final class DocumentContent.Builder extends Object implements Serializable, ModelBuilder, DocumentContentContract
DocumentContent
instances. Enforces the constraints of the DocumentContentContract
.Modifier and Type | Method and Description |
---|---|
DocumentContent |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static DocumentContent.Builder |
create(DocumentContentContract contract) |
static DocumentContent.Builder |
create(String documentId) |
String |
getApplicationContent() |
String |
getAttributeContent() |
String |
getDocumentId() |
int |
getFormatVersion() |
String |
getSearchableContent() |
void |
setApplicationContent(String applicationContent) |
void |
setAttributeContent(String attributeContent) |
void |
setDocumentId(String documentId) |
void |
setFormatVersion(int formatVersion) |
void |
setSearchableContent(String searchableContent) |
public static DocumentContent.Builder create(String documentId)
public static DocumentContent.Builder create(DocumentContentContract contract)
public DocumentContent build()
ModelBuilder
build
in interface ModelBuilder
public String getDocumentId()
getDocumentId
in interface DocumentContentContract
public String getApplicationContent()
getApplicationContent
in interface DocumentContentContract
public String getAttributeContent()
getAttributeContent
in interface DocumentContentContract
public String getSearchableContent()
getSearchableContent
in interface DocumentContentContract
public int getFormatVersion()
getFormatVersion
in interface DocumentContentContract
public void setDocumentId(String documentId)
public void setApplicationContent(String applicationContent)
public void setAttributeContent(String attributeContent)
public void setSearchableContent(String searchableContent)
public void setFormatVersion(int formatVersion)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.