public class ClassModel extends Object
JClass
for easy lookup when
BeanWriter
and BindingWriter
needs to access the
classes.
Holds information about the xmltag and typeParameters associated with a given JClass
or JNamedType
. These values are held in the ValueNodeInfo
.BeanWriter
,
BindingWriter
,
ValueNodeInfo
Constructor and Description |
---|
ClassModel() |
Modifier and Type | Method and Description |
---|---|
void |
addCreatedClass(JClass jclass)
Adds a
JClass to the ClassModel. |
String |
getBindingFilePath() |
Map<MappingNode,JClass> |
getClassesByNode() |
List<JClass> |
getCreatedClasses()
Returns a List of all generated
JClass . |
Edimap |
getEdimap() |
BindingConfig |
getRootBeanConfig() |
boolean |
isClassCreator(JClass jClass) |
void |
setBindingFilePath(String bindingFilePath) |
void |
setClassesByNode(Map<MappingNode,JClass> classesBySegref) |
void |
setEdimap(Edimap edimap) |
void |
setReferencedClasses(Collection<JClass> referencedClasses) |
void |
setRootBeanConfig(BindingConfig rootBeanConfig) |
public void setEdimap(Edimap edimap)
public Edimap getEdimap()
public BindingConfig getRootBeanConfig()
public void setRootBeanConfig(BindingConfig rootBeanConfig)
public void addCreatedClass(JClass jclass)
JClass
to the ClassModel.jclass
- the JClass
to add.public void setClassesByNode(Map<MappingNode,JClass> classesBySegref)
public Map<MappingNode,JClass> getClassesByNode()
public boolean isClassCreator(JClass jClass)
public void setReferencedClasses(Collection<JClass> referencedClasses)
public String getBindingFilePath()
public void setBindingFilePath(String bindingFilePath)
Copyright © 2020. All rights reserved.