public abstract class AbstractInterconnectModel<T extends IGeneratorDefinition,K extends Imports<T>> extends GeneratorModel<T,K>
| Modifier and Type | Field and Description |
|---|---|
protected List<MemberDef> |
allMemberDefs |
protected List<CollectionMemberDef> |
collectionMemberDefs |
protected List<ImplementsDef> |
implementsDef |
protected List<MapMemberDef> |
mapMemberDefs |
protected List<MemberDef> |
noCollectionMemberDefs |
DEFAULT_TARGET_DIR, definition, imports| Constructor and Description |
|---|
AbstractInterconnectModel() |
afterChildHandling, generateClazzWithTemplates, getLogger, getTargetFolder, initprotected final List<CollectionMemberDef> collectionMemberDefs
protected final List<ImplementsDef> implementsDef
protected final List<MapMemberDef> mapMemberDefs
protected boolean interfaceMode()
protected void beforeChildHandling()
beforeChildHandling in class GeneratorModel<T extends IGeneratorDefinition,K extends Imports<T>>protected void handleChild(Object child)
handleChild in class GeneratorModel<T extends IGeneratorDefinition,K extends Imports<T>>protected void handleMemberAdditionaly(Object member)
protected void handleImplementsDef(ImplementsDef member)
protected void handleMultiMember(MemberDef member)
protected void handleSingleMember(MemberDef member)
protected void handleContentMembers(ContentDef content)
public boolean genereateFile()
public Imports getImports()
public String getInterfaceImplements()
public List<MemberDef> getAllFields()
public List<CollectionMemberDef> getCollectionFields()
public List getNoCollectionFields()
public List<MapMemberDef> getMapFields()
public abstract String getClazzName()
public abstract String getClazzPath()
public String getInterfaceClazzPath()
public String getInterfaceClazzName()
public boolean hasParentClazz()
public abstract String getParentClazzName()
public String getParentInterfaceName()
public abstract String getParentClazzPath()
public String getParentInterfacePath()
public String getParentBuilder()
public boolean isDeprecated()
public String getPackageName()
public String getAuthor()
public String getComment()
public String getRemoveDate()
public Integer getSerialVersion()
protected ImplementsDef getImplementsDef(Class<?> clazz)
Copyright © 2016–2019 Taimos GmbH. All rights reserved.