com.atlassian.jira.imports.config
Interface ValueMappingDefinition

All Known Implementing Classes:
AbstractValueMappingDefinition

public interface ValueMappingDefinition

Interface that defines what a field being mapped in an importer looks like


Method Summary
 String getDescription()
           
 Collection getDistinctValues()
          Returns the number of unique values for this field
 String getJiraFieldId()
          If the field the mapping definition will map to in JIRA is known, else null
 String getName()
          The name of the field being mapped, usually corresponds to the field name from the data source
 

Method Detail

getName

public String getName()
The name of the field being mapped, usually corresponds to the field name from the data source

Returns:
String name of field

getDescription

public String getDescription()

getDistinctValues

public Collection getDistinctValues()
Returns the number of unique values for this field

Returns:
Number of unique values. If null, then the count will be "Unknown". This may be done for perfomance reasons.

getJiraFieldId

public String getJiraFieldId()
If the field the mapping definition will map to in JIRA is known, else null

Returns:
Returns the id of the field being mapped. This should match Field.getId() of the corresponding field


Copyright © 2002-2007 Atlassian. All Rights Reserved.