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, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()voidsetDocument1(Document document1) voidsetDocument2(Document document2) voidMethods 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:
hashCodein classPersistentObject
-
equals
- Overrides:
equalsin classPersistentObject
-