Coder Social home page Coder Social logo

otlmow's People

Contributors

davidvlaminck avatar omirr85 avatar soved avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

soved

otlmow's Issues

clean implementation of convert_to_correct_type

convert_to_correct_type has been implemented to convert the values as much as possible to the correct types, before trying a validation and assigning it to an attribute.
This should be implemented to be the default method of assigning values and producing a warning log (similar to using deprecated attributes) to inform, but not stop, the user from assigning an incorrect typed value to an attribute

clean function

generating the model should also remove all existing files/dirs of the directory first

refactor set_waarde

clean up the set_waarde method of OTLAttribuut to more clearly communicate what its function is and how it works

parameterize input file formats

input formats are defined with a number of parameters such a seperation chars. It is preferred to implement the input files using the same parameterization to anticipate future changes

split into different libraries

Splitting the project into different libaries:
otlmow-model: just the model classes and dependent classes
otlmow-modelgenerator: generates models
otlmow-converter:import and export of models, additional support classes
otlmow: other support classes and features in development

extra validation on attributes with cardinality > 1

when exporting using CsvExporter, there is no validation for attributes with cardinality > 1 to have the same numbers of elements in the lists of complex datatypes.

Lijsten hebben niet dezelfde lengte: [{"externePartij":"bij externe partij 1"}] + [{"externReferentienummer":"externe referentie 2"},{"externReferentienummer":"externe referentie 1"}]

implement behaviour of KlAdmsStatus

KlAdmsStatus is a list that contains the possible values for the items of enumerations.
Reading a ttl containing those statuses is already possible, but there is no behavior attached to those statuses.

Split Classes by namespaces

There are multiple namespaces for assets (installatie / onderdeel / implementatieelement) These are all combined in one directory and should be modified into different directories, one by namespace

cleanly implement .waarde shortcut

Dte's and KwantWrd attributes have a waarde attribute that contains the actual value. However, in all AWV implementations of datafiles a shortcut is used. Instead the values are assigned to the Dte and KwantWrd attributes themselves as though they were the .waarde attributes. This has been correctly implemented, however the code is not clean.
A refactor of the code is needed to clearly mark the intend and to allow a change should this be needed.
It is preferred to implement true to the OTL.

inheritance line for classes

When creating the model, the line that implements the class's inheritances is not properly unit tested since the existing tests do not account for the geometry artefact

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.