A C G H I L M O R S T V 

A

addAssociation(Association) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified association to the set of associations for this class description.
addAssociation(Association) - Method in class org.dishevelled.codegen.InterfaceDescription
Add the specified association to the set of associations for this interface description.
addAttribute(Attribute) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified attribute to the set of attributes for this class description.
addAttribute(Attribute) - Method in class org.dishevelled.codegen.InterfaceDescription
Add the specified attribute to the set of attributes for this interface description.
addRealizes(InterfaceDescription) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified interface description to the set of interfaces this class description realizes.
addSpecializes(ClassDescription) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified class description to the set of classes this class description specializes.
addSpecializes(InterfaceDescription) - Method in class org.dishevelled.codegen.InterfaceDescription
Add the specified interface description to the set of interfaces this interface description specializes.
ARRAY_LIST - Static variable in class org.dishevelled.codegen.CollectionDescription
ArrayList description.
associate(Association) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified association to the set of associations for this class description.
associate(ClassDescription, Cardinality) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified class with the specified cardinality.
associate(ClassDescription, Cardinality, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified class with the specified cardinality and bound flag.
associate(ClassDescription, String, Cardinality) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of attributes for this class description to the specified class with the specified role name and cardinality.
associate(ClassDescription, String, Cardinality, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of attributes for this class description to the specified class with the specified role name, cardinality, and bound flag.
associate(ClassDescription, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified class with the specified parameters.
associate(ClassDescription, Cardinality, boolean, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified class with the specified parameters.
associate(ClassDescription, String, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified class with the specified parameters.
associate(ClassDescription, String, Cardinality, boolean, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified class with the specified parameters.
associate(InterfaceDescription, Cardinality) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified interface with the specified cardinality.
associate(InterfaceDescription, Cardinality, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified interface with the specified cardinality and bound flag.
associate(InterfaceDescription, String, Cardinality) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of attributes for this class description to the specified interface with the specified role name and cardinality.
associate(InterfaceDescription, String, Cardinality, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of attributes for this class description to the specified interface with the specified role name, cardinality, and bound flag.
associate(InterfaceDescription, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified interface with the specified parameters.
associate(InterfaceDescription, Cardinality, boolean, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified interface with the specified parameters.
associate(InterfaceDescription, String, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified interface with the specified parameters.
associate(InterfaceDescription, String, Cardinality, boolean, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new association to the set of associations for this class description to the specified interface with the specified parameters.
associate(Association) - Method in class org.dishevelled.codegen.InterfaceDescription
Add the specified association to the set of associations for this interface description.
associate(ClassDescription, Cardinality) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of associations for this interface description to the specified class with the specified cardinality.
associate(ClassDescription, String, Cardinality) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of attributes for this interface description to the specified class with the specified role name and cardinality.
associate(ClassDescription, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of associations for this interface description to the specified class with the specified parameters.
associate(ClassDescription, String, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of associations for this interface description to the specified class with the specified parameters.
associate(InterfaceDescription, Cardinality) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of associations for this interface description to the specified interface with the specified cardinality.
associate(InterfaceDescription, String, Cardinality) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of attributes for this interface description to the specified interface with the specified role name and cardinality.
associate(InterfaceDescription, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of associations for this interface description to the specified interface with the specified parameters.
associate(InterfaceDescription, String, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new association to the set of associations for this interface description to the specified interface with the specified parameters.
Association - Class in org.dishevelled.codegen
An association between a class or interface description and a target class or interface description.
Association(ClassDescription, String, Cardinality) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified class description, role name, and cardinality.
Association(ClassDescription, String, Cardinality, boolean) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified class description, role name, cardinality, and bound flag.
Association(ClassDescription, String, Cardinality, boolean, boolean, boolean, boolean) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified class description, role name, and cardinality and choose a collection description that satisfies the specified boolean parameters.
Association(ClassDescription, String, Cardinality, boolean, boolean, boolean, boolean, boolean) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified class description, role name, cardinality, and bound flag and choose a collection description that satisfies the specified boolean parameters.
Association(InterfaceDescription, String, Cardinality) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified interface description, role name, and cardinality.
Association(InterfaceDescription, String, Cardinality, boolean) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified interface description, role name, and cardinality.
Association(InterfaceDescription, String, Cardinality, boolean, boolean, boolean, boolean) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified interface description, role name, and cardinality and choose a collection description that satisfies the specified boolean parameters.
Association(InterfaceDescription, String, Cardinality, boolean, boolean, boolean, boolean, boolean) - Constructor for class org.dishevelled.codegen.Association
Create a new association with the specified interface description, role name, and cardinality and choose a collection description that satisfies the specified boolean parameters.
Association(String, String, String, String, Role, Cardinality, CollectionDescription) - Constructor for class org.dishevelled.codegen.Association
Create a new association from the specified parameters.
Association(String, String, String, String, Role, Cardinality, CollectionDescription, boolean) - Constructor for class org.dishevelled.codegen.Association
Create a new association from the specified parameters.
Attribute - Class in org.dishevelled.codegen
An attribute on a class or interface description.
Attribute(String, String, Cardinality) - Constructor for class org.dishevelled.codegen.Attribute
Create a new attribute with the specified name, role name, and cardinality.
Attribute(String, String, Cardinality, boolean) - Constructor for class org.dishevelled.codegen.Attribute
Create a new attribute with the specified name, role name, cardinality, and bound flag.
Attribute(String, String, Cardinality, boolean, boolean, boolean, boolean) - Constructor for class org.dishevelled.codegen.Attribute
Create a new attribute with the specified name, role name, and cardinality and choose a collection description that satisfies the specified boolean parameters.
Attribute(String, String, Cardinality, boolean, boolean, boolean, boolean, boolean) - Constructor for class org.dishevelled.codegen.Attribute
Create a new attribute with the specified name, role name, cardinality, and bound flag and choose a collection description that satisfies the specified boolean parameters.
Attribute(String, String, String, String, Role, Cardinality, CollectionDescription) - Constructor for class org.dishevelled.codegen.Attribute
Create a new attribute from the specified parameters.
Attribute(String, String, String, String, Role, Cardinality, CollectionDescription, boolean) - Constructor for class org.dishevelled.codegen.Attribute
Create a new attribute from the specified parameters.
attribute(Attribute) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified attribute to the set of attributes for this class description.
attribute(String, String, Cardinality) - Method in class org.dishevelled.codegen.ClassDescription
Add a new attribute to the set of attributes for this class description with the specified name, role name, and cardinality.
attribute(String, String, Cardinality, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new attribute to the set of attributes for this class description with the specified name, role name, cardinality, and bound flag.
attribute(String, String, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new attribute to the set of attributes for this class description with the specified parameters.
attribute(String, String, Cardinality, boolean, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.ClassDescription
Add a new attribute to the set of attributes for this class description with the specified parameters.
attribute(Attribute) - Method in class org.dishevelled.codegen.InterfaceDescription
Add the specified attribute to the set of attributes for this interface description.
attribute(String, String, Cardinality) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new attribute to the set of attributes for this interface description with the specified name, role name, and cardinality.
attribute(String, String, Cardinality, boolean, boolean, boolean, boolean) - Method in class org.dishevelled.codegen.InterfaceDescription
Add a new attribute to the set of attributes for this interface description with the specified parameters.

C

Cardinality - Enum in org.dishevelled.codegen
Cardinality of an attribute or association.
choose(boolean, boolean, boolean, boolean) - Static method in class org.dishevelled.codegen.CollectionDescription
Choose a collection description that satisfies the specified parameters.
ClassDescription - Class in org.dishevelled.codegen
A description of the attributes and associations for a class.
ClassDescription(String, String) - Constructor for class org.dishevelled.codegen.ClassDescription
Create a new class description with the specified package name and name.
ClassDescription(String, String, String) - Constructor for class org.dishevelled.codegen.ClassDescription
Create a new class description with the specified package name and name.
ClassDescription(String, String, String, String, String) - Constructor for class org.dishevelled.codegen.ClassDescription
Create a new class description from the specified parameters.
ClassDescription(String, String, String, String, String, String, String) - Constructor for class org.dishevelled.codegen.ClassDescription
Create a new class description from the specified parameters.
ClassDescription(String, String, String, String, String, String, String, Set<ClassDescription>, Set<InterfaceDescription>, Set<Attribute>, Set<Association>) - Constructor for class org.dishevelled.codegen.ClassDescription
Create a new class description from the specified parameters.
Codegen - Class in org.dishevelled.codegen
Static source code generation methods.
CodegenUtils - Class in org.dishevelled.codegen
Static utility methods for the codegen package.
CodegenUtils() - Constructor for class org.dishevelled.codegen.CodegenUtils
 
COLLECTION - Static variable in class org.dishevelled.codegen.CollectionDescription
Collection description.
CollectionDescription - Class in org.dishevelled.codegen
A description of a collection interface and implementation.
CollectionDescription(String, String, String, String, String) - Constructor for class org.dishevelled.codegen.CollectionDescription
Create a new collection description from the specified parameters.

G

generateAbstractUnitTest(InterfaceDescription) - Static method in class org.dishevelled.codegen.Codegen
Generate an abstract unit test java source file for the specified interface description.
generateBuilderSource(ClassDescription, Style) - Static method in class org.dishevelled.codegen.Codegen
Generate a java source file for a fluent builder API for the specified class description and style.
generateEnum(ClassDescription) - Static method in class org.dishevelled.codegen.Codegen
Generate an enum source file for the specified class description.
generateEnumWithLookup(ClassDescription) - Static method in class org.dishevelled.codegen.Codegen
Generate an enum with lookup source file for the specified class description.
generateSource(InterfaceDescription) - Static method in class org.dishevelled.codegen.Codegen
Generate a java source file for the specified interface description.
generateSource(ClassDescription, Style) - Static method in class org.dishevelled.codegen.Codegen
Generate a java source file for the specified class description and style.
generateUnitTest(ClassDescription, Style) - Static method in class org.dishevelled.codegen.Codegen
Generate a unit test source file for the specified class description and style.
getAssociations() - Method in class org.dishevelled.codegen.ClassDescription
Return an unmodifiable set of associations for this class description.
getAssociations() - Method in class org.dishevelled.codegen.InterfaceDescription
Return an unmodifiable set of associations for this interface description.
getAttributes() - Method in class org.dishevelled.codegen.ClassDescription
Return an unmodifiable set of attributes for this class description.
getAttributes() - Method in class org.dishevelled.codegen.InterfaceDescription
Return an unmodifiable set of attributes for this interface description.
getAuthor() - Method in class org.dishevelled.codegen.ClassDescription
Return the author for this class description.
getAuthor() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the author for this interface description.
getCardinality() - Method in class org.dishevelled.codegen.Association
Return the cardinality for this association.
getCardinality() - Method in class org.dishevelled.codegen.Attribute
Return the cardinality for this attribute.
getCollectionDescription() - Method in class org.dishevelled.codegen.Association
Return the collection description for this association.
getCollectionDescription() - Method in class org.dishevelled.codegen.Attribute
Return the collection description for this attribute.
getDescription() - Method in class org.dishevelled.codegen.Association
Return the description for this association.
getDescription() - Method in class org.dishevelled.codegen.Attribute
Return the description for this attribute.
getDescription() - Method in class org.dishevelled.codegen.ClassDescription
Return the description for this class description.
getDescription() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the description for this interface description.
getDescription() - Method in class org.dishevelled.codegen.Role
Return the description for this role.
getImplementationName() - Method in class org.dishevelled.codegen.CollectionDescription
Return the implementation name for this collection description.
getImplementationPackageName() - Method in class org.dishevelled.codegen.CollectionDescription
Return the implementation package name for this collection description.
getInterfaceDescription() - Method in class org.dishevelled.codegen.CollectionDescription
Return the interface description for this collection description.
getInterfaceName() - Method in class org.dishevelled.codegen.CollectionDescription
Return the interface name for this collection description.
getInterfacePackageName() - Method in class org.dishevelled.codegen.CollectionDescription
Return the interface package name for this collection description.
getLicense() - Method in class org.dishevelled.codegen.ClassDescription
Return the license for this class description.
getLicense() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the license for this interface description.
getLower() - Method in class org.dishevelled.codegen.Association
Return the lowercase name for this association.
getLower() - Method in class org.dishevelled.codegen.Attribute
Return the lowercase name for this attribute.
getLower() - Method in class org.dishevelled.codegen.ClassDescription
Return the lowercase name for this class description.
getLower() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the lowercase name for this interface description.
getLower() - Method in class org.dishevelled.codegen.Role
Return the lowercase name for this role.
getMixed() - Method in class org.dishevelled.codegen.Association
Return the mixed-case name for this association.
getMixed() - Method in class org.dishevelled.codegen.Attribute
Return the mixed-case name for this attribute.
getMixed() - Method in class org.dishevelled.codegen.ClassDescription
Return the mixed-case name for this class description.
getMixed() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the mixed-case name for this interface description.
getMixed() - Method in class org.dishevelled.codegen.Role
Return the mixed-case name for this role.
getPackageName() - Method in class org.dishevelled.codegen.Association
Return the package name for this association.
getPackageName() - Method in class org.dishevelled.codegen.ClassDescription
Return the package name for this class description.
getPackageName() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the package name for this interface description.
getRealizes() - Method in class org.dishevelled.codegen.ClassDescription
Return an unmodifiable set of interfaces this class description realizes.
getRole() - Method in class org.dishevelled.codegen.Association
Return the role for this association.
getRole() - Method in class org.dishevelled.codegen.Attribute
Return the role for this attribute.
getSpecializes() - Method in class org.dishevelled.codegen.ClassDescription
Return an unmodifiable set of classes this class description specializes.
getSpecializes() - Method in class org.dishevelled.codegen.InterfaceDescription
Return an unmodifiable set of interfaces this interface description specializes.
getUpper() - Method in class org.dishevelled.codegen.Association
Return the uppercase name for this association.
getUpper() - Method in class org.dishevelled.codegen.Attribute
Return the uppercase name for this attribute.
getUpper() - Method in class org.dishevelled.codegen.ClassDescription
Return the uppercase name for this class description.
getUpper() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the uppercase name for this interface description.
getUpper() - Method in class org.dishevelled.codegen.Role
Return the uppercase name for this role.
getVersion() - Method in class org.dishevelled.codegen.ClassDescription
Return the version for this class description.
getVersion() - Method in class org.dishevelled.codegen.InterfaceDescription
Return the version for this interface description.

H

HASH_SET - Static variable in class org.dishevelled.codegen.CollectionDescription
HashSet description.

I

InterfaceDescription - Class in org.dishevelled.codegen
A description of the attributes and associations for an interface.
InterfaceDescription(String, String) - Constructor for class org.dishevelled.codegen.InterfaceDescription
Create a new interface description with the specified package name and name.
InterfaceDescription(String, String, String) - Constructor for class org.dishevelled.codegen.InterfaceDescription
Create a new interface description with the specified package name and name.
InterfaceDescription(String, String, String, String, String) - Constructor for class org.dishevelled.codegen.InterfaceDescription
Create a new interface description from the specified parameters.
InterfaceDescription(String, String, String, String, String, String, String) - Constructor for class org.dishevelled.codegen.InterfaceDescription
Create a new interface description from the specified parameters.
InterfaceDescription(String, String, String, String, String, String, String, Set<InterfaceDescription>, Set<Attribute>, Set<Association>) - Constructor for class org.dishevelled.codegen.InterfaceDescription
Create a new interface description from the specified parameters.
isBound() - Method in class org.dishevelled.codegen.Association
Return true if this is a "bound" association.
isBound() - Method in class org.dishevelled.codegen.Attribute
Return true if this is a "bound" attribute.
isPrimitive(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Return true if the specified name is a Java primitive name.

L

LINKED_HASH_SET - Static variable in class org.dishevelled.codegen.CollectionDescription
LinkedHashSet description.
LINKED_LIST - Static variable in class org.dishevelled.codegen.CollectionDescription
LinkedList description.

M

makeDescription(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Make a description (all lowercase, words split by spaces) from the specified name.
makeLowercase(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Make a lowercase name from the specified name.
makeLowercaseWithDashes(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Make a lowercase-with-dashes name from the specified name.
makeMixedCase(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Make a mixedCase name from the specified name.
makeSentenceCaseDescription(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Make a sentence-case description (first word uppercase, rest lowercase, words split by spaces) from the specified name.
makeUppercase(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Make an Uppercase name from the specified name.
makeUppercaseWithUnderscores(String) - Static method in class org.dishevelled.codegen.CodegenUtils
Make an UPPERCASE_WITH_UNDERSCORES name from the specified name.

O

org.dishevelled.codegen - package org.dishevelled.codegen
Source code generation suite based on velocity templates that generates source code in several different styles.

R

readLicense(String) - Static method in class org.dishevelled.codegen.Codegen
Read license text from the specified file.
realizes(InterfaceDescription) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified interface description to the set of interfaces this class description realizes.
Role - Class in org.dishevelled.codegen
A role for an attribute or association.
Role(String) - Constructor for class org.dishevelled.codegen.Role
Create a new role with the specified name.
Role(String, String, String, String) - Constructor for class org.dishevelled.codegen.Role
Create a new role from the specified parameters.

S

specializes(ClassDescription) - Method in class org.dishevelled.codegen.ClassDescription
Add the specified class description to the set of classes this class description specializes.
specializes(InterfaceDescription) - Method in class org.dishevelled.codegen.InterfaceDescription
Add the specified interface description to the set of interfaces this interface description specializes.
Style - Enum in org.dishevelled.codegen
Source code generation style.

T

TREE_SET - Static variable in class org.dishevelled.codegen.CollectionDescription
TreeSet description.

V

valueOf(String) - Static method in enum org.dishevelled.codegen.Cardinality
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dishevelled.codegen.Style
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dishevelled.codegen.Cardinality
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dishevelled.codegen.Style
Returns an array containing the constants of this enum type, in the order they are declared.
A C G H I L M O R S T V 

Copyright (c) 2004-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).