Class UmlBasePackage

Manage the packages

Declaration :

Directly inherited by : UmlPackage

Artifact : UmlBasePackage

Operation create

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

Declaration :

Operation kind

returns the kind of the item

Declaration :

Operation associatedDiagram

returns the optional associated diagram

Declaration :

Operation set_AssociatedDiagram

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

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

Declaration :

Operation cppSrcDir

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

Declaration :

Operation set_CppSrcDir

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

Declaration :

Operation cppHDir

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

Declaration :

Operation set_CppHDir

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

Declaration :

Operation cppNamespace

returns the namespace name associed to the package

Declaration :

Operation set_CppNamespace

to set the namespace name associed to the package.

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

Declaration :

Operation findNamespace

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

Declaration :

Operation javaDir

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

Declaration :

Operation set_JavaDir

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

Declaration :

Operation javaPackage

returns the java package name associed to the package

Declaration :

Operation set_JavaPackage

to set the java package name associed to the package.

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

Declaration :

Operation findPackage

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

Declaration :

Operation phpDir

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

Declaration :

Operation set_PhpDir

to set the path where the PHP files are generated by the
PHP 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

Declaration :

Operation idlDir

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

Declaration :

Operation set_IdlDir

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

Declaration :

Operation idlModule

returns the module name associed to the package

Declaration :

Operation set_IdlModule

to set the module name associed to the package.

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

Declaration :

Operation findModule

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

Declaration :

Operation getProject

Returns the project

Declaration :

Operation isProjectModified

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

Declaration :

Operation saveProject

save the project if needed

Declaration :

Operation loadProject

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.

Declaration :

Operation unload

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

Declaration :

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 _php_dir

Declaration :

Attribut _idl_dir

Declaration :

Attribut _idl_module

Declaration :

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_idl_

internal, do NOT use it

Declaration :

Operation UmlBasePackage

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

Declaration :

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 , phpDir , 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_PhpDir , set_PropertyValue , set_Stereotype , stereotype , supportFile , unload , unload