Package com.logicaldoc.core.document
Class DocumentLink
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.document.DocumentLink
-
public class DocumentLink extends PersistentObject
Represents a document link. It represents a link between two documents (document1 and document2). Every link can be of a certain type.- Since:
- 4.0
- Author:
- Matteo Caruso - LogicalDOC
-
-
Field Summary
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Constructor Summary
Constructors Constructor Description DocumentLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document
getDocument1()
Document
getDocument2()
String
getType()
void
setDocument1(Document document1)
void
setDocument2(Document document2)
void
setType(String type)
-
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
-