public static final class DocumentDetail.Builder extends Object implements Serializable, ModelBuilder, DocumentDetailContract
DocumentDetail
instances. Enforces the constraints of the DocumentDetailContract
.Modifier and Type | Method and Description |
---|---|
DocumentDetail |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static DocumentDetail.Builder |
create(Document document) |
static DocumentDetail.Builder |
create(DocumentDetailContract contract) |
List<ActionRequest> |
getActionRequests() |
List<ActionTaken> |
getActionsTaken() |
Document |
getDocument() |
List<RouteNodeInstance> |
getRouteNodeInstances() |
void |
setActionRequests(List<ActionRequest> actionRequests) |
void |
setActionsTaken(List<ActionTaken> actionsTaken) |
void |
setDocument(Document document) |
void |
setRouteNodeInstances(List<RouteNodeInstance> routeNodeInstances) |
public static DocumentDetail.Builder create(Document document)
public static DocumentDetail.Builder create(DocumentDetailContract contract)
public DocumentDetail build()
ModelBuilder
build
in interface ModelBuilder
public Document getDocument()
getDocument
in interface DocumentDetailContract
public List<ActionRequest> getActionRequests()
getActionRequests
in interface DocumentDetailContract
public List<ActionTaken> getActionsTaken()
getActionsTaken
in interface DocumentDetailContract
public List<RouteNodeInstance> getRouteNodeInstances()
getRouteNodeInstances
in interface DocumentDetailContract
public void setDocument(Document document)
public void setActionRequests(List<ActionRequest> actionRequests)
public void setActionsTaken(List<ActionTaken> actionsTaken)
public void setRouteNodeInstances(List<RouteNodeInstance> routeNodeInstances)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.