@Test public void destinationTypeIsArrayListByDefaultWhenFieldTypeIsCollection() { tableMapping = new TableMapping(Collection.class, Object.class, "sapName", "javaName", structureMapping, null); Class<?> destinationType = tableMapping.getDestinationType(); assertThat(destinationType).isSameAs(ArrayList.class); }
public Class<?> getDestinationType() { return this.destinationType; }
TableMapping extends ParameterMapping { public Class<?> getDestinationType() { return this.destinationType; } }
TableMapping extends ParameterMapping { public Class<?> getDestinationType() { return this.destinationType; } TableMapping(final Class<?> fieldType,
                        final Class<?> associatedType,
                        final String sapName,
                        final String javaName,
                        final StructureMapping componentParameter,
                        final Class<? extends Converter<?, ?>> converterClass); }
TableMapping extends ParameterMapping { public Class<?> getDestinationType() { return this.destinationType; } TableMapping(final Class<?> fieldType,
                        final Class<?> associatedType,
                        final String sapName,
                        final String javaName,
                        final StructureMapping componentParameter,
                        final Class<? extends Converter<?, ?>> converterClass); Class<?> getDestinationType(); StructureMapping getComponentParameter(); Class<?> getFieldType(); @Override ParamType getParamType(); @Override Object getUnconvertedValueToJava(final Object fieldMapCollection, final ConverterCache converterCache); @Override @Generated("") boolean equals(final Object o); @Override @Generated("") int hashCode(); }
TableMapping extends ParameterMapping { public Class<?> getDestinationType() { return this.destinationType; } TableMapping(final Class<?> fieldType,
                        final Class<?> associatedType,
                        final String sapName,
                        final String javaName,
                        final StructureMapping componentParameter,
                        final Class<? extends Converter<?, ?>> converterClass); Class<?> getDestinationType(); StructureMapping getComponentParameter(); Class<?> getFieldType(); @Override ParamType getParamType(); @Override Object getUnconvertedValueToJava(final Object fieldMapCollection, final ConverterCache converterCache); @Override @Generated("") boolean equals(final Object o); @Override @Generated("") int hashCode();  }