Package com.atlassian.confluence.links
Class AbstractLink
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.confluence.core.ConfluenceEntityObject
-
- com.atlassian.confluence.links.AbstractLink
-
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
OutgoingLink
public abstract class AbstractLink extends ConfluenceEntityObject
An abstract link defines a source page (the source of the link) and is the superclass for all Link objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetLinkTitle()ContentEntityObjectgetSourceContent()The source content of this link (FROM).inthashCode()voidsetLinkTitle(String title)voidsetSourceContent(ContentEntityObject sourceContent)-
Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
-
-
-
-
Method Detail
-
getSourceContent
public ContentEntityObject getSourceContent()
The source content of this link (FROM).
-
setSourceContent
public void setSourceContent(ContentEntityObject sourceContent)
-
getLinkTitle
public String getLinkTitle()
-
setLinkTitle
public void setLinkTitle(String title)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
-