eu.etaxonomy.cdm.io.common.mapping
Class CdmSingleAttributeMapperBase

java.lang.Object
  extended by eu.etaxonomy.cdm.io.common.mapping.CdmMapperBase
      extended by eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
          extended by eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
Direct Known Subclasses:
CdmBooleanMapper, CdmSingleAttributeXmlMapperBase, CdmStringMapper, CdmUriMapper, DbSingleAttributeExportMapperBase, DbSingleAttributeImportMapperBase

public abstract class CdmSingleAttributeMapperBase
extends CdmAttributeMapperBase

Version:
1.0
Author:
a.mueller

Field Summary
protected  Object defaultValue
           
 
Constructor Summary
protected CdmSingleAttributeMapperBase(String sourceAttributString, String destinationAttributeString)
           
protected CdmSingleAttributeMapperBase(String sourceAttributString, String destinationAttributeString, Object defaultValue)
           
 
Method Summary
 String getDestinationAttribute()
           
 List<String> getDestinationAttributeList()
           
 Set<String> getDestinationAttributes()
           
 String getSourceAttribute()
           
 List<String> getSourceAttributeList()
           
 Set<String> getSourceAttributes()
           
abstract  Class getTypeClass()
           
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

defaultValue

protected Object defaultValue
Constructor Detail

CdmSingleAttributeMapperBase

protected CdmSingleAttributeMapperBase(String sourceAttributString,
                                       String destinationAttributeString)

CdmSingleAttributeMapperBase

protected CdmSingleAttributeMapperBase(String sourceAttributString,
                                       String destinationAttributeString,
                                       Object defaultValue)
Method Detail

getSourceAttribute

public String getSourceAttribute()

getDestinationAttribute

public String getDestinationAttribute()

getSourceAttributes

public Set<String> getSourceAttributes()
Specified by:
getSourceAttributes in class CdmAttributeMapperBase

getDestinationAttributes

public Set<String> getDestinationAttributes()
Specified by:
getDestinationAttributes in class CdmAttributeMapperBase

getSourceAttributeList

public List<String> getSourceAttributeList()
Specified by:
getSourceAttributeList in class CdmAttributeMapperBase

getDestinationAttributeList

public List<String> getDestinationAttributeList()
Specified by:
getDestinationAttributeList in class CdmAttributeMapperBase

getTypeClass

public abstract Class getTypeClass()


Copyright © 2007-2013 EDIT. All Rights Reserved.