- java.lang.Object
-
- com.remondis.remap.Mapping
-
-
Constructor Summary
Constructors Constructor Description Mapping()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <S> Types<S>from(Class<S> source)Specifies the source data type to map from.static <S> Types<S>from(S sourceInstance)Specifies the source data type to map from.
-
-
-
Method Detail
-
from
public static <S> Types<S> from(Class<S> source)
Specifies the source data type to map from.- Parameters:
source- the data source type.- Returns:
- Returns a
Typesobject for further mapping configuration.
-
from
public static <S> Types<S> from(S sourceInstance)
Specifies the source data type to map from. Use this method to provide information about generic types by providing an instance of the object to map.- Parameters:
sourceInstance- The source instance.- Returns:
- Returns a
Typesobject for further mapping configuration.
-
-