com.atlassian.jira.issue.customfields.option
Class GenericImmutableOptions
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
com.atlassian.jira.issue.customfields.option.GenericImmutableOptions
- All Implemented Interfaces:
- java.util.Collection, java.util.List, Options
- public class GenericImmutableOptions
- extends java.util.AbstractList
- implements Options
Nested classes inherited from class java.util.AbstractList |
|
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
customField
CustomField customField
originalList
java.util.List originalList
GenericImmutableOptions
public GenericImmutableOptions(java.util.List originalList,
CustomField customField)
get
public java.lang.Object get(int index)
- Specified by:
get
in interface java.util.List
size
public int size()
- Specified by:
size
in interface java.util.List
getRootOptions
public java.util.Collection getRootOptions()
- Description copied from interface:
Options
- This is the same as
getOptions(null)
- Specified by:
getRootOptions
in interface Options
- Returns:
addOption
public Option addOption(Option parent,
java.lang.String value)
- Specified by:
addOption
in interface Options
removeOption
public void removeOption(Option option)
- Specified by:
removeOption
in interface Options
incrementSequence
public void incrementSequence(Option option)
- Specified by:
incrementSequence
in interface Options
decrementSequence
public void decrementSequence(Option option)
- Specified by:
decrementSequence
in interface Options
getOptionById
public Option getOptionById(java.lang.Long optionId)
- Specified by:
getOptionById
in interface Options
getOptionForValue
public Option getOptionForValue(java.lang.String value,
java.lang.Long parentOptionId)
- Specified by:
getOptionForValue
in interface Options
getRelatedCustomField
public CustomField getRelatedCustomField()
- Specified by:
getRelatedCustomField
in interface Options
Copyright © 2002-2005 Atlassian. All Rights Reserved.