eu.etaxonomy.cdm.io.berlinModel
Class CdmOneToManyMapper<ONE extends CdmBase,MANY extends CdmBase,SINGLE_MAPPER extends CdmSingleAttributeMapperBase>
java.lang.Object
eu.etaxonomy.cdm.io.common.mapping.CdmMapperBase
eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
eu.etaxonomy.cdm.io.common.mapping.MultipleAttributeMapperBase<SINGLE_MAPPER>
eu.etaxonomy.cdm.io.berlinModel.CdmOneToManyMapper<ONE,MANY,SINGLE_MAPPER>
- Direct Known Subclasses:
- CdmOneToManyXmlMapper
public class CdmOneToManyMapper<ONE extends CdmBase,MANY extends CdmBase,SINGLE_MAPPER extends CdmSingleAttributeMapperBase>
- extends MultipleAttributeMapperBase<SINGLE_MAPPER>
- Version:
- 1.0
- Author:
- a.mueller
CdmOneToManyMapper
public CdmOneToManyMapper(Class<ONE> oneClass,
Class<MANY> manyClass,
String singleAttributeName,
SINGLE_MAPPER[] singleAttributesMappers)
getSourceAttributeList
public List<String> getSourceAttributeList()
- Overrides:
getSourceAttributeList
in class MultipleAttributeMapperBase<SINGLE_MAPPER extends CdmSingleAttributeMapperBase>
getDestinationAttributeList
public List<String> getDestinationAttributeList()
- Overrides:
getDestinationAttributeList
in class MultipleAttributeMapperBase<SINGLE_MAPPER extends CdmSingleAttributeMapperBase>
getManyClass
public Class<MANY> getManyClass()
getOneClass
public Class<ONE> getOneClass()
getDestinationAttribute
public String getDestinationAttribute(String sourceAttribute)
getSingleMappers
public List<SINGLE_MAPPER> getSingleMappers()
getSingleAttributeName
public String getSingleAttributeName()
- Returns:
- the singleAttributeName
Copyright © 2007-2013 EDIT. All Rights Reserved.