public class FieldConfigImpl extends Object implements FieldConfig, Comparable<FieldConfigImpl>
| Constructor and Description |
|---|
FieldConfigImpl(Long id,
String name,
String description,
List<FieldConfigItemType> configItemTypes,
String fieldId) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FieldConfigImpl rhs) |
boolean |
equals(Object o) |
List<FieldConfigItem> |
getConfigItems()
Returns a list of FieldConfigItems.
|
<T> ConfigurableField<T> |
getConfigurableField()
Returns the related configurable field.
|
CustomField |
getCustomField()
Returns the related custom field.
|
String |
getDescription() |
String |
getFieldId() |
Long |
getId() |
String |
getName() |
int |
hashCode() |
public String getDescription()
getDescription in interface FieldConfigpublic Long getId()
getId in interface FieldConfigpublic String getName()
getName in interface FieldConfigpublic CustomField getCustomField()
FieldConfigFieldConfig was originally only
used for customfields. Should eventually return a ConfigurableFieldgetCustomField in interface FieldConfigCustomFieldpublic <T> ConfigurableField<T> getConfigurableField()
FieldConfiggetConfigurableField in interface FieldConfigConfigurableFieldpublic String getFieldId()
getFieldId in interface FieldConfigpublic List<FieldConfigItem> getConfigItems()
FieldConfiggetConfigItems in interface FieldConfigFieldConfigItems. Collections.emptyList() if nothingpublic int compareTo(@Nonnull FieldConfigImpl rhs)
compareTo in interface Comparable<FieldConfigImpl>Copyright © 2002-2024 Atlassian. All Rights Reserved.