Class UmlBaseRelation

Manage the relations between classes

Declaration :

Directly inherited by : UmlRelation

Artifact : UmlBaseRelation

Operation create

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

Declaration :

Operation kind

returns the kind of the item

Declaration :

Operation relationKind

returns the kind of the relation

Declaration :

Operation side

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

Declaration :

Operation set_isClassMember

Set if the member is a 'class member' (static)

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

Declaration :

Operation isReadOnly

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

Declaration :

Operation set_isReadOnly

to set the 'read only' state of the relation

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

Declaration :

Operation isDerived

return the property 'derived'

Declaration :

Operation isDerivedUnion

return the property 'derived union'

Declaration :

Operation set_isDerived

Set the properties 'derived' and 'union'

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

Declaration :

Operation isOrdered

return the property 'ordered'

Declaration :

Operation set_isOrdered

set the property 'ordered'

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

Declaration :

Operation isUnique

return the property 'unique'

Declaration :

Operation set_isUnique

set the property 'unique'

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

Declaration :

Operation defaultValue

returns the default relation value, may be an empty string

Declaration :

Operation set_DefaultValue

to set the default relation value ("" allowed)

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

Declaration :

Operation set_Stereotype

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

Declaration :

Operation roleType

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

Declaration :

Operation association

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

Declaration :

Operation set_Association

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

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

Declaration :

Operation roleName

returns the name of the role

Declaration :

Operation set_RoleName

to set the name of the role

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

Declaration :

Operation multiplicity

returns the multiplicity (may be an empty string)

Declaration :

Operation set_Multiplicity

to set the multiplicity

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

Declaration :

Operation getOperation

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

Declaration :

Operation addGetOperation

to generate an associated 'get' operation

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

Declaration :

Operation setOperation

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

Declaration :

Operation addSetOperation

to generate an associated 'set' operation

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

Declaration :

Operation cppVirtualInheritance

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

Declaration :

Operation set_CppVirtualInheritance

to set if the inheritance is virtual in C++

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

Declaration :

Operation isCppMutable

Indicate if the relation is 'mutable'

Declaration :

Operation set_isCppMutable

Set if the relation is 'mutable'

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

Declaration :

Operation isCppConstExpr

Indicate if the relation is 'constexpr'

Declaration :

Operation set_isCppConstExpr

Set if the relation is 'constexpr'

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

Declaration :

Operation isCppThreadLocal

Indicate if the relation is 'thread_local'

Declaration :

Operation set_isCppThreadLocal

Set if the relation is 'thread_local'

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

Declaration :

Operation isJavaTransient

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

Declaration :

Operation set_isJavaTransient

to set the 'transient' state of the relation

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

Declaration :

Operation isIdlTruncatableInheritance

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

Declaration :

Operation set_isIdlTruncatableInheritance

to set if the inheritance is 'truncatable'

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

Declaration :

Operation idlCase

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

Declaration :

Operation set_IdlCase

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

Declaration :

Operation set_IdlCase

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

Declaration :

Operation mysqlConstraint

in case the relation is a foreign key part of a table returns
the constraint, else the return value doesn't have meaning.

Declaration :

Operation set_MysqlConstraint

to set the constraint of the foreing key part of a table

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

Declaration :

Operation mysqlColumns

returns (in Java a copy of) the columns
significant when the relation is a foreign key of a table

Declaration :

Operation set_MysqlColumns

to set the columns
significant when the relation is a foreign key of a table

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

Declaration :

Operation mysqlReferencedKey

returns the key referenced by the foreing key or a null pointer
significant when the relation is a foreign key of a table

Declaration :

Operation set_MysqlReferencedKey

set the key referenced by the foreing key or a null pointer
significant when the relation is a foreign key of a table

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

Declaration :

Operation mysqlOnDelete

returns what is done on delete
significant when the relation is a foreign key of a table

Declaration :

Operation set_MysqlOnDelete

set what is done on delete
significant when the relation is a foreign key of a table

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

Declaration :

Operation mysqlOnUpdate

returns what is done on update
significant when the relation is a foreign key of a table

Declaration :

Operation set_MysqlOnUpdate

set what is done on update
significant when the relation is a foreign key of a table

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

Declaration :

Operation unload

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

Declaration :

Relation _rel_kind (<directional composition>)

Declaration :

Relation _mysql_on_delete (<directional composition>)

Declaration :

Relation _mysql_on_update (<directional composition>)

Declaration :

Attribute _read_only

Declaration :

Attribute _derived

Declaration :

Attribute _derived_union

Declaration :

Attribute _ordered

Declaration :

Attribute _unique

Declaration :

Attribute _cpp_virtual_inheritance

Declaration :

Attribute _cpp_mutable

Declaration :

Attribute _cpp_constexpr

Declaration :

Attribute _cpp_thread_local

Declaration :

Attribute _java_transient

Declaration :

Attribute _idl_truncatable

Declaration :

Attribute _default_value

Declaration :

Relation _role_type (<unidirectional association>)

Declaration :

Attribute _role_name

Declaration :

Attribute _multiplicity

Declaration :

Relation _association (<directional composition>)

Declaration :

Relation _get_oper (<unidirectional association>)

Declaration :

Relation _set_oper (<unidirectional association>)

Declaration :

Relation _idl_case (<unidirectional association>)

exclusive with idl_explicit_case

Declaration :

Attribute _idl_explicit_case

Declaration :

Attribute _mysql_constraint

Declaration :

Relation _mysql_ref_key (<unidirectional association>)

Declaration :

Relation _mysql_columns (<directional composition>)

Declaration :

Stereotype: vector

Operation read_uml_

internal, do NOT use it

Declaration :

Operation read_cpp_

internal, do NOT use it

Declaration :

Operation read_java_

internal, do NOT use it

Declaration :

Operation read_php_

internal, do NOT use it

Declaration :

Operation read_python_

internal, do NOT use it

Declaration :

Operation read_idl_

internal, do NOT use it

Declaration :

Operation read_mysql_

internal, do NOT use it

Declaration :

Operation UmlBaseRelation

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

Declaration :

All public operations : addGetOperation , addSetOperation , apply , applyStereotype , association , children , childrenVisible , constraint , cppDecl , cppVirtualInheritance , cppVisibility , create , defaultValue , defined_ , deleteIt , description , getIdentifier , getOperation , identifier_ , idlCase , idlDecl , isClassMember , isCppConstExpr , isCppMutable , isCppThreadLocal , isDerived , isDerivedUnion , isIdlTruncatableInheritance , isJavaTransient , isMarked , isOrdered , isReadOnly , isToolRunning , isUnique , isVolatile , isWritable , javaAnnotations , javaDecl , kind , kind , markedItems , moveAfter , multiplicity , mysqlColumns , mysqlConstraint , mysqlDecl , mysqlOnDelete , mysqlOnUpdate , mysqlReferencedKey , name , parent , phpDecl , properties , propertyValue , pythonDecl , 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_isClassMember , set_isCppConstExpr , set_isCppMutable , set_isCppThreadLocal , set_isDerived , set_isIdlTruncatableInheritance , set_isJavaTransient , set_isMarked , set_isOrdered , set_isReadOnly , set_isUnique , set_isVolatile , set_JavaAnnotations , set_JavaDecl , set_Multiplicity , set_MysqlColumns , set_MysqlConstraint , set_MysqlDecl , set_MysqlOnDelete , set_MysqlOnUpdate , set_MysqlReferencedKey , set_Name , set_PhpDecl , set_PropertyValue , set_PythonDecl , set_RoleName , set_Stereotype , set_Stereotype , set_Visibility , setOperation , side , stereotype , supportFile , unload , unload , unload , visibility