Package org.mapstruct.ap.model.PropertyMapping

Examples of org.mapstruct.ap.model.PropertyMapping.ConstantMappingBuilder


                    }

                    // its a constant
                    else if ( mapping.getConstant() != null && targetProperty != null ) {

                        propertyMapping = new ConstantMappingBuilder()
                                .mappingContext( ctx )
                                .sourceMethod( method )
                                .constantExpression( "\"" + mapping.getConstant() + "\"" )
                                .targetAccessor( targetProperty )
                                .dateFormat( mapping.getDateFormat() )
View Full Code Here

TOP

Related Classes of org.mapstruct.ap.model.PropertyMapping.ConstantMappingBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.