public final class DozerMappingMetadata extends Object implements MappingMetadata
Constructor and Description |
---|
DozerMappingMetadata(ClassMappings classMappings) |
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.
|
public DozerMappingMetadata(ClassMappings classMappings)
public List<ClassMappingMetadata> getClassMappings()
MappingMetadata
getClassMappings
in interface MappingMetadata
ClassMappingMetadata
public List<ClassMappingMetadata> getClassMappingsBySourceName(String sourceClassName)
MappingMetadata
getClassMappingsBySourceName
in interface MappingMetadata
sourceClassName
- The fully qualified class name of the source class.sourceClassName
to other classes.public List<ClassMappingMetadata> getClassMappingsByDestinationName(String destinationClassName)
MappingMetadata
getClassMappingsByDestinationName
in interface MappingMetadata
destinationClassName
- The fully qualified class name of the destination class.destinationClassName
.public ClassMappingMetadata getClassMappingByName(String sourceClassName, String destinationClassName)
MappingMetadata
getClassMappingByName
in interface MappingMetadata
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
.public List<ClassMappingMetadata> getClassMappingsBySource(Class<?> sourceClass)
MappingMetadata
getClassMappingsBySource
in interface MappingMetadata
sourceClass
- The Class object which references the source class.sourceClass
to other classes.public List<ClassMappingMetadata> getClassMappingsByDestination(Class<?> destinationClass)
MappingMetadata
getClassMappingsByDestination
in interface MappingMetadata
destinationClass
- The Class object which references the destination class.destinationClass
.public ClassMappingMetadata getClassMapping(Class<?> sourceClass, Class<?> destinationClass)
MappingMetadata
getClassMapping
in interface MappingMetadata
sourceClass
- The Class object that references the source class.destinationClass
- The Class object that references the destination class.sourceClass
to the class destinationClass
.Copyright © 2005-2014 dozer. All Rights Reserved.