com.atlassian.confluence.links
Class AbstractLink

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.confluence.core.ConfluenceEntityObject
          extended by com.atlassian.confluence.links.AbstractLink
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
OutgoingLink, ReferralLink

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
AbstractLink()
           
 
Method Summary
 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
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLink

public AbstractLink()
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 class com.atlassian.core.bean.EntityObject

hashCode

public int hashCode()
Overrides:
hashCode in class com.atlassian.core.bean.EntityObject


Copyright © 2003–2015 Atlassian. All rights reserved.