210 likes | 232 Views
UML to XSD. Assumptions. Basic Understanding of UML Basic Understanding of XML Basic Understanding of XSD schemas. Discussion Points. AIXM Features, Objects and Properties AIXM UML modelling concepts GML concepts Dynamic Features GML Object-Property concept Feature identification.
E N D
Assumptions • Basic Understanding of UML • Basic Understanding of XML • Basic Understanding of XSD schemas
Discussion Points • AIXM Features, Objects and Properties • AIXM UML modelling concepts • GML concepts • Dynamic Features • GML Object-Property concept • Feature identification
Features • Real World • Fundamental objects • Change in time • UML Class stereotype
Objects • Do not exist alone • 0…M • UML class
Properties Attributes and Relationships about the Feature or Object. Simple Properties
Properties Uni-directional association used when the relationship refers to a feature. Composition Aggregation used when the property describes an attribute(s) with cardinality = many.
Properties Standard UML association class is used to describe attributes about the relationship.
Properties Inheritance - The specialized feature inherits all of the properties of the more general feature.
Discussion Points • AIXM Features, Objects and Properties • AIXM UML modelling concepts • GML concepts • Dynamic Features • GML Object-Property concept • Feature identification
Dynamic Feature • Change over time • Timeslice
GML Object – Property Concept • Create Type • Define attributes and relationships
Object - Type • Create object • Assign type to object
Discussion Points • AIXM Features, Objects and Properties • AIXM UML modelling concepts • GML concepts • Dynamic Features • GML Object-Property concept • Feature identification
Feature Identification • AIXM Feature Identification requirements • Identification provided by GML • AIXM Identification
AIXM Identification Requirements • System independent • Globally unique • Need not be understood • Remain the same over time • Repeatable within a GML document
GML Identification • gml:id a local ID <aixm:PointReference gml:id="IDPR1"> <aixm:PointReference gml:id=“_001"> • gml:identifier <gml:identifier codeSpace=”urn:UUID”>d6cd9be0-15d4-11da-8cd6-0800200c9a66</gml:identifier> <aixm:identifier codeSpace="www.faa.gov/avn/avnis">1111</aixm:identifier> <aixm:identifier codeSpace="www.faa.gov/ato/usnof">53232</aixm:identifier>
Property Type • Created property type to define the relationship. • If the relationship points to an object, include object in the property type • If the relationship points to a feature, include attribute xlink:href.
XLINK:HREF Within the Document: <aixm:uses_PointReference xlink:href="#IDPR1"/> External to the Document: <aixm:usedOn_Procedure xlink:href ="www.faa.gov/avnis#//InstrumentDepartureProcedure[aixm:identifer='55423' or (timeSlice/InstrumentDepartureProcedureTimeSlice/interpretation='BASELINE' and timeSlice/InstrumentDepartureProcedureTimeSlice/designator='BODINE RNAV') and /substring(gml:beginPosition,1,10) >= '2006-05-11' and (substring(gml:endPosition,1,10) <= '2006-05-11' )" "/>
Summary • AIXM Features, Objects and Properties • AIXM UML modelling concepts • GML concepts • Dynamic Features • GML Object-Property concept • Feature identification