Class UmlBasePackage

Declaration :

Directly inherited by : UmlPackage

Manage the packages

Artifact : UmlBasePackage

Operation create

Declaration :

returns a new package named 'name' created under 'parent'

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 associatedDiagram

Declaration :

returns the optional associated diagram

Operation set_AssociatedDiagram

Declaration :

sets the associated diagram, arg may be null to unset it

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

Operation cppSrcDir

Declaration :

returns the path where the C++ source files are generated by the
c++ generator.

Operation set_CppSrcDir

Declaration :

to set the path where the C++ source files are generated by the
C++ generator, may be relative even the 'root' path is not
(already) an absolute path

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

Operation cppHDir

Declaration :

returns the path where the C++ header files are generated by the
C++ generator.

Operation set_CppHDir

Declaration :

to set the path where the C++ header files are generated by the
C++ generator, may be relative even the 'root' path is not
(already) an absolute path

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

Operation cppNamespace

Declaration :

returns the namespace name associed to the package

Operation set_CppNamespace

Declaration :

to set the namespace name associed to the package.

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

Operation findNamespace

Declaration :

returns a sub package of the current one having the c++ namespace 'n'
(including the current one), else 0/null

Operation javaDir

Declaration :

returns the path where the JAVA files are generated by the
JAVA generator.

Operation set_JavaDir

Declaration :

to set the path where the JAVA files are generated by the
JAVA generator, may be relative even the 'root' path is not
(already) an absolute path

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

Operation javaPackage

Declaration :

returns the java package name associed to the package

Operation set_JavaPackage

Declaration :

to set the java package name associed to the package.

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

Operation findPackage

Declaration :

returns a sub package of the current one having the Java package 'n'
(including the current one), else 0/null

Operation idlDir

Declaration :

returns the path where the IDL files are generated by the
IDL generator.

Operation set_IdlDir

Declaration :

to set the path where the IDL files are generated by the
IDL generator, may be relative even the 'root' path is not
(already) an absolute path

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

Operation idlModule

Declaration :

returns the module name associed to the package

Operation set_IdlModule

Declaration :

to set the module name associed to the package.

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

Operation findModule

Declaration :

returns a sub package of the current one having the IDL module 'n'
(including the current one), else 0/null

Operation getProject

Declaration :

Returns the project

Operation isProjectModified

Declaration :

return TRUE in case something is modified (i.e. the project must be saved)

Operation saveProject

Declaration :

save the project if needed

Operation loadProject

Declaration :

Does nothing in case an edition is on going under BOUML. Else :
close the current project (in case it is not saved the last modifications are lost),
load the specified one, and all the communications with the plug-outs including the
current one are closed.

Operation unload

Declaration :

to unload the object to free memory, it will be reloaded automatically
if needed. Recursively done for the sub items if 'rec' is TRUE.

if 'del' is true the sub items are deleted in C++, and removed from the
internal dictionnary in C++ and Java (to allow it to be garbaged),
you will have to call Children() to re-access to them

Relation _assoc_diagram (<unidirectional association>)

Declaration :

Attribut _cpp_src_dir

Declaration :

Attribut _cpp_h_dir

Declaration :

Attribut _cpp_namespace

Declaration :

Attribut _java_dir

Declaration :

Attribut _java_package

Declaration :

Attribut _idl_dir

Declaration :

Attribut _idl_module

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 UmlBasePackage

Declaration :

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

All public operations : apply , associatedDiagram , children , childrenVisible , cppHDir , cppNamespace , cppSrcDir , create , defined_ , deleteIt , description , findModule , findNamespace , findPackage , getIdentifier , getProject , identifier_ , idlDir , idlModule , isMarked , isProjectModified , isToolRunning , isWritable , javaDir , javaPackage , kind , kind , loadProject , markedItems , moveAfter , name , parent , properties , propertyValue , referencedBy , saveProject , set_AssociatedDiagram , set_childrenVisible , set_CppHDir , set_CppNamespace , set_CppSrcDir , set_Description , set_IdlDir , set_IdlModule , set_isMarked , set_JavaDir , set_JavaPackage , set_Name , set_PropertyValue , set_Stereotype , stereotype , supportFile , unload , unload