Manage the classes
Declaration :
Directly inherited by : UmlClass
Artifact : UmlBaseClass
Operation create |
returns a new class named 's' 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 isAbstract |
returns TRUE in case the class is abstract
Declaration :
Operation set_isAbstract |
the set if the class is abstract
On error return FALSE in C++, produce a RuntimeException in Java,
for instance you cannot set it to FALSE in case the class have
abstract operations
Declaration :
Operation isActive |
return the indicate if the class is active
Declaration :
Operation set_isActive |
set if the class is active
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation baseType |
returns the type on which the class (in fact a typedef) is based
Declaration :
Operation set_BaseType |
to set the type on which the class (in fact a typedef) is based
On error return FALSE in C++, produce a RuntimeException in Java, does not check that the class is (already) a typedef
Declaration :
Operation formals |
returns (a copy of) the formals list
Declaration :
Operation removeFormal |
remove the formal of the given rank (0...), returns 0 on error
On error return FALSE in C++, produce a RuntimeException in Java,
does not check that the class is (already) a typedef
Declaration :
Operation addFormal |
adds a formal at the given rank (0...), returns 0 on error
On error return FALSE in C++, produce a RuntimeException in Java,
does not check that the class is (already) a typedef
Declaration :
Operation replaceFormal |
replace the formal at the given rank (0...)
On error return FALSE in C++, produce a RuntimeException in Java,
does not check that the class is (already) a typedef
Declaration :
Operation actuals |
returns (a copy of) the actuals list
Declaration :
Operation replaceActual |
replace the actual value at the given rank (0...)
On error return FALSE in C++, produce a RuntimeException in Java
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 associatedArtifact |
returns the optional associated artifact,
to set it refer to the UmlBaseArtifact's operations
addAssociatedClass(), removeAssociatedClass() and
setAssociatedClasses()
Declaration :
Operation associatedComponents |
returns the components realizing or providing the class.
To set them refer to the UmlBaseComponent's operation setAssociatedClasses()
Declaration :
Operation isCppExternal |
returns TRUE if the class is external, its definition
must contains how the name is made on the first line
(isCppExternal by default), the other lines if they exist
must contains the #include and may be using forms
Declaration :
Operation set_isCppExternal |
set if the class is external
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isJavaExternal |
returns TRUE if the class is external, its definition
must contain how the name is made on the first line
(isJavaExternal by default), the other lines are ignored
Declaration :
Operation set_isJavaExternal |
set if the class is external
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isJavaPublic |
returns TRUE is the class is public
Declaration :
Operation set_isJavaPublic |
set if the class is public
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isJavaStatic |
returns TRUE if the (inner) class is declared static in JAVA
Declaration :
Operation set_isJavaStatic |
to set if the (inner) class is declared static in JAVA
On error : return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isJavaFinal |
returns TRUE is the class is final
Declaration :
Operation set_isJavaFinal |
set if the class is final
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isPhpExternal |
returns TRUE if the class is external, its definition
must contain how the name is made on the first line
(isPhpExternal by default), the other lines are ignored
Declaration :
Operation set_isPhpExternal |
set if the class is external
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isPhpFinal |
returns TRUE is the class is final
Declaration :
Operation set_isPhpFinal |
set if the class is final
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isPythonExternal |
returns TRUE if the class is external, its definition
must contain how the name is made on the first line
(isPythonExternal by default), the other lines are ignored
Declaration :
Operation set_isPythonExternal |
set if the class is external
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isPython_2_2 |
returns TRUE is the class is a Python 2.2 class
Declaration :
Operation set_isPython_2_2 |
set if the class is a Python 2.2 class
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation switchType |
returns the switch's type, significant in case the class
is an union in IDL
Declaration :
Operation set_SwitchType |
to set the switch type even the class is not (already) an IDL union
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isIdlExternal |
returns TRUE if the class is external, its definition
must contain how the name is made on the first line
(isIdlExternal by default), the other lines are ignored
Declaration :
Operation set_isIdlExternal |
set if the class is external
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isIdlLocal |
returns TRUE if the class is local, have sense for an interface
Declaration :
Operation set_isIdlLocal |
set if the class is local, have sense for an interface
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation isIdlCustom |
returns TRUE is the class is custom, have sense for a valuetype
Declaration :
Operation set_isIdlCustom |
set if the class is custom have sense for aa valuetype
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Operation get |
returns the class having the name given in argument in case it
exist, else 0/null. In case the package is specified (not 0/null),
the returned class will be defined in a sub-level of the package.
Declaration :
Operation findStereotype |
Return the class supporting the stereotype corresponding to
the first parameter being 'profile_name:stereotype_name', or 0/null
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 :
Operation set_Name |
to set the name
On error return FALSE in C++, produce a RuntimeException in Java
Declaration :
Attribute _classes |
Declaration :
Extra Artifact Definition initialization |
Definition :
static { _classes = new Hashtable(1001); }
Attribute _abstract |
Declaration :
Attribute _active |
Declaration :
Attribute _cpp_external |
Declaration :
Attribute _java_external |
Declaration :
Attribute _java_static |
Declaration :
Attribute _java_final |
Declaration :
Attribute _php_external |
Declaration :
Attribute _php_final |
Declaration :
Attribute _python_external |
Declaration :
Attribute _python_2_2 |
Declaration :
Attribute _idl_external |
Declaration :
Attribute _idl_local |
Declaration :
Attribute _idl_custom |
Declaration :
Relation _base_type (<directional composition>) |
Declaration :
Relation _assoc_diagram (<unidirectional association>) |
Declaration :
Relation _switch_type (<directional composition>) |
union
Declaration :
Operation UmlBaseClass |
the constructor, do not call it yourself !!!!!!!!!!
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_python_ |
internal, do NOT use it
Declaration :
Operation read_idl_ |
internal, do NOT use it
Declaration :
Operation reread_if_needed_ |
internal, do NOT use it
Declaration :
Extra Artifact Definition friend |
Definition :
friend class UmlBaseArtifact;
friend class UmlBaseRelation;
All public operations : actuals , addFormal , apply , applyStereotype , associatedArtifact , associatedComponents , associatedDiagram , baseType , children , childrenVisible , constraint , cppDecl , cppVisibility , create , defined_ , deleteIt , description , findStereotype , formals , get , getIdentifier , identifier_ , idlDecl , isAbstract , isActive , isClassMember , isCppExternal , isIdlCustom , isIdlExternal , isIdlLocal , isJavaExternal , isJavaFinal , isJavaPublic , isJavaStatic , isMarked , isPhpExternal , isPhpFinal , isPython_2_2 , isPythonExternal , isToolRunning , isVolatile , isWritable , javaAnnotations , javaDecl , kind , kind , markedItems , moveAfter , mysqlDecl , name , parent , phpDecl , properties , propertyValue , pythonDecl , referencedBy , removeFormal , replaceActual , replaceFormal , set_AssociatedDiagram , set_BaseType , set_childrenVisible , set_Constraint , set_CppDecl , set_CppVisibility , set_Description , set_IdlDecl , set_isAbstract , set_isActive , set_isClassMember , set_isCppExternal , set_isIdlCustom , set_isIdlExternal , set_isIdlLocal , set_isJavaExternal , set_isJavaFinal , set_isJavaPublic , set_isJavaStatic , set_isMarked , set_isPhpExternal , set_isPhpFinal , set_isPython_2_2 , set_isPythonExternal , set_isVolatile , set_JavaAnnotations , set_JavaDecl , set_MysqlDecl , set_Name , set_Name , set_PhpDecl , set_PropertyValue , set_PythonDecl , set_Stereotype , set_SwitchType , set_Visibility , stereotype , supportFile , switchType , unload , unload , unload , visibility