Class UmlBaseRelation

Declaration :

Directly inherited by : UmlRelation

Manage the relations between classes

Artifact : UmlBaseRelation

Operation create

Declaration :

returns a new relation of the given 'kind' from 'start' to 'end'

In case it cannot be created (the name is already used or
invalid, 'parent' cannot contain it etc ...) return 0 in C++
and produce a RuntimeException in Java

Operation kind

Declaration :

returns the kind of the item

Operation relationKind

Declaration :

returns the kind of the relation

Operation side

Declaration :

if 'first' is true returns the relation associated to the
first role, else the relation associated to the second
role or 0/null if the relation is uni directional

Operation isReadOnly

Declaration :

indicates if the relation is read only, returns TRUE if yes

Operation set_isReadOnly

Declaration :

to set the 'read only' state of the relation

On error return FALSE in C++, produce a RuntimeException in Java

Operation defaultValue

Declaration :

returns the default relation value, may be an empty string

Operation set_DefaultValue

Declaration :

to set the default relation value ("" allowed)

On error return FALSE in C++, produce a RuntimeException in Java

Operation set_Stereotype

Declaration :

to set the stereotype

On error return FALSE in C++, produce a RuntimeException in Java
redefined in case the relation is bidirectional to set the stereotype
of the relation corresponding to the other direction

Operation roleType

Declaration :

returns the 'end' class (the 'start' class is the parent of the relation) no set !

Operation association

Declaration :

return the associated class/type, may be an empty spec

Operation set_Association

Declaration :

set the associated class/type, may be an empty spec

On error : return FALSE in C++, produce a RuntimeException in Java

Operation roleName

Declaration :

returns the name of the role

Operation set_RoleName

Declaration :

to set the name of the role

On error return FALSE in C++, produce a RuntimeException in Java

Operation multiplicity

Declaration :

returns the multiplicity (may be an empty string)

Operation set_Multiplicity

Declaration :

to set the multiplicity

On error return FALSE in C++, produce a RuntimeException in Java

Operation getOperation

Declaration :

returns the 'get' operation of the relation, or 0 if it does not exist

Operation addGetOperation

Declaration :

to generate an associated 'get' operation

On error return FALSE in C++, produce a RuntimeException in Java

Operation setOperation

Declaration :

returns the 'set' operation of the relation, or 0 if it does not exist

Operation addSetOperation

Declaration :

to generate an associated 'set' operation

On error return FALSE in C++, produce a RuntimeException in Java

Operation cppVirtualInheritance

Declaration :

indicates if the inheritance is virtual in C++, returns TRUE if yes

Operation set_CppVirtualInheritance

Declaration :

to set if the inheritance is virtual in C++

On error return FALSE in C++, produce a RuntimeException in Java

Operation isCppMutable

Declaration :

Indicate if the relation is 'mutable'

Operation set_isCppMutable

Declaration :

Set if the relation is 'mutable'

On error return FALSE in C++, produce a RuntimeException in Java

Operation isJavaTransient

Declaration :

indicates if the relation is 'transient', returns TRUE if yes

Operation set_isJavaTransient

Declaration :

to set the 'transient' state of the relation

On error return FALSE in C++, produce a RuntimeException in Java

Operation isIdlTruncatableInheritance

Declaration :

indicates if the relation is 'truncatable', returns TRUE if yes
have sense only for a valuetype inheritance

Operation set_isIdlTruncatableInheritance

Declaration :

to set if the inheritance is 'truncatable'

On error return FALSE in C++, produce a RuntimeException in Java

Operation idlCase

Declaration :

in case the relation is an IDL union's member returns the
corresponding 'case', an empty string in case it is not specified

Operation set_IdlCase

Declaration :

to set the 'case' even the relation is not (already) known as
an IDL union's member

On error return FALSE in C++, produce a RuntimeException in Java

Operation set_IdlCase

Declaration :

to set the 'case' even the relation is not (already) known as
an IDL union's member

On error return FALSE in C++, produce a RuntimeException in Java

Operation unload

Declaration :

to unload the object to free memory, it will be reloaded
automatically if needed. args unused

Attribut _read_only

Declaration :

Attribut _cpp_virtual_inheritance

Declaration :

Attribut _cpp_mutable

Declaration :

Attribut _java_transient

Declaration :

Attribut _idl_truncatable

Declaration :

Relation _rel_kind (<directional aggregation by value>)

Declaration :

Attribut _default_value

Declaration :

Relation _role_type (<unidirectional association>)

Declaration :

Attribut _role_name

Declaration :

Attribut _multiplicity

Declaration :

Relation _association (<directional aggregation by value>)

Declaration :

Relation _get_oper (<unidirectional association>)

Declaration :

Relation _set_oper (<unidirectional association>)

Declaration :

Relation _idl_case (<unidirectional association>)

Declaration :

exclusive with idl_explicit_case

Attribut _idl_explicit_case

Declaration :

Operation read_uml_

Declaration :

internal, do NOT use it

Operation read_cpp_

Declaration :

internal, do NOT use it

Operation read_java_

Declaration :

internal, do NOT use it

Operation read_idl_

Declaration :

internal, do NOT use it

Operation UmlBaseRelation

Declaration :

the constructor, do not call it yourself !!!!!!!!!!

All public operations : addGetOperation , addSetOperation , apply , association , children , childrenVisible , constraint , cppDecl , cppVirtualInheritance , cppVisibility , create , defaultValue , defined_ , deleteIt , description , getIdentifier , getOperation , identifier_ , idlCase , idlDecl , isClassMember , isCppMutable , isIdlTruncatableInheritance , isJavaTransient , isMarked , isReadOnly , isToolRunning , isVolatile , isWritable , javaAnnotations , javaDecl , kind , kind , markedItems , moveAfter , multiplicity , name , parent , properties , propertyValue , referencedBy , relationKind , roleName , roleType , set_Association , set_childrenVisible , set_Constraint , set_CppDecl , set_CppVirtualInheritance , set_CppVisibility , set_DefaultValue , set_Description , set_IdlCase , set_IdlCase , set_IdlDecl , set_isClassMember , set_isCppMutable , set_isIdlTruncatableInheritance , set_isJavaTransient , set_isMarked , set_isReadOnly , set_isVolatile , set_JavaAnnotations , set_JavaDecl , set_Multiplicity , set_Name , set_PropertyValue , set_RoleName , set_Stereotype , set_Stereotype , set_Visibility , setOperation , side , stereotype , supportFile , unload , unload , unload , visibility