|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ch.elca.dependency.graph.Layer
This class represents an architectural Layer withing analyzed
software. It is used by the class LayerOrder
to find
packages and the Layers they belong to.
Field Summary | |
static Layer |
UNASSIGNED
A default Layer used for nodes not belonging to a particular Layer. |
Constructor Summary | |
Layer()
Creates a new Layer instance. |
|
Layer(java.lang.String name)
Creates a new Layer instance. |
Method Summary | |
void |
addPackage(java.lang.String packageName)
Add a new package name that belongs to this Layer . |
java.lang.String |
getName()
Get the name of this Layer . |
java.lang.String[] |
getPackages()
Get a package associated with this Layer . |
void |
removePackage(java.lang.String packageName)
Remove a package from this Layer . |
void |
setName(java.lang.String name)
Set the name of this Layer . |
void |
setPackages(java.lang.String[] packages)
Set packages that belong to this Layer . |
java.lang.String |
toString()
Returns the String representation of a Layer instance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Layer UNASSIGNED
Constructor Detail |
public Layer()
Layer
instance.
public Layer(java.lang.String name)
Layer
instance.
name
- a String
valueMethod Detail |
public void setName(java.lang.String name)
Layer
.
name
- a String
valuepublic java.lang.String getName()
Layer
.
String
valuepublic void addPackage(java.lang.String packageName)
Layer
.
packageName
- a String
valuepublic void removePackage(java.lang.String packageName)
Layer
.
packageName
- a String
valuepublic java.lang.String[] getPackages()
Layer
.
String[]
valuepublic void setPackages(java.lang.String[] packages)
Layer
.
packages
- a String[]
valuepublic java.lang.String toString()
toString
in class java.lang.Object
String
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |