org.kuali.rice.kew.api.document
Class DocumentLink.Builder
java.lang.Object
org.kuali.rice.kew.api.document.DocumentLink.Builder
- All Implemented Interfaces:
- Serializable, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.ModelBuilder, DocumentLinkContract
- Enclosing class:
- DocumentLink
public static final class DocumentLink.Builder
- extends Object
- implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, DocumentLinkContract
A builder which can be used to construct DocumentLink
instances. Enforces the constraints of the DocumentLinkContract
.
- 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 DocumentLink.Builder create(String originatingDocumentId,
String destinationDocumentId)
create
public static DocumentLink.Builder create(DocumentLinkContract contract)
build
public DocumentLink build()
- Specified by:
build
in interface org.kuali.rice.core.api.mo.ModelBuilder
getId
public String getId()
- Specified by:
getId
in interface org.kuali.rice.core.api.mo.common.Identifiable
getOriginatingDocumentId
public String getOriginatingDocumentId()
- Specified by:
getOriginatingDocumentId
in interface DocumentLinkContract
getDestinationDocumentId
public String getDestinationDocumentId()
- Specified by:
getDestinationDocumentId
in interface DocumentLinkContract
setId
public void setId(String id)
setOriginatingDocumentId
public void setOriginatingDocumentId(String originatingDocumentId)
setDestinationDocumentId
public void setDestinationDocumentId(String destinationDocumentId)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.