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

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

public class FieldConfigImpl
extends java.lang.Object
implements FieldConfig, java.lang.Comparable


Constructor Summary
FieldConfigImpl(java.lang.Long id, java.lang.String name, java.lang.String description, java.util.List configItemTypes, java.lang.String fieldId)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.util.List getConfigItems()
          Returns a list of FieldConfigItems.
 CustomField getCustomField()
          Returns the related custom field.
 java.lang.String getDescription()
           
 java.lang.String getFieldId()
           
 java.lang.Long getId()
           
 java.lang.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(java.lang.Long id,
                       java.lang.String name,
                       java.lang.String description,
                       java.util.List configItemTypes,
                       java.lang.String fieldId)
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface FieldConfig

getId

public java.lang.Long getId()
Specified by:
getId in interface FieldConfig

getName

public java.lang.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 java.lang.String getFieldId()
Specified by:
getFieldId in interface FieldConfig

getConfigItems

public java.util.List getConfigItems()
Description copied from interface: FieldConfig
Returns a list of FieldConfigItems.

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.