com.atlassian.jira.issue.fields.config
Class FieldConfigImpl

java.lang.Object
  extended by com.atlassian.jira.issue.fields.config.FieldConfigImpl
All Implemented Interfaces:
FieldConfig, Comparable

public class FieldConfigImpl
extends Object
implements FieldConfig, Comparable


Constructor Summary
FieldConfigImpl(Long id, String name, String description, List configItemTypes, String fieldId)
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object o)
           
 List getConfigItems()
           
 CustomField getCustomField()
          Returns the related custom field.
 String getDescription()
           
 String getFieldId()
           
 Long getId()
           
 String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldConfigImpl

public FieldConfigImpl(Long id,
                       String name,
                       String description,
                       List configItemTypes,
                       String fieldId)
Method Detail

getDescription

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

getId

public Long getId()
Specified by:
getId in interface FieldConfig

getName

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

getCustomField

public CustomField getCustomField()
Description copied from interface: FieldConfig
Returns the related custom field. This is very much a legacy method as FieldConfig was originally only used for customfields. Should eventually return a ConfigurableField

Specified by:
getCustomField in interface FieldConfig
Returns:
Related CustomField

getFieldId

public String getFieldId()
Specified by:
getFieldId in interface FieldConfig

getConfigItems

public List getConfigItems()
Specified by:
getConfigItems in interface FieldConfig
Returns:
A list of FieldConfigItems. Collections.EMPTY_LIST if nothing

equals

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

compareTo

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2008 Atlassian. All Rights Reserved.