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

java.lang.Object
  extended bycom.atlassian.jira.issue.fields.option.AbstractOption
      extended bycom.atlassian.jira.issue.fields.option.GroupOption
All Implemented Interfaces:
Comparable, Option

public class GroupOption
extends AbstractOption
implements Option


Constructor Summary
GroupOption(Group group)
           
GroupOption(Group group, String alternateName)
           
GroupOption(String alternateName)
           
 
Method Summary
 void addChildOption(UserOption userOption)
           
 List getChildOptions()
          get the users to be displayed under this groups option.
 String getDescription()
           
 Group getGroup()
           
 String getId()
           
 String getName()
          return the name of this group.
 String getRawName()
          get the group name regardless of whether an alternate name has been set
 
Methods inherited from class com.atlassian.jira.issue.fields.option.AbstractOption
compareTo, equals, getCssClass, getImagePath, hashCode
 
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
getCssClass, getImagePath
 

Constructor Detail

GroupOption

public GroupOption(Group group)

GroupOption

public GroupOption(String alternateName)

GroupOption

public GroupOption(Group group,
                   String alternateName)
Method Detail

getId

public String getId()
Specified by:
getId in interface Option

getName

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

Specified by:
getName in interface Option

getRawName

public String getRawName()
get the group name regardless of whether an alternate name has been set


getDescription

public String getDescription()
Specified by:
getDescription in interface Option

getGroup

public Group getGroup()

getChildOptions

public List getChildOptions()
get the users to be displayed under this groups option. Does not necessarily have the actual users of this group

Specified by:
getChildOptions in interface Option
Overrides:
getChildOptions in class AbstractOption

addChildOption

public void addChildOption(UserOption userOption)


Copyright © 2002-2006 Atlassian. All Rights Reserved.