com.atlassian.jira.issue.fields.option
Class ChildGroupOption

java.lang.Object
  extended by com.atlassian.jira.issue.fields.option.AbstractOption
      extended by com.atlassian.jira.issue.fields.option.AbstractChildOption
          extended by com.atlassian.jira.issue.fields.option.ChildGroupOption
All Implemented Interfaces:
Option, Comparable

public class ChildGroupOption
extends AbstractChildOption
implements Option, Comparable


Constructor Summary
ChildGroupOption(com.atlassian.crowd.embedded.api.Group child)
           
ChildGroupOption(com.atlassian.crowd.embedded.api.Group child, String alternateName)
           
ChildGroupOption(String alternateName)
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object o)
           
 com.atlassian.crowd.embedded.api.Group getChild()
           
 String getName()
          return the name of this child.
 int hashCode()
           
 
Methods inherited from class com.atlassian.jira.issue.fields.option.AbstractChildOption
getDescription, getId, getParentName, getParentOption, setParentOption
 
Methods inherited from class com.atlassian.jira.issue.fields.option.AbstractOption
getChildOptions, getCssClass, getImagePath, getImagePathHtml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.fields.option.Option
getChildOptions, getCssClass, getDescription, getId, getImagePath, getImagePathHtml
 

Constructor Detail

ChildGroupOption

public ChildGroupOption(com.atlassian.crowd.embedded.api.Group child)

ChildGroupOption

public ChildGroupOption(String alternateName)

ChildGroupOption

public ChildGroupOption(com.atlassian.crowd.embedded.api.Group child,
                        String alternateName)
Method Detail

getName

public String getName()
return the name of this child. if alternateName has been set, use that instead of the name set in the group

Specified by:
getName in interface Option

getChild

public com.atlassian.crowd.embedded.api.Group getChild()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractOption

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable
Overrides:
compareTo in class AbstractOption


Copyright © 2002-2012 Atlassian. All Rights Reserved.