Overview of type and accessor generation
Generation of default accessors
The {type}
tagged value can be used in a model, attribute,
association end or parameter to designate the class used to generate the
declaration and/or accessors.
To avoid having to create a tagged value for each attribute, association end or parameter, Objecteering Java Developer is informed of default generations by packages with defined names. These reference the class that should be used in the absence of the {type} tagged value. These packages are found in the "JavaTypes" XML file's "Translation" XML tag.
|
The ... package name |
generates by default ... |
|
SimpleAttribute |
the declaration and the accessors for an attribute sized 1. |
|
MultipleAttribute |
the declaration and the accessors for an attribute sized *. |
|
FiniteAttribute |
the declaration and the accessors for an attribute with the size n>1. |
|
OptionalSimpleAssociation |
the declaration and the accessors for an 0-1 association. |
|
MandatorySimpleAssociation |
the declaration and the accessors for a 1-1 association. |
|
OptionalMultipleAssociation |
the declaration and accessors for a 0-* association. |
|
MandatoryMultipleAssociation |
the declaration and accessors for a 1-* association. |
|
FiniteAssociation |
the declaration and the accessors for a relation n-m, where m>1. |
|
SimpleIOParameter |
the declaration for a parameter sized 1. |
|
MultipleIOParameter |
the declaration for a parameter sized *. |
|
FinitelOParameter |
the declaration for a parameter sized n>1. |
|
SimpleReturnParameter |
the declaration for a return parameter sized 1. |
|
MultipleReturnParameter |
the declaration for a return parameter sized *. |
|
FiniteReturnParameter |
the declaration for a return parameter sized n>1. |
Each of these packages references the class that is used by default in the case dealt with by the package. Modifying this referencing is a simple means of modifying the default behavior of Objecteering Java Developer.
Classes which customize types and accessors in the JavaTypes package
|
The ... class |
is used to ... |
|
|
simpleAssociation |
generate the declaration and accessors for an association with a simple multiplicity. |
|
|
VectorMultipleAssociation |
generate the declaration and accessors on the Vector class basis for an association with multiple multiplicity. |
|
|
VectorFiniteAssociation |
generate the declaration and accessors on the Vector class basis for an association with finite multiplicity. |
|
|
ArrayMultipleAssociation |
generate the declaration and accessors on the basis
of a table for an association with mutliple multiplicity. |
|
|
ArrayFiniteAssociation |
generate the declaration and accessors on the basis of a table for an association with finite multiplicity. |
|
|
StackMultipleAssociation |
generate the declaration and accessors on the Stack class basis for an association with multiple multiplicity. |
|
|
StackFiniteAssociation |
generate the declaration and accessors on the Stack class basis for an association with finite multiplicity. |
|
|
HashtableMultipleAssociation |
generate the declaration and accessors on the Hashtable class basis for an association with multiple multiplicity. |
|
|
HashtableFiniteAssociation |
generate the declaration and accessors on the Hashtable class basis for an association with finite multiplicity. |
|
|
ListMultipleAssociation |
generate the declaration and accessors on the List
class basis for an association with multiple multiplicity. |
|
|
ListFiniteAssociation |
generate the declaration and accessors on the List
class basis for an association with finite multiplicity. |
|
|
LinkedListMultipleAssociation |
generate the declaration and accessors on the
LinkedList class basis for an association with multiple multiplicity. |
|
|
LinkedListFiniteAssociation |
generate the declaration and accessors on the
LinkedList class basis for an association with finite multiplicity. |
|
|
CollectionMultipleAssociation |
generate the declaration and accessors on the
Collection class basis for an association with multiple multiplicity. |
|
|
CollectionFiniteAssociation |
generate the declaration and accessors on the
Collection class basis for an association with finite multiplicity. |
|
|
SetMultipleAssociation |
generate the declaration and accessors on the Set
class basis for an association with multiple multiplicity. |
|
|
SetFiniteAssociation |
generate the declaration and accessors on the Set
class basis for an association with finite multiplicity. |
|
|
HashSetMultipleAssociation |
generate the declaration and accessors on the
hashSet class basis for an association with multiple multiplicity. |
|
|
HashSetFiniteAssociation |
generate the declaration and accessors on the
hashSet class basis for an association with finite multiplicity. |
|
|
MapMultipleAssociation |
generate the declaration and accessors on the Map
class basis for an association with multiple multiplicity. |
|
|
MapFiniteAssociation |
generate the declaration and accessors on the Map
class basis for an association with finite multiplicity. |
|
|
HashMapMultipleAssociation |
generate the declaration and accessors on the
HashMap class basis for an association with multiple multiplicity. |
|
|
HashMapFiniteAssociation |
generate the declaration and accessors on the
HashMap class basis for an association with finite multiplicity. |
|
|
SimpleAttribute |
generate the declaration and accessors for an attribute with a simple multiplicity. |
|
|
VectorMultipleAttribute |
generate the declaration and accessors on the Vector class basis for an attribute with multiple multiplicity. |
|
|
VectorFiniteAttribute |
generate the declaration and accessors on the Vector class basis for an attribute with finite multiplicity. |
|
|
ArrayMultipleAttribute |
generate the declaration and accessors on the basis
of a table for an attribute with multiple multiplicity. |
|
|
ArrayFiniteAttribute |
generate the declaration and accessors on the basis of a table for an attribute with finite multiplicity. |
|
|
StackMultipleAttribute |
generate the declaration and accessors on the Stack class basis for an attribute with multiple multiplicity. |
|
|
StackFiniteAttribute |
generate the declaration and accessors on the Stack class basis for an attribute with finite multiplicity. |
|
|
HashtableMultipleAttribute |
generate the declaration and accessors on the Hashtable class basis for an attribute with multiple multiplicity. |
|
|
HashtableFiniteAttribute |
generate the declaration and accessors on the Hashtable class basis for an attribute with finite multiplicity. |
|
|
ListMultipleAttribute |
generate the declaration and accessors on the List
class basis for an attribute with multiple multiplicity. |
|
|
ListFiniteAttribute |
generate the declaration and accessors on the List
class basis for an attribute with finite multiplicity. |
|
|
LinkedListMultipleAttribute |
generate the declaration and accessors on the
LinkedList class basis for an attribute with multiple multiplicity. |
|
|
LinkedListFiniteAttribute |
generate the declaration and accessors on the
LinkedList class basis for an attribute with finite multiplicity. |
|
|
CollectionMultipleAttribute |
generate the declaration and accessors on the
Collection class basis for an attribute with multiple multiplicity. |
|
|
CollectionFiniteAttribute |
generate the declaration and accessors on the
Collection class basis for an attribute with finite multiplicity. |
|
|
SetMultipleAttribute |
generate the declaration and accessors on the Set
class basis for an attribute with multiple multiplicity. |
|
|
SetFiniteAttribute |
generate the declaration and accessors on the Set
class basis for an attribute with finite multiplicity. |
|
|
HashSetMultipleAttribute |
generate the declaration and accessors on the
hashSet class basis for an attribute with multiple multiplicity. |
|
|
HashSetFiniteAttribute |
generate the declaration and accessors on the
hashSet class basis for an attribute with finite multiplicity. |
|
|
MapMultipleAttribute |
generate the declaration and accessors on the Map
class basis for an attribute with multiple multiplicity. |
|
|
MapFiniteAttribute |
generate the declaration and accessors on the Map
class basis for an attribute with finite multiplicity. |
|
|
HashMapMultipleAttribute |
generate the declaration and accessors on the
HashMap class basis for an attribute with multiple multiplicity. |
|
|
HashMapFiniteAttribute |
generate the declaration and accessors on the
HashMap class basis for an attribute with finite multiplicity. |
|
|
SimpleIOParameter |
generate the declaration of a parameter with simple multiplicity. |
|
|
VectorIOParameter |
generate the declaration on the Vector class basis for a parameter with finite or multiple multiplicity. |
|
|
ArrayIOParameter |
generate the declaration on the basis of a table for a parameter with finite or multiple multiplicity. |
|
|
StackIOParameter |
generate the declaration on the Stack class basis for a parameter with finite or multiple multiplicity. |
|
|
HashtableIOParameter |
generate the declaration on the Hashtable class basis for a parameter with finite or multiple multiplicity. |
|
|
ListIOParameter |
generate the declaration on the List class basis for a parameter with finite or multiple multiplicity. |
|
|
LinkedListIOParameter |
generate the declaration on the LinkedList class basis for a parameter with finite or multiple multiplicity. |
|
|
CollectionIOParameter |
generate the declaration on the Collection class basis for a parameter with finite or multiple multiplicity. |
|
|
SetIOParameter |
generate the declaration on the Set class basis for a parameter with finite or multiple multiplicity. |
|
|
HashSetIOParameter |
generate the declaration on the HashSet class basis for a parameter with finite or multiple multiplicity. |
|
|
MapIOParameter |
generate the declaration on the Map class basis for a parameter with finite or multiple multiplicity. |
|
|
HashMapIOParameter |
generate the declaration on the HashMap class basis for a parameter with finite or multiple multiplicity. |
|
|
SimpleReturnParameter |
generate the declaration of a return parameter with simple multiplicity. |
|
|
VectorReturnParameter |
generate the declaration on the Vector class basis for a return parameter with finite or multiple multiplicity. |
|
|
ArrayReturnParameter |
generate the declaration on the Array class basis for a return parameter with finite or multiple multiplicity. |
|
|
StackReturnParameter |
generate the declaration on the Stack class basis for a return parameter with finite or multiple multiplicity. |
|
|
HashtableReturnParameter |
generate the declaration on the Hashtable class basis for a return parameter with finite or multiple multiplicity. |
|
|
ListReturnParameter |
generate the declaration on the List class basis for a return parameter with finite or multiple multiplicity. |
|
|
LinkedListReturnParameter |
generate the declaration on the LinkedList class basis for a return parameter with finite or multiple multiplicity. |
|
|
CollectionReturnParameter |
generate the declaration on the Collection class basis for a return parameter with finite or multiple multiplicity. |
|
|
SetReturnParameter |
generate the declaration on the Set class basis for a return parameter with finite or multiple multiplicity. |
|
|
HashSetReturnParameter |
generate the declaration on the HashSet class basis for a return parameter with finite or multiple multiplicity. |
|
|
MapReturnParameter |
generate the declaration on the Map class basis for a return parameter with finite or multiple multiplicity. |
|
|
HashMapReturnParameter |
generate the declaration on the HashMap class basis for a return parameter with finite or multiple multiplicity. |
|
We will deal later with simple multiplicity for the 0-1 or 1-1 type multiplicities, multiple multiplicity for the n-* type multiplicity and finite multiplicity for the n-m and m>1 type multiplicities.