com.atlassian.jira.imports.fogbugz.config
Class FullNameValueMapper

java.lang.Object
  extended by com.atlassian.jira.imports.config.AbstractValueMappingDefinition
      extended by com.atlassian.jira.imports.fogbugz.config.FullNameValueMapper
All Implemented Interfaces:
ValueMappingDefinition

public class FullNameValueMapper
extends AbstractValueMappingDefinition


Field Summary
 
Fields inherited from class com.atlassian.jira.imports.config.AbstractValueMappingDefinition
authenticationContext, connectionBean
 
Constructor Summary
FullNameValueMapper(DatabaseConnectionBean connectionBean, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 String getDescription()
           
 Collection getDistinctValues()
          Returns the number of unique values for this field
 Long getDistinctValuesCount()
           
 String getName()
          The name of the field being mapped, usually corresponds to the field name from the data source
 
Methods inherited from class com.atlassian.jira.imports.config.AbstractValueMappingDefinition
getI18n, getJiraFieldId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullNameValueMapper

public FullNameValueMapper(DatabaseConnectionBean connectionBean,
                           JiraAuthenticationContext authenticationContext)
Method Detail

getName

public String getName()
Description copied from interface: ValueMappingDefinition
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()

getDistinctValuesCount

public Long getDistinctValuesCount()

getDistinctValues

public Collection getDistinctValues()
Description copied from interface: ValueMappingDefinition
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.


Copyright © 2002-2009 Atlassian. All Rights Reserved.