[Geoserver-devel] [JIRA] (GEOS-9339) App-Schema Cardinality 1..N support for unbounded anonymous sequence children elements

Fernando Miño created an issue

GeoServer / New FeatureGEOS-9339

App-Schema Cardinality 1…N support for unbounded anonymous sequence children elements

Issue Type:

New FeatureNew Feature

Assignee:

Fernando Miño

Components:

Application schema

Created:

19/Sep/19 2:10 AM

Priority:

MediumMedium

Reporter:

Fernando Miño

This feature introduces another variant of Cardinality 1…N that can be used for nested elements on an unbounded anonymous sequence, adding a slash ( / ) character at the begginning of the ClientProperty name attribute:

  (...)
  <AttributeMapping>
    <targetAttribute>st:tag</targetAttribute>
    <jdbcMultipleValue>
      <sourceColumn>ID</sourceColumn>
      <targetTable>TAGS</targetTable>
      <targetColumn>STATION_ID</targetColumn>
    </jdbcMultipleValue>
    <ClientProperty>
      <name>/st:code</name>
      <value>CODE</value>
    </ClientProperty>
  </AttributeMapping>
  (...)

In this example the ‘st:code’ element children will be generated with the computed client property value:

  (...)
  <st:Station gml:id="st.1">
    <st:name>Station 1</st:name>
    <st:tag>
      <st:code>X1Y</st:code>
      <st:code>X2Y</st:code>
    </st:tag>
  </st:Station_gml32>
  (...)

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100109-sha1:a5a9be4)

Atlassian logo