net.sourceforge.plantuml.cucadiagram
Class Code

java.lang.Object
  extended by net.sourceforge.plantuml.cucadiagram.Code
All Implemented Interfaces:
Comparable<Code>

public class Code
extends Object
implements Comparable<Code>


Method Summary
 Code addSuffix(String suffix)
           
 int compareTo(Code other)
           
 boolean equals(Object obj)
           
 Code eventuallyRemoveStartingAndEndingDoubleQuote()
           
 String getCode()
           
 Code getFullyQualifiedCode(IGroup g, String namespaceSeparator)
           
 String getNamespace(Map<Code,ILeaf> leafs, String namespaceSeparator)
           
 Code getShortName(Map<Code,ILeaf> leafs, String namespaceSeparator)
           
 int hashCode()
           
static Code of(String code)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

of

public static Code of(String code)

getCode

public final String getCode()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

addSuffix

public Code addSuffix(String suffix)

compareTo

public int compareTo(Code other)
Specified by:
compareTo in interface Comparable<Code>

eventuallyRemoveStartingAndEndingDoubleQuote

public Code eventuallyRemoveStartingAndEndingDoubleQuote()

getNamespace

public final String getNamespace(Map<Code,ILeaf> leafs,
                                 String namespaceSeparator)

getShortName

public final Code getShortName(Map<Code,ILeaf> leafs,
                               String namespaceSeparator)

getFullyQualifiedCode

public final Code getFullyQualifiedCode(IGroup g,
                                        String namespaceSeparator)


Copyright © 2013. All Rights Reserved.