com.atlassian.jira.plugin.webfragment.model
Class MockSimpleLinkSection

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.model.MockSimpleLinkSection
All Implemented Interfaces:
SimpleLinkSection
Direct Known Subclasses:
MockSimpleLink

public class MockSimpleLinkSection
extends Object
implements SimpleLinkSection

Since:
v6.2

Field Summary
protected  String iconUrl
           
protected  String id
           
protected  String label
           
protected  Map<String,String> params
           
protected  String styleClass
           
protected  String title
           
protected  Integer weight
           
 
Constructor Summary
MockSimpleLinkSection(String id)
           
 
Method Summary
 boolean equals(Object o)
           
 String getIconUrl()
          The url for the icon for the section
 String getId()
          The unique id for the section.
 String getLabel()
          The label for the section
 Map<String,String> getParams()
          Get params associated with this section
 String getStyleClass()
          The style to aply to the section
 String getTitle()
          The title (tooltip) for the section
 Integer getWeight()
          The weight for the section
 int hashCode()
           
 void setIconUrl(String iconUrl)
           
 void setId(String id)
           
 void setLabel(String label)
           
 void setParams(Map<String,String> params)
           
 void setStyleClass(String styleClass)
           
 void setTitle(String title)
           
 void setWeight(Integer weight)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

label

protected String label

title

protected String title

iconUrl

protected String iconUrl

styleClass

protected String styleClass

id

protected String id

params

protected Map<String,String> params

weight

protected Integer weight
Constructor Detail

MockSimpleLinkSection

public MockSimpleLinkSection(String id)
Method Detail

getLabel

public String getLabel()
Description copied from interface: SimpleLinkSection
The label for the section

Specified by:
getLabel in interface SimpleLinkSection
Returns:
The label for the section

setLabel

public void setLabel(String label)

getTitle

public String getTitle()
Description copied from interface: SimpleLinkSection
The title (tooltip) for the section

Specified by:
getTitle in interface SimpleLinkSection
Returns:
The title (tooltip) for the section

setTitle

public void setTitle(String title)

getIconUrl

public String getIconUrl()
Description copied from interface: SimpleLinkSection
The url for the icon for the section

Specified by:
getIconUrl in interface SimpleLinkSection
Returns:
The url for the icon for the section

setIconUrl

public void setIconUrl(String iconUrl)

getStyleClass

public String getStyleClass()
Description copied from interface: SimpleLinkSection
The style to aply to the section

Specified by:
getStyleClass in interface SimpleLinkSection
Returns:
The style to aply to the section

setStyleClass

public void setStyleClass(String styleClass)

getId

public String getId()
Description copied from interface: SimpleLinkSection
The unique id for the section. This should not be null.

Specified by:
getId in interface SimpleLinkSection
Returns:
The unique id for the section.

setId

public void setId(String id)

getParams

public Map<String,String> getParams()
Description copied from interface: SimpleLinkSection
Get params associated with this section

Specified by:
getParams in interface SimpleLinkSection
Returns:
untyped params of this section

setParams

public void setParams(Map<String,String> params)

getWeight

public Integer getWeight()
Description copied from interface: SimpleLinkSection
The weight for the section

Specified by:
getWeight in interface SimpleLinkSection
Returns:
The weight for the section

setWeight

public void setWeight(Integer weight)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.