Skip to content
Snippets Groups Projects
Commit db3a5df3 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Added a registry for ObjectRelationTypes for future usage

parent 6404e10d
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.2.1">
<name>ObjectRelationTypeRegistry_basic</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<process>%aditoprj%/process/ObjectRelationTypeRegistry_basic/process.js</process>
<variants>
<element>LIBRARY</element>
</variants>
</process>
/**
* Provides static functionality for a registry of objectrelation-type ids. <br/>
* <br/>
* The reason for this is a convenient usage within jdito-code and autocomplete functionality within the designer. <br/>
* Addtional benefits of using the "constants" (in fact they are functions that return always the same value) are better readability of the code and
* more stable code regarding to changes.
*
* @class
*
*/
function $ObjectRelationTypeRegistry(){}
//currently it's empty here but this library may be used in the future to provide ObjectRelationTypes within jdito code
//add semi-constants for different objectRelationTypes to use them in the jdito code instead of IDs
//$ObjectRelationTypeRegistry.myObjectRelationType = function(){return "<<uid of the type>>";};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment