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 SummaryFields inherited from class com.logicaldoc.core.PersistentObjectDELETED_CODE_DEFAULT, DELETED_CODE_STRONG, id
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetType()inthashCode()voidsetDocument1(Document document1) voidsetDocument2(Document document2) voidMethods inherited from class com.logicaldoc.core.PersistentObjectgetCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
- 
Constructor Details- 
DocumentLinkpublic DocumentLink()
 
- 
- 
Method Details- 
getType
- 
setType
- 
getDocument1
- 
setDocument1
- 
getDocument2
- 
setDocument2
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- PersistentObject
 
- 
equals- Overrides:
- equalsin class- PersistentObject
 
 
-