org.omnaest.utils.structure.element.converter
Class ElementConverterTypeAwareGenericsBased<FROM,TO>
java.lang.Object
org.omnaest.utils.structure.element.converter.ElementConverterTypeAwareGenericsBased<FROM,TO>
- Type Parameters:
FROM - TO -
- All Implemented Interfaces:
- Serializable, ElementConverter<FROM,TO>, ElementConverterTypeAware<FROM,TO>, ElementConverterTypeAwareSerializable<FROM,TO>
public abstract class ElementConverterTypeAwareGenericsBased<FROM,TO>
- extends Object
- implements ElementConverterTypeAwareSerializable<FROM,TO>
Abstract ElementConverterTypeAware implementation which allows to resolve the
ElementConverterTypeAware.getSourceAndTargetType() based on the generic types of the ElementConverter.
This only works for direct type derivates of this Class
- Author:
- Omnaest
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementConverterTypeAwareGenericsBased
public ElementConverterTypeAwareGenericsBased()
getSourceAndTargetType
public ElementConverterTypeAware.SourceAndTargetType<FROM,TO> getSourceAndTargetType()
- Description copied from interface:
ElementConverterTypeAware
- Returns the
ElementConverterTypeAware.SourceAndTargetType of the ElementConverter
- Specified by:
getSourceAndTargetType in interface ElementConverterTypeAware<FROM,TO>
- Returns:
Copyright © 2013. All Rights Reserved.