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 boolean
equals(Object o)
String
getLinkTitle()
ContentEntityObject
getSourceContent()
The source content of this link (FROM).int
hashCode()
void
setLinkTitle(String title)
void
setSourceContent(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:
equals
in classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
-