org.kite9.diagram.builders
Class IdHelper

java.lang.Object
  extended by org.kite9.diagram.builders.IdHelper

public class IdHelper
extends Object

Ensures that IDs for elements are unique within the diagram.

Author:
robmoffat

Constructor Summary
IdHelper()
           
 
Method Summary
protected  String getDiagramEntityId(String o)
           
 String getId(Object o)
           
protected  String getProjectClassId(Class<?> o)
           
protected  String getProjectConstructorId(Constructor<?> o)
           
protected  String getProjectFieldId(Field o)
           
protected  String getProjectMethodId(Method o)
           
protected  String getProjectPackageId(Package p)
           
protected  String getRelationshipId(Relationship o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdHelper

public IdHelper()
Method Detail

getId

public String getId(Object o)

getRelationshipId

protected String getRelationshipId(Relationship o)

getProjectMethodId

protected String getProjectMethodId(Method o)

getProjectConstructorId

protected String getProjectConstructorId(Constructor<?> o)

getProjectFieldId

protected String getProjectFieldId(Field o)

getDiagramEntityId

protected String getDiagramEntityId(String o)

getProjectClassId

protected String getProjectClassId(Class<?> o)

getProjectPackageId

protected String getProjectPackageId(Package p)


Copyright © 2011. All Rights Reserved.