Package org.mapstruct.ap.internal.model
Class ServicesEntry
- java.lang.Object
-
- org.mapstruct.ap.internal.writer.FreeMarkerWritable
-
- org.mapstruct.ap.internal.model.common.ModelElement
-
- org.mapstruct.ap.internal.model.ServicesEntry
-
- All Implemented Interfaces:
Writable
public class ServicesEntry extends ModelElement
- Author:
- Christophe Labouisse on 14/07/2015.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.mapstruct.ap.internal.writer.Writable
Writable.Context
-
-
Constructor Summary
Constructors Constructor Description ServicesEntry(String packageName, String name, String implementationPackage, String implementationName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetImplementationName()StringgetImplementationPackage()Set<Type>getImportTypes()Returns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.StringgetName()StringgetPackageName()-
Methods inherited from class org.mapstruct.ap.internal.writer.FreeMarkerWritable
getTemplateName, getTemplateNameForClass, write
-
-
-
-
Method Detail
-
getImportTypes
public Set<Type> getImportTypes()
Description copied from class:ModelElementReturns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.- Specified by:
getImportTypesin classModelElement- Returns:
- A set with type referenced by this model element. Must not be
null.
-
getPackageName
public String getPackageName()
-
getName
public String getName()
-
getImplementationPackage
public String getImplementationPackage()
-
getImplementationName
public String getImplementationName()
-
-