gr.spinellis.umlgraph.doclet
Class ClassInfo

Package class diagram package ClassInfo
java.lang.Object
  extended by gr.spinellis.umlgraph.doclet.ClassInfo

 class ClassInfo
extends Object

Class's dot-comaptible alias name (for fully qualified class names) and printed information


Field Summary
private static int classNumber
           
(package private)  boolean hidden
          True if the class class node is hidden
(package private)  String name
          Alias name for the class
(package private)  boolean nodePrinted
          True if the class class node has been printed
(package private)  Map<String,RelationPattern> relatedClasses
          The list of classes that share a relation with this one.
 
Constructor Summary
ClassInfo(boolean p, boolean h)
           
 
Method Summary
 void addRelation(String dest, RelationType rt, RelationDirection d)
           
 RelationPattern getRelation(String dest)
           
static void reset()
          Start numbering from zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classNumber

private static int classNumber

name

String name
Alias name for the class


nodePrinted

boolean nodePrinted
True if the class class node has been printed


hidden

boolean hidden
True if the class class node is hidden


relatedClasses

Map<String,RelationPattern> relatedClasses
The list of classes that share a relation with this one. Contains all the classes linked with a bi-directional relation , and the ones referred by a directed relation

Constructor Detail

ClassInfo

ClassInfo(boolean p,
          boolean h)
Method Detail

addRelation

public void addRelation(String dest,
                        RelationType rt,
                        RelationDirection d)

getRelation

public RelationPattern getRelation(String dest)

reset

public static void reset()
Start numbering from zero.