com.atlassian.jira.issue.fields.layout.field
Class FieldLayoutItemImpl

java.lang.Object
  extended bycom.atlassian.jira.issue.fields.layout.field.FieldLayoutItemImpl
All Implemented Interfaces:
java.lang.Comparable, FieldLayoutItem

public class FieldLayoutItemImpl
extends java.lang.Object
implements FieldLayoutItem


Constructor Summary
FieldLayoutItemImpl(OrderableField orderableField, java.lang.String description, int position, boolean hidden, boolean required)
          Field Item implementation constructor.
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getFieldDescription()
           
 OrderableField getOrderableField()
           
 int getPosition()
          Position of this field in the list (starting from zero).
 int hashCode()
           
 boolean isHidden()
           
 boolean isRequired()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldLayoutItemImpl

public FieldLayoutItemImpl(OrderableField orderableField,
                           java.lang.String description,
                           int position,
                           boolean hidden,
                           boolean required)
Field Item implementation constructor.

Parameters:
orderableField - See FieldManager.getOrderableField(java.lang.String)
description - Field description
position - Zero-relative field vertical position
hidden - Whether field is hidden
required - Whether field is required.
Method Detail

getOrderableField

public OrderableField getOrderableField()
Specified by:
getOrderableField in interface FieldLayoutItem

getFieldDescription

public java.lang.String getFieldDescription()
Specified by:
getFieldDescription in interface FieldLayoutItem

getPosition

public int getPosition()
Description copied from interface: FieldLayoutItem
Position of this field in the list (starting from zero).

Specified by:
getPosition in interface FieldLayoutItem

isHidden

public boolean isHidden()
Specified by:
isHidden in interface FieldLayoutItem

isRequired

public boolean isRequired()
Specified by:
isRequired in interface FieldLayoutItem

compareTo

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

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()


Copyright © 2002-2005 Atlassian. All Rights Reserved.