public class DefaultMapperReference extends MapperReference
Mappers#getMapper()
method. Used by default if no other component
model is specified via Mapper#uses()
.Writable.Context
Modifier and Type | Method and Description |
---|---|
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
static DefaultMapperReference |
getInstance(Type type,
boolean isAnnotatedMapper,
TypeFactory typeFactory,
List<String> otherMapperReferences) |
boolean |
isAnnotatedMapper() |
getType, getVariableName, isTypeRequiresImport, isUsed, setTypeRequiresImport, setUsed
write
getTemplateName, getTemplateNameForClass
public static DefaultMapperReference getInstance(Type type, boolean isAnnotatedMapper, TypeFactory typeFactory, List<String> otherMapperReferences)
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class Field
null
.public boolean isAnnotatedMapper()
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.