org.kuali.rice.kew.documentlink
Class DocumentLink

java.lang.Object
  extended by org.kuali.rice.kew.documentlink.DocumentLink
All Implemented Interfaces:
Serializable, Identifiable, DocumentLinkContract

@Entity
public class DocumentLink
extends Object
implements Serializable, DocumentLinkContract

Server side bean for DocumentLinkDAO

Author:
Kuali Rice Team (kuali-rice@googlegroups.com)
See Also:
Serialized Form

Field Summary
private  String destDocId
           
private  String docLinkId
           
private  String orgnDocId
           
private static long serialVersionUID
           
 
Constructor Summary
DocumentLink()
           
 
Method Summary
 void beforeInsert()
           
static DocumentLink from(DocumentLink documentLink)
           
 String getDestDocId()
           
 String getDestinationDocumentId()
           
 String getDocLinkId()
           
 String getId()
          The unique identifier for an object.
 String getOrgnDocId()
           
 String getOriginatingDocumentId()
           
 void setDestDocId(String destDocId)
           
 void setDocLinkId(String docLinkId)
           
 void setOrgnDocId(String orgnDocId)
           
static DocumentLink to(DocumentLink documentLinkBo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

docLinkId

private String docLinkId

orgnDocId

private String orgnDocId

destDocId

private String destDocId
Constructor Detail

DocumentLink

public DocumentLink()
Method Detail

getDocLinkId

public String getDocLinkId()
Returns:
the docLinkId

setDocLinkId

public void setDocLinkId(String docLinkId)
Parameters:
docLinkId - the docLinkId to set

getOrgnDocId

public String getOrgnDocId()
Returns:
the orgnDocId

setOrgnDocId

public void setOrgnDocId(String orgnDocId)
Parameters:
orgnDocId - the orgnDocId to set

getDestDocId

public String getDestDocId()
Returns:
the destDocId

setDestDocId

public void setDestDocId(String destDocId)
Parameters:
destDocId - the destDocId to set

beforeInsert

public void beforeInsert()

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id

getOriginatingDocumentId

public String getOriginatingDocumentId()
Specified by:
getOriginatingDocumentId in interface DocumentLinkContract

getDestinationDocumentId

public String getDestinationDocumentId()
Specified by:
getDestinationDocumentId in interface DocumentLinkContract

to

public static DocumentLink to(DocumentLink documentLinkBo)

from

public static DocumentLink from(DocumentLink documentLink)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.