com.atlassian.jira.issue.fields
Class AbstractField

java.lang.Object
  extended bycom.atlassian.jira.issue.fields.AbstractField
All Implemented Interfaces:
Comparable, Field
Direct Known Subclasses:
AbstractOrderableField, NavigableFieldImpl

public class AbstractField
extends Object
implements Field


Field Summary
protected  JiraAuthenticationContext authenticationContext
           
 
Constructor Summary
AbstractField(String id, String name, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
protected  JiraAuthenticationContext getAuthenticationContext()
           
 String getId()
          The unique id of the field
 String getName()
          Returns i18n'ed name of the field for system fields or the name of a custom field.
 String getNameKey()
          The i18n key that is used to lookup the field's name when it is displayed
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authenticationContext

protected final JiraAuthenticationContext authenticationContext
Constructor Detail

AbstractField

public AbstractField(String id,
                     String name,
                     JiraAuthenticationContext authenticationContext)
Method Detail

getId

public String getId()
Description copied from interface: Field
The unique id of the field

Specified by:
getId in interface Field

getNameKey

public String getNameKey()
Description copied from interface: Field
The i18n key that is used to lookup the field's name when it is displayed

Specified by:
getNameKey in interface Field

getName

public String getName()
Description copied from interface: Field
Returns i18n'ed name of the field for system fields or the name of a custom field.

Specified by:
getName in interface Field

equals

public boolean equals(Object o)

hashCode

public int hashCode()

getAuthenticationContext

protected JiraAuthenticationContext getAuthenticationContext()

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2002-2006 Atlassian. All Rights Reserved.