|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ch.elca.dependency.core.RawModel
The RawModel
is the data model created after the
initialisation. Only the "loadFilter" is applied to that model.
That means this model contains all the informations which are extracted out
of the class structure without any modifications.
The model is used to compare with the DependencyModel
when another
filter is applied during run time. So it is not necessary to perform another
parsing for applying a filter.
Analyzer
,
MainFrame
,
Graph
Constructor Summary | |
RawModel(Analyzer analyzer)
Creates a new RawModel instance. |
Method Summary | |
void |
createModel()
Creates the graph with the information in the hash table. |
java.util.ArrayList |
getNodeList()
Helper method that extracts the nodes which have to be created in the graph. |
java.util.HashMap |
getPackDepend()
Gets the HashMap with all the package dependencies of the
packages which passed the load filter.The key is the full qualified name string of the package. |
java.io.File |
getProjectRoot()
Get the project root file. |
java.util.HashMap |
getRawClassInfos()
Gets the ClassInfo objects which passed the load filter. |
Graph |
getRawGraph()
Gets the Graph with the raw data. |
Statistic |
getRawStatistic()
Gets the Statistic with the raw data. |
UserLayer |
getUserLayer()
Get the UserLayer . |
void |
setUserLayer(UserLayer userLayer)
Set a UserLayer . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RawModel(Analyzer analyzer) throws AnalyseException
RawModel
instance.
analyzer
- an Analyzer
value
AnalyseException
- if an error occursMethod Detail |
public void createModel() throws AnalyseException
AnalyseException
- if an error occurspublic java.util.ArrayList getNodeList()
ArrayList
valuepublic java.util.HashMap getRawClassInfos()
ClassInfo
objects which passed the load filter.
ClassInfo
objects.public Graph getRawGraph()
Graph
with the raw data.
public Statistic getRawStatistic()
Statistic
with the raw data.
public java.util.HashMap getPackDepend()
HashMap
with all the package dependencies of the
packages which passed the load filter.
public java.io.File getProjectRoot()
File
valuepublic UserLayer getUserLayer()
UserLayer
.
UserLayer
valuepublic void setUserLayer(UserLayer userLayer)
UserLayer
.
userLayer
- an UserLayer
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |