com.atlassian.jira.issue.fields
Class NavigableFieldImpl

java.lang.Object
  extended bycom.atlassian.jira.issue.fields.AbstractField
      extended bycom.atlassian.jira.issue.fields.NavigableFieldImpl
All Implemented Interfaces:
Field, NavigableField
Direct Known Subclasses:
CompositeComponentNavigableFieldImpl, CustomFieldImpl, DateField, KeyField, NavigableOrderableFieldImpl, ResolutionField, SubTaskField, VoteField, WorkRatioField

public class NavigableFieldImpl
extends AbstractField
implements NavigableField


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.fields.NavigableField
ORDER_ASCENDING, ORDER_DESCENDING
 
Constructor Summary
NavigableFieldImpl(java.lang.String id, java.lang.String nameKey, java.lang.String columnHeadingKey)
           
NavigableFieldImpl(java.lang.String id, java.lang.String nameKey, java.lang.String columnHeadingKey, java.lang.String defaultSortOrder, java.util.Comparator comparator)
           
 
Method Summary
 java.lang.String getColumnHeadingKey()
           
 java.util.Comparator getComparator()
           
 java.lang.String getDefaultSortOrder()
           
 boolean isSortable()
           
(package private)  void setComparator(java.util.Comparator c)
           
(package private)  void setDefaultSortOrder(java.lang.String s)
           
(package private)  void setSortable(boolean b)
           
 
Methods inherited from class com.atlassian.jira.issue.fields.AbstractField
equals, getId, getNameKey, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getNameKey
 

Constructor Detail

NavigableFieldImpl

public NavigableFieldImpl(java.lang.String id,
                          java.lang.String nameKey,
                          java.lang.String columnHeadingKey)

NavigableFieldImpl

public NavigableFieldImpl(java.lang.String id,
                          java.lang.String nameKey,
                          java.lang.String columnHeadingKey,
                          java.lang.String defaultSortOrder,
                          java.util.Comparator comparator)
Method Detail

getColumnHeadingKey

public java.lang.String getColumnHeadingKey()
Specified by:
getColumnHeadingKey in interface NavigableField

isSortable

public boolean isSortable()
Specified by:
isSortable in interface NavigableField

setSortable

void setSortable(boolean b)

getDefaultSortOrder

public java.lang.String getDefaultSortOrder()
Specified by:
getDefaultSortOrder in interface NavigableField

setDefaultSortOrder

void setDefaultSortOrder(java.lang.String s)

getComparator

public java.util.Comparator getComparator()
Specified by:
getComparator in interface NavigableField

setComparator

void setComparator(java.util.Comparator c)


Copyright © 2002-2005 Atlassian. All Rights Reserved.