|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.api.document.DocumentLink.Builder
public static final class DocumentLink.Builder
A builder which can be used to construct DocumentLink instances. Enforces the constraints of the DocumentLinkContract.
| Method Summary | |
|---|---|
DocumentLink |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static DocumentLink.Builder |
create(DocumentLinkContract contract)
|
static DocumentLink.Builder |
create(String originatingDocumentId,
String destinationDocumentId)
|
String |
getDestinationDocumentId()
|
String |
getId()
The unique identifier for an object. |
String |
getOriginatingDocumentId()
|
void |
setDestinationDocumentId(String destinationDocumentId)
|
void |
setId(String id)
|
void |
setOriginatingDocumentId(String originatingDocumentId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DocumentLink.Builder create(String originatingDocumentId,
String destinationDocumentId)
public static DocumentLink.Builder create(DocumentLinkContract contract)
public DocumentLink build()
ModelBuilder
build in interface ModelBuilderpublic String getId()
Identifiable
getId in interface Identifiablepublic String getOriginatingDocumentId()
getOriginatingDocumentId in interface DocumentLinkContractpublic String getDestinationDocumentId()
getDestinationDocumentId in interface DocumentLinkContractpublic void setId(String id)
public void setOriginatingDocumentId(String originatingDocumentId)
public void setDestinationDocumentId(String destinationDocumentId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||