public static final class DocumentLink.Builder extends Object implements Serializable, ModelBuilder, DocumentLinkContract
DocumentLink
instances. Enforces the constraints of the DocumentLinkContract
.Modifier and Type | Method and Description |
---|---|
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) |
public static DocumentLink.Builder create(String originatingDocumentId, String destinationDocumentId)
public static DocumentLink.Builder create(DocumentLinkContract contract)
public DocumentLink build()
ModelBuilder
build
in interface ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
public String getOriginatingDocumentId()
getOriginatingDocumentId
in interface DocumentLinkContract
public String getDestinationDocumentId()
getDestinationDocumentId
in interface DocumentLinkContract
public void setOriginatingDocumentId(String originatingDocumentId)
public void setDestinationDocumentId(String destinationDocumentId)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.