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

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.UserOption
All Implemented Interfaces:
Option, Comparable

public class UserOption
extends AbstractChildOption
implements Option, Comparable


Constructor Summary
UserOption(String alternateName)
           
UserOption(com.atlassian.crowd.embedded.api.User user)
           
UserOption(com.atlassian.crowd.embedded.api.User user, String alternateName)
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object o)
           
 String getName()
           
 com.atlassian.crowd.embedded.api.User getUser()
           
 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

UserOption

public UserOption(com.atlassian.crowd.embedded.api.User user)

UserOption

public UserOption(String alternateName)

UserOption

public UserOption(com.atlassian.crowd.embedded.api.User user,
                  String alternateName)
Method Detail

getName

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

getUser

public com.atlassian.crowd.embedded.api.User getUser()

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-2013 Atlassian. All Rights Reserved.