eu.etaxonomy.cdm.io.berlinModel.out.mapper
Class MethodMapper

java.lang.Object
  extended by eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
      extended by eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
          extended by eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase<DbExportStateBase<?>>
              extended by eu.etaxonomy.cdm.io.berlinModel.out.mapper.MethodMapper
All Implemented Interfaces:
IDbExportMapper<DbExportStateBase<?>>

public class MethodMapper
extends DbSingleAttributeExportMapperBase<DbExportStateBase<?>>
implements IDbExportMapper<DbExportStateBase<?>>

Version:
1.0
Author:
a.mueller

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase
obligatory
 
Fields inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
defaultValue
 
Constructor Summary
protected MethodMapper(String dbAttributeString, Class<?> clazz, String methodName, Class<?>... parameterTypes)
           
 
Method Summary
protected  int getSqlType()
           
 Class<?> getTypeClass()
           
protected  Object getValue(CdmBase cdmBase)
           
static
<T extends DbExportBase>
MethodMapper
NewInstance(String dbAttributeString, Class<?> clazz, String methodName, Class parameterTypes)
           
static
<T extends DbExportBase>
MethodMapper
NewInstance(String dbAttributeString, Class<?> clazz, String methodName, Class<?> parameterType1, Class<?> parameterType2)
           
static
<T extends DbExportBase>
MethodMapper
NewInstance(String dbAttributeString, DbExportBase bmeb)
           
static
<T extends DbExportBase>
MethodMapper
NewInstance(String dbAttributeString, DbExportBase bmeb, String methodName)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.berlinModel.out.mapper.DbSingleAttributeExportMapperBase
checkSqlServerColumnExists, doInvoke, getDbColumnIntegerInfo, getIndex, getPrecision, getPreparedStatement, getState, getTableName, initialize, invoke, toString
 
Methods inherited from class eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
getDestinationAttribute, getDestinationAttributeList, getDestinationAttributes, getSourceAttribute, getSourceAttributeList, getSourceAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.etaxonomy.cdm.io.berlinModel.out.mapper.IDbExportMapper
initialize, invoke
 

Constructor Detail

MethodMapper

protected MethodMapper(String dbAttributeString,
                       Class<?> clazz,
                       String methodName,
                       Class<?>... parameterTypes)
Parameters:
parameterTypes -
dbIdAttributString -
Method Detail

NewInstance

public static <T extends DbExportBase> MethodMapper NewInstance(String dbAttributeString,
                                                                DbExportBase bmeb)

NewInstance

public static <T extends DbExportBase> MethodMapper NewInstance(String dbAttributeString,
                                                                DbExportBase bmeb,
                                                                String methodName)

NewInstance

public static <T extends DbExportBase> MethodMapper NewInstance(String dbAttributeString,
                                                                Class<?> clazz,
                                                                String methodName,
                                                                Class parameterTypes)

NewInstance

public static <T extends DbExportBase> MethodMapper NewInstance(String dbAttributeString,
                                                                Class<?> clazz,
                                                                String methodName,
                                                                Class<?> parameterType1,
                                                                Class<?> parameterType2)

getTypeClass

public Class<?> getTypeClass()
Specified by:
getTypeClass in class CdmSingleAttributeMapperBase

getValue

protected Object getValue(CdmBase cdmBase)
Overrides:
getValue in class DbSingleAttributeExportMapperBase<DbExportStateBase<?>>

getSqlType

protected int getSqlType()
Specified by:
getSqlType in class DbSingleAttributeExportMapperBase<DbExportStateBase<?>>


Copyright © 2007-2011 EDIT. All Rights Reserved.