10.07.2015 Views

DATEX II D2 - datex2

DATEX II D2 - datex2

DATEX II D2 - datex2

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Restricting optionalityNow we have a much smaller selection of the allowed classes and attributes. However, it might bethat we want to make certain classes mandatory in our own link, that are optional in the base<strong>DATEX</strong> <strong>II</strong> model. In the <strong>DATEX</strong> <strong>II</strong> Conversion tool, the cardinality of classes and attributes can bemodified. ThisWarning: modifying the cardinality imposes this change on all systems that connect toeachother using the resulting XML SchemaIn our example in step 1 and 2 is determined that traveltime is delivered per vehicle type. As aresult vehicle type should be mandatory in our schema. To achieve this the cardinality of thisattribute in the model should be changed. This is done as in the figures belowStep 1: click right on the attribute that will be restrictedFigure 4 Step 1 Select attribute to modify

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!