Rose/Corba mapping: introduction, IDL mapping, страница 8

6.6  ATTRIBUTE Properties

CaseSpecifier

Used only when the stereotype of the class is CORBAUnion.  Case expression.  Should be equal to 'default' for the default case.

STRING = ""

ORIG

IsReadOnly

Indicates whether or not the attribute is readonly.

BOOLEAN = FALSE

ORIG

Order

Integer which defines the ordering of the attributes.  Blank indicates to use the default internal Rose ordering.

STRING = ""

NEW

ArrayDimensions

Used only if the attribute's class represents an exception, struct, or union. If non-blank, indicates that the declarator is an array and defines the array dimension(s) portion of the declarator.

STRING = ""

NEW

GenerateDataMember

Was used to indicate whether or not to generate an IDL attribute corresponding to this attribute.  Superfluous since CORBA classes will not also be used to generate C++, Java, etc.

DEL

DataMemberName

Used to format the generated attribute name differently than the actual attribute name.  Seems superfluous.

DEL

6.7  ROLE Properties

GenerateForwardReference

Indicates that during FE a forward reference should be generated rather than a #include.

BOOLEAN = FALSE

ORIG

IsReadOnly

Indicates whether or not the attribute is readonly.

BOOLEAN = FALSE

ORIG

BoundedRoleType

Whether to use an array or sequence to represent a relationship with bounded cardinality.  Unbounded cardinality always generates an unbounded sequence.  The cardinality of the relationship defines the size of the array or sequence.

ENUMERATION (Sequence, Array) = Sequence

ORIG

CaseSpecifier

Used only when the stereotype of the class is CORBAUnion.  Case expression.  Should be equal to 'default' for the default case.

STRING = ""

NEW

Order

Integer which defines the ordering of the attributes.  Blank indicates to use the default internal Rose ordering.

STRING = ""

NEW

ArrayDimensions

Used only if the attribute's class represents an exception, struct, or union. If non-blank, indicates that the declarator is an array and defines the array dimension(s) portion of the declarator.

STRING = ""

NEW

GenerateDataMember

Was used to indicate whether or not to generate an IDL attribute corresponding to this attribute.  Superfluous since CORBA classes will not also be used to generate C++, Java, etc.

DEL

DataMemberName

Used to format the generated attribute name differently than the actual attribute name.  Seems superfluous.

DEL

NameIfUnlabeled

Used to define a name for the attribute in case the role name is blank.  Seems superfluous.

DEL

6.8  OPERATION Properties

OperationIsOneWay

Generate oneway modifier

ORIG

Context

Context expression

ORIG

6.9  USES Properties

GenerateForwardReference

Indicates that during FE a forward reference should be generated rather than a #include.

BOOLEAN = FALSE

ORIG

6.10  HAS Properties

The HAS relationship is used in the Booch notation but not in UML.  Support for it has been discontinued.