Package com.logicaldoc.core.document
Class DocumentLink
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.document.DocumentLink
- All Implemented Interfaces:
Serializable
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
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
int
hashCode()
void
setDocument1
(Document document1) void
setDocument2
(Document document2) void
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Constructor Details
-
DocumentLink
public DocumentLink()
-
-
Method Details
-
getType
-
setType
-
getDocument1
-
setDocument1
-
getDocument2
-
setDocument2
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-
equals
- Overrides:
equals
in classPersistentObject
-