Class JavaSettings

Declaration :

This class manages settings concerning JAVA, configured through
the 'Generation settings' dialog.

This class may be defined as a 'singleton', but I prefer to use static
members allowing to just write 'JavaSettings::member' rather than
'JavaSettings::instance()->member' or other long sentence like this.

Artifact : JavaSettings

Operation useDefaults

Declaration :

returns TRUE when the created Java objects are initialized
with the default declaration/definition

Operation set_UseDefaults

Declaration :

if y is TRUE the future created Java objects will be initialized
with the default declaration/definition

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

Operation type

Declaration :

returns the JAVA type corresponding to the 'UML' type given in
argument, as it is configured in the first 'Generation settings'
dialog's tab

Operation set_Type

Declaration :

set the JAVA type corresponding to the 'UML' type given in
argument, as it is configured in the first 'Generation settings'
dialog's tab

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

Operation umlType

Declaration :

reverse of the Type() operation, returns the 'UML' type corresponding
to the JAVA type given in argument

Operation relationAttributeStereotype

Declaration :

returns the JAVA stereotype corresponding to the 'UML' stereotype given
in argument

Operation set_RelationAttributeStereotype

Declaration :

set the JAVA stereotype corresponding to the 'UML' stereotype given
in argument

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

Operation relationAttributeUmlStereotype

Declaration :

reverse of the RelationAttributeStereotype() operation, returns the 'UML'
stereotype corresponding to the JAVA one given in argument

Operation classStereotype

Declaration :

returns the JAVA stereotype corresponding to the 'UML' stereotype given
in argument

Operation set_ClassStereotype

Declaration :

set the JAVA stereotype corresponding to the 'UML' stereotype given
in argument

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

Operation classUmlStereotype

Declaration :

reverse of the ClassStereotype() operation, returns the 'UML'
stereotype corresponding to the JAVA one given in argument

Operation get_import

Declaration :

returns the import or other form specified in the last
'Generation settings' tab for the Java type given in argument.

Operation set_Import

Declaration :

set the import or other form specified in the last
'Generation settings' tab for the Java type given in argument.

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

Operation rootDir

Declaration :

return the 'root' directory

Operation set_RootDir

Declaration :

set the 'root' directory

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

Operation sourceContent

Declaration :

returns the default source file content

Operation set_SourceContent

Declaration :

set the default source file content

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

Operation sourceExtension

Declaration :

returns the extension of the file produced by the JAVA code generator

Operation set_SourceExtension

Declaration :

set the extension of the file produced by the JAVA code generator

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

Operation isGenerateJavadocStyleComment

Declaration :

return if generate Javadoc style comment

Operation set_IsGenerateJavadocStyleComment

Declaration :

set if generate Javadoc style comment

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

Operation classDecl

Declaration :

returns the default definition of a class

Operation set_ClassDecl

Declaration :

set the default definition of a class

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

Operation externalClassDecl

Declaration :

returns the default specification for an 'external' class

Operation set_ExternalClassDecl

Declaration :

set the default specification for an 'external' class

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

Operation enumPatternDecl

Declaration :

returns the default definition of an enumeration implemented
through an abstract class having constant attributes

Operation set_EnumPatternDecl

Declaration :

set the default definition of an enumeration implemented
through an abstract class having constant attributes

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

Operation enumDecl

Declaration :

returns the default definition of an enumeration

Operation set_EnumDecl

Declaration :

set the default definition of an enumeration

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

Operation interfaceDecl

Declaration :

returns the default definition of an interface

Operation set_InterfaceDecl

Declaration :

set the default definition of an interface

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

Operation attributeDecl

Declaration :

returns the default definition of an attribute depending on the multiplicity

Operation set_AttributeDecl

Declaration :

set the default definition of an attribute

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

Operation enumPatternItemDecl

Declaration :

returns the default definition of an enumeration item

Operation set_EnumPatternItemDecl

Declaration :

set the default definition of an enumeration item

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

Operation enumPatternItemCase

Declaration :

Returns the 'case' form produced in the fromInt operation
for each enumeration item

Operation set_EnumPatternItemCase

Declaration :

set the 'case' form produced in the fromInt operation
for each enumeration item

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

Operation enumItemDecl

Declaration :

returns the default definition of an enumeration item

Operation set_EnumItemDecl

Declaration :

set the default definition of an enumeration item

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

Operation relationDecl

Declaration :

returns the default definition of a relation depending on the
multiplicity given in argument.

Operation set_RelationDecl

Declaration :

set the default definition of a relation depending on the
multiplicity given in argument.

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

Operation operationDef

Declaration :

returns the default definition of an operation

Operation set_OperationDef

Declaration :

set the default definition of an operation

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

Operation getVisibility

Declaration :

returns the default visibility of a 'get' operation generated
through the attribute and relation 'add get operation'

Operation set_GetVisibility

Declaration :

set the default visibility of a 'get' operation generated
through the attribute and relation 'add get operation'

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

Operation getName

Declaration :

returns the default name of a 'get' operation generated
through the attribute and relation 'add get operation' menu

Operation set_GetName

Declaration :

set the default name of a 'get' operation generated
through the attribute and relation 'add get operation' menu

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

Operation setName

Declaration :

returns the default name of a 'set' operation generated
through the attribute and relation 'add set operation' menu

Operation set_SetName

Declaration :

set the default name of a 'set' operation generated
through the attribute and relation 'add set operation' menu

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

Operation isGetFinal

Declaration :

return if a 'get' operation generated through the attribute
and relation 'add get operation' menu is final by default

Operation set_IsGetFinal

Declaration :

set if a 'get' operation generated through the attribute
and relation 'add get operation' menu is final by default

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

Operation isSetFinal

Declaration :

returns if a 'set' operation generated through the attribute
and relation 'add set operation' menu is final by default

Operation set_IsSetFinal

Declaration :

set if a 'set' operation generated through the attribute
and relation 'add set operation' menu is final by default

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

Operation setVisibility

Declaration :

returns the default visibility of a 'set' operation generated
through the attribute and relation 'add set operation'

Operation set_SetVisibility

Declaration :

set the default visibility of a 'set' operation generated
through the attribute and relation 'add set operation'

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

Operation isSetParamFinal

Declaration :

returns if the parameters of a 'set' operation generated through the
attribute and relation 'add set operation' menu are final by default

Operation set_IsSetParamFinal

Declaration :

set if the parameters of a 'set' operation generated through the
attribute and relation 'add set operation' menu are final by default

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

Operation JavaSettings

Declaration :

never called !

Attribut _defined

Declaration :

Attribut _root

Declaration :

Attribut _class_decl

Declaration :

Attribut _external_class_decl

Declaration :

Attribut _enum_pattern_decl

Declaration :

Attribut _enum_decl

Declaration :

Attribut _interface_decl

Declaration :

Attribut _attr_decl

Declaration :

Attribut _enum_pattern_item_decl

Declaration :

Attribut _enum_pattern_item_case

Declaration :

Attribut _enum_item_decl

Declaration :

Attribut _rel_decl

Declaration :

Attribut _oper_def

Declaration :

Relation _get_visibility (<directional aggregation by value>)

Declaration :

Attribut _get_name

Declaration :

Attribut _is_get_final

Declaration :

Relation _set_visibility (<directional aggregation by value>)

Declaration :

Attribut _set_name

Declaration :

Attribut _is_set_final

Declaration :

Attribut _is_set_param_final

Declaration :

Attribut _src_content

Declaration :

Attribut _ext

Declaration :

Attribut _is_generate_javadoc_comment

Declaration :

Attribut _map_imports

Declaration :

Operation read_

Declaration :

internal, do NOT use it

Operation read_if_needed_

Declaration :

internal, do NOT use it

All public operations : artifactDescription , attributeDecl , attributeDescription , classDecl , classDescription , classStereotype , classUmlStereotype , enumDecl , enumItemDecl , enumPatternDecl , enumPatternItemCase , enumPatternItemDecl , externalClassDecl , get_import , getName , getVisibility , interfaceDecl , isGenerateJavadocStyleComment , isGetFinal , isSetFinal , isSetParamFinal , operationDef , operationDescription , relationAttributeStereotype , relationAttributeUmlStereotype , relationDecl , relationDescription , rootDir , set_ArtifactDescription , set_AttributeDecl , set_AttributeDescription , set_ClassDecl , set_ClassDescription , set_ClassStereotype , set_EnumDecl , set_EnumItemDecl , set_EnumPatternDecl , set_EnumPatternItemCase , set_EnumPatternItemDecl , set_ExternalClassDecl , set_GetName , set_GetVisibility , set_Import , set_InterfaceDecl , set_IsGenerateJavadocStyleComment , set_IsGetFinal , set_IsSetFinal , set_IsSetParamFinal , set_OperationDef , set_OperationDescription , set_RelationAttributeStereotype , set_RelationDecl , set_RelationDescription , set_RootDir , set_SetName , set_SetVisibility , set_SourceContent , set_SourceExtension , set_Type , set_UmlGetName , set_UmlSetName , set_UseDefaults , setName , setVisibility , sourceContent , sourceExtension , type , umlGetName , umlSetName , umlType , useDefaults