Upgrade to netex-java-model 3.0.0-SNAPSHOT and netex-parser-java 5.0.0-SNAPSHOT#354
Draft
Upgrade to netex-java-model 3.0.0-SNAPSHOT and netex-parser-java 5.0.0-SNAPSHOT#354
Conversation
Convert DatedServiceJourneyRef direct children to replacedJourneys/DatedVehicleJourneyRef to match NeTEx 1.16 schema. Fix UTF-16 to UTF-8 encoding.
…0-SNAPSHOT Adapt to breaking changes in netex-java-model 3.0.0 (NeTEx 2.0 schema): - Rename AllVehicleModesOfTransportEnumeration to AllPublicTransportModesEnumeration - MultilingualString: getValue() replaced by mixed content model (getContent()), add MultilingualStringValue utility for extraction - DatedServiceJourney: replaced journeys now accessed via getReplacedJourneys() instead of being mixed into getJourneyRef()
netex-java-model 3.0.0-SNAPSHOT is compiled with Java 21 (class file version 65.0).
Verify that the ReferenceToValidEntityTypeValidator allows DatedVehicleJourneyRef to reference DatedServiceJourney entities.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Upgrade to netex-java-model 3.0.0-SNAPSHOT (NeTEx 2.0 schema) and netex-parser-java 5.0.0-SNAPSHOT.
Based on
update_netex_1_16_jakartabranch. Adapts to the following breaking API changes:AllVehicleModesOfTransportEnumeration→AllPublicTransportModesEnumerationgetValue()replaced by mixed content model (getContent()returnsList<Serializable>). AddedMultilingualStringValueutility for extracting string values.getReplacedJourneys()instead of being mixed intogetJourneyRef()list.getJourneyRef()now returns a single element.See OTP PR #7259 for reference migration patterns.
Test plan