com.atlassian.jira.rest.v2.common
Class SimpleLinkBean

java.lang.Object
  extended by com.atlassian.jira.rest.v2.common.SimpleLinkBean

public class SimpleLinkBean
extends Object

Bean representing a SimpleLink. This is useful when constructing dropdowns populated dynamically.

Since:
v5.0

Field Summary
static SimpleLinkBean DOC_EXAMPLE
           
 
Constructor Summary
SimpleLinkBean()
           
SimpleLinkBean(SimpleLink link)
           
SimpleLinkBean(String id, String styleClass, String label, String title, String href, String iconClass)
           
SimpleLinkBean(String id, String styleClass, String label, String title, String href, String iconClass, Integer weight)
           
 
Method Summary
 boolean equals(Object o)
           
 String getHref()
           
 String getIconClass()
           
 String getId()
           
 String getLabel()
           
 String getStyleClass()
           
 String getTitle()
           
 Integer getWeight()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DOC_EXAMPLE

public static final SimpleLinkBean DOC_EXAMPLE
Constructor Detail

SimpleLinkBean

public SimpleLinkBean()

SimpleLinkBean

public SimpleLinkBean(SimpleLink link)

SimpleLinkBean

public SimpleLinkBean(String id,
                      String styleClass,
                      String label,
                      String title,
                      String href,
                      String iconClass)

SimpleLinkBean

public SimpleLinkBean(String id,
                      String styleClass,
                      String label,
                      String title,
                      String href,
                      String iconClass,
                      Integer weight)
Method Detail

getId

public String getId()

getStyleClass

public String getStyleClass()

getLabel

public String getLabel()

getTitle

public String getTitle()

getHref

public String getHref()

getIconClass

public String getIconClass()

getWeight

public Integer getWeight()

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.