public static final class DocumentSearchResultValue.Builder extends Object implements Serializable, ModelBuilder, DocumentSearchResultValueContract
DocumentSearchResultValue instances.  Enforces the constraints
 of the DocumentSearchResultValueContract.| Modifier and Type | Method and Description | 
|---|---|
| DocumentSearchResultValue | build()Returns an instance of the object being built by this builder based
 on the current state of the builder. | 
| static DocumentSearchResultValue.Builder | create(DocumentSearchResultValueContract contract)Creates a new builder instance initialized with copies of the properties from the given contract. | 
| static DocumentSearchResultValue.Builder | create(String documentId)Creates a new builder instance initialized with the given document id. | 
| List<DocumentAttribute.AbstractBuilder<?>> | getDocumentAttributes()Returns the customized document attribute values for this document search result. | 
| String | getDocumentId()Returns the id of the document for which this customized result value applies. | 
| void | setDocumentAttributes(List<DocumentAttribute.AbstractBuilder<?>> documentAttributes)Sets the list of document attribute builders on this builder to the given list. | 
| void | setDocumentId(String documentId)Sets the document id on this builder to the given value. | 
public static DocumentSearchResultValue.Builder create(String documentId)
documentId - the id of the document with which to initialize this builder, must not be a null or blank
 valuepublic static DocumentSearchResultValue.Builder create(DocumentSearchResultValueContract contract)
contract - the contract from which to copy propertiesIllegalArgumentException - if the given contract is nullpublic DocumentSearchResultValue build()
ModelBuilderbuild in interface ModelBuilderpublic String getDocumentId()
DocumentSearchResultValueContractgetDocumentId in interface DocumentSearchResultValueContractpublic List<DocumentAttribute.AbstractBuilder<?>> getDocumentAttributes()
DocumentSearchResultValueContractgetDocumentAttributes in interface DocumentSearchResultValueContractpublic void setDocumentId(String documentId)
documentId - the id of the document to set on this builder, must not be a null or blank valueIllegalArgumentException - if documentId is a null or blank valuepublic void setDocumentAttributes(List<DocumentAttribute.AbstractBuilder<?>> documentAttributes)
documentAttributes - the list of document attribute builders to set on this builderCopyright © 2005–2016 The Kuali Foundation. All rights reserved.