Modifier and Type | Method and Description |
---|---|
Set<ClassDescription> |
ClassDescription.getSpecializes()
Return an unmodifiable set of classes this class description specializes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ClassDescription.addSpecializes(ClassDescription specializes)
Add the specified class description to the set of classes this class description
specializes.
|
boolean |
InterfaceDescription.associate(ClassDescription cd,
Cardinality cardinality)
Add a new association to the set of associations for this
interface description to the specified class with the
specified cardinality.
|
boolean |
ClassDescription.associate(ClassDescription cd,
Cardinality cardinality)
Add a new association to the set of associations for this
class description to the specified class with the
specified cardinality.
|
boolean |
ClassDescription.associate(ClassDescription cd,
Cardinality cardinality,
boolean bound)
Add a new association to the set of associations for this
class description to the specified class with the
specified cardinality and bound flag.
|
boolean |
InterfaceDescription.associate(ClassDescription cd,
Cardinality cardinality,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
Add a new association to the set of associations for this
interface description to the specified class with the specified
parameters.
|
boolean |
ClassDescription.associate(ClassDescription cd,
Cardinality cardinality,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
Add a new association to the set of associations for this
class description to the specified class with the specified
parameters.
|
boolean |
ClassDescription.associate(ClassDescription cd,
Cardinality cardinality,
boolean bound,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
Add a new association to the set of associations for this
class description to the specified class with the specified
parameters.
|
boolean |
InterfaceDescription.associate(ClassDescription cd,
String roleName,
Cardinality cardinality)
Add a new association to the set of attributes for this
interface description to the specified class with the
specified role name and cardinality.
|
boolean |
ClassDescription.associate(ClassDescription cd,
String roleName,
Cardinality cardinality)
Add a new association to the set of attributes for this
class description to the specified class with the
specified role name and cardinality.
|
boolean |
ClassDescription.associate(ClassDescription cd,
String roleName,
Cardinality cardinality,
boolean bound)
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.
|
boolean |
InterfaceDescription.associate(ClassDescription cd,
String roleName,
Cardinality cardinality,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
Add a new association to the set of associations for this
interface description to the specified class with the specified
parameters.
|
boolean |
ClassDescription.associate(ClassDescription cd,
String roleName,
Cardinality cardinality,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
Add a new association to the set of associations for this
class description to the specified class with the specified
parameters.
|
boolean |
ClassDescription.associate(ClassDescription cd,
String roleName,
Cardinality cardinality,
boolean bound,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
Add a new association to the set of associations for this
class description to the specified class with the specified
parameters.
|
static void |
Codegen.generateBuilderSource(ClassDescription cd,
Style style)
Generate a java source file for a fluent builder API for the specified class
description and style.
|
static void |
Codegen.generateEnum(ClassDescription cd)
Generate an enum source file for the specified class description.
|
static void |
Codegen.generateEnumWithLookup(ClassDescription cd)
Generate an enum with lookup source file for the specified class description.
|
static void |
Codegen.generateSource(ClassDescription cd,
Style style)
Generate a java source file for the specified class
description and style.
|
static void |
Codegen.generateUnitTest(ClassDescription cd,
Style style)
Generate a unit test source file for the specified class
description and style.
|
boolean |
ClassDescription.specializes(ClassDescription specializes)
Add the specified class description to the set of classes this class description
specializes.
|
Constructor and Description |
---|
Association(ClassDescription cd,
String roleName,
Cardinality cardinality)
Create a new association with the specified class description, role name,
and cardinality.
|
Association(ClassDescription cd,
String roleName,
Cardinality cardinality,
boolean bound)
Create a new association with the specified class description, role name,
cardinality, and bound flag.
|
Association(ClassDescription cd,
String roleName,
Cardinality cardinality,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
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 cd,
String roleName,
Cardinality cardinality,
boolean bound,
boolean indexed,
boolean unique,
boolean ordered,
boolean sorted)
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.
|
Constructor and Description |
---|
ClassDescription(String packageName,
String lower,
String mixed,
String upper,
String author,
String version,
String description,
Set<ClassDescription> specializes,
Set<InterfaceDescription> realizes,
Set<Attribute> attributes,
Set<Association> associations)
Create a new class description from the specified parameters.
|
Copyright (c) 2004-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).