model.doxy
42 [Chronos profile](https://raw.githubusercontent.com/iherwig/wcmf-default-app/master/model/chronos.profile.uml)
61 | _ChiNode_ | Class | Persistent domain class, must inherit from \link wcmf::lib::model::Node `Node`\endlink | _Article_
63 | _ChiValueRef_ | Attribute | ReadOnly-reference to an attribute of another _ChiNode_ | _author_name_ in Article references _name_ in Author
64 | _ChiManyToMany_ | Class | Connection class in a many to many relation between _ChiNode_ classes, must inherit from \link wcmf::lib::model::Node `Node`\endlink | One _Author_ writes nultiple _Articles_ and one _Article_ has multiple _Authors_
65 | _ChiAssociation_ | Association | Optional, e.g. used to define a foreign key name in a relation between _ChiNode_ instances | _author_id_ in Article as foreign key to Author table
73 | _initparams_ | Name of the configuration section, which defines initialization parameters for the \link wcmf::lib::persistence::PersistenceMapper `PersistenceMapper`\endlink instance | _database_ | _database_
74 | _display_value_ | Attributes to display in a list view: A single attribute name or comma separated list of attribute names | _name,date_ | |
75 | _orderby_ | Definition of default sorting: _none_ (no order), _sortkey_ (generates a _sortkey_ column, that is used for explicit sorting) or the name of any attribute optionally followed by _ASC_ or _DESC_ | _name ASC_ | _none_
76 | _is_searchable_ | Boolean, indicating whether this type should be included in the default search | _true_ | _true_
77 | _is_soap_ | Boolean, indicating whether this type should be exposed to the SOAP interface | _true_ | _true_
78 | _table_name_ | The name of the database table in which instances will be stored | _Author_ | Class name
79 | _pk_name_ | The name of the primary key column: A single value or comma separated list of values (the generator will add this automatically, if there is no appropriate attribute) | _fk_user_id,fk_role_id_ | _id_
80 | _child_order_ | The order of the associated relations: A comma separated list of role names | _Author,Publisher,Image,Textblock,Attachment_ in Article type | |
84 \link wcmf::lib::persistence::PersistentObject::getProperty `PersistentObject::getProperty`\endlink
93 | _app_data_type_ | Application specific attribute tags: A single value or comma separated list of values (see \ref pers_values) | _TAG_A,TAG_B_ | _DATATYPE_ATTRIBUTE_
96 | _input_type_ | Name of the attribute's input control as listed in the _InputTypes_ configuration section and additional configuration encoded as JSON string | _filebrowser_ or _ckeditor:{"toolbarSet":"full"}_ | _text_
97 | _display_type_ | Name of the attribute's display type as listed in the _DisplayTypes_ configuration section | _image_ | _text_
98 | _restrictions_match_ | Name of the attribute's validation type or comma separated list of validation types as listed in the _Validator_ configuration section (see \ref pers_validation) and additional configuration encoded as JSON string | _date,required_ or _regexp:{"pattern":"^[0-9]*$"}_ or _image:{"height":[300,0]}_ | |
100 | _restrictions_description_ | Validation description used in case of a validation error | _The value must be an integer or empty_ | |
101 | _column_name_ | The name of the database column in which the attribute will be stored | _name_ | Attribute name
104 \link wcmf::lib::persistence::PersistentObject::getValueProperty `PersistentObject::getValueProperty`\endlink
127 | _fk_name_ | Name of the foreign key attribute (the generator will add this automatically, if there is no appropriate attribute) | _author_id_ | _fk_\_type\_ _id_ |
248 \image html inherited-relation1.png "Subclass B becomes parent of A" | \image html inherited-relation3.png "Subclass B becomes child of A"
249 \image html inherited-relation2.png "Parent class of B becomes parent of A" | \image html inherited-relation4.png "Child class of B becomes child of A"
262 | _ChiController_ | Class | Controller class, must inherit from the \link wcmf::lib::presentation::Controller `Controller`\endlink | _LoginController_
264 | _ChiActionKey_ | Association | Associates two _ChiController_ instances (to define a control flow) or a _ChiView_ with a _ChiController_ (to define a view attachment), must be _one directional_ | |
284 | _action_ | The action, which is triggered by this association. If empty, any action is valid | _save_ | |
285 | _context_ | The context, in which this association is valid. If empty, any context is valid | _author_ | |
286 | _config_ | The configuration, in which this association is defined | _config.ini_ | _config.ini_ |
349 | _ChiSystem_ | Class | A configuration section, class members and their default values become key-value pairs inside the section | _Database_
358 | _config_ | The configuration, in which the settings are defined | _config.ini_ | _config.ini_ |
431 available at [SourceForge](https://sourceforge.net/projects/olympos/files/ChronosGenerator-wCMF/).
441 | _profileUmlFile_ | Path to the profile file | <em>${basePath}/metamodel/chronos.profile.uml</em> |
443 | _transformedModelUmlFile_ | Location for the model transformed into the generator's internal format (used for debug purposes) | _model-transformed_ |
444 | _rootPackage_ | Model package containing _libraryPackage_ and _applicationPackage_. It's name will be stripped from paths to classes | _wcmf test::root_ |
445 | _libraryPackage_ | Model package, in which the wCMF framework is defined. From this package no files will be generated | _wcmf_ |
448 | _preCheckFile_ | Check file, that should be used before the transformation into the internal model format | _cartridge::Wcmf::checks::pre_ |
449 | _postCheckFile_ | Check file, that should be used after the transformation into the internal model format | _cartridge::Wcmf::checks::post_ |
450 | _requiredControllerSuperclass_ | Controller base class, from which all controllers must inherit, used in the checks | _model::${rootPackage}::${libraryPackage}::lib::presentation::Controller_ |
451 | _requiredNodeSuperclass_ | Domain base class, from which all domain classes must inherit, used in the checks | _model::${rootPackage}::${libraryPackage}::lib::model::Node_ |
452 | _doBackup_ | Indicates whether the generator should do a backup of the application, before generating any files | _false_ |
453 | _expand_ | Template definition to start the generation from | _cartridge::Wcmf::templates::Root::root_ |
455 | _configFileDefault_ | Name of the default configuration file, general properties like type mapping are declared here | _config.ini_ |
458 | _prExcludes_ | File patterns to be excluded when searching for protected regions | <em>*.svn-base, .git, vendor</em> |
459 | _printGenerateDate_ | Indicates whether the generation date should be printed in generated file headers | _false_ |
472 $ java -Djava.library.path=libPath -jar ChronosGenerator.jar workflowFile -basePath=basePath -propertyFile=propertyFile -targetDir=targetDir
480 | _libPath_ | Path to the generator libraries | <em>../vendor/olympos/chronos-generator/lib</em> |
481 | _workflowFile_ | Workflow definition file | <em>../vendor/olympos/chronos-generator/cartridge/Wcmf/workflow/wcmf.oaw</em> |
482 | _basePath_ | Path to the generator installation | <em>../vendor/olympos/chronos-generator/</em> |