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