public interface MappingMetadata
Modifier and Type | Method and Description |
---|---|
ClassMappingMetadata |
getClassMapping(Class<?> sourceClass,
Class<?> destinationClass)
This method retrieves class mapping metadata based on two Class objects.
|
ClassMappingMetadata |
getClassMappingByName(String sourceClassName,
String destinationClassName)
This method retrieves class mapping metadata based on the class names.
|
List<ClassMappingMetadata> |
getClassMappings()
Obtains a list of all available mapping definitions.
|
List<ClassMappingMetadata> |
getClassMappingsByDestination(Class<?> destinationClass)
This method retrieves class mapping metadata based on the destination class.
|
List<ClassMappingMetadata> |
getClassMappingsByDestinationName(String destinationClassName)
This method retrieves class mapping metadata based on the destination class name.
|
List<ClassMappingMetadata> |
getClassMappingsBySource(Class<?> sourceClass)
This method retrieves class mapping metadata based on the source class.
|
List<ClassMappingMetadata> |
getClassMappingsBySourceName(String sourceClassName)
This method retrieves class mapping metadata based on the source class name.
|
List<ClassMappingMetadata> getClassMappings()
ClassMappingMetadata
List<ClassMappingMetadata> getClassMappingsBySourceName(String sourceClassName)
sourceClassName
- The fully qualified class name of the source class.sourceClassName
to other classes.List<ClassMappingMetadata> getClassMappingsByDestinationName(String destinationClassName)
destinationClassName
- The fully qualified class name of the destination class.destinationClassName
.ClassMappingMetadata getClassMappingByName(String sourceClassName, String destinationClassName)
sourceClassName
- The fully qualified class name of the source class.destinationClassName
- The fully qualified class name of the destination class.sourceClassName
to a class with the name destinationClassName
.List<ClassMappingMetadata> getClassMappingsBySource(Class<?> sourceClass)
sourceClass
- The Class object which references the source class.sourceClass
to other classes.List<ClassMappingMetadata> getClassMappingsByDestination(Class<?> destinationClass)
destinationClass
- The Class object which references the destination class.destinationClass
.ClassMappingMetadata getClassMapping(Class<?> sourceClass, Class<?> destinationClass)
sourceClass
- The Class object that references the source class.destinationClass
- The Class object that references the destination class.sourceClass
to the class destinationClass
.MetadataLookupException
- If no class map could be found.Copyright © 2005-2014 dozer. All Rights Reserved.