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:
java.io.Serializable, java.lang.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(java.lang.Object o)
           
 java.lang.String getLinkTitle()
           
 ContentEntityObject getSourceContent()
          The source content of this link (FROM).
 int hashCode()
           
 void setLinkTitle(java.lang.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 java.lang.String getLinkTitle()

setLinkTitle

public void setLinkTitle(java.lang.String title)

equals

public boolean equals(java.lang.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-2014 Atlassian. All Rights Reserved.