uml to xsd. assumptions basic understanding of uml basic understanding of xml basic understanding of...

Post on 03-Jan-2016

232 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

UML to XSDUML to XSD

AssumptionsAssumptions

• Basic Understanding of UML

• Basic Understanding of XML

• Basic Understanding of XSD schemas

• Basic Understanding of UML

• Basic Understanding of XML

• Basic Understanding of XSD schemas

Discussion PointsDiscussion Points

• AIXM Features, Objects and Properties

• AIXM UML modelling concepts

• GML concepts– Dynamic Features– GML Object-Property concept– Feature identification

• AIXM Features, Objects and Properties

• AIXM UML modelling concepts

• GML concepts– Dynamic Features– GML Object-Property concept– Feature identification

FeaturesFeatures

• Real World• Fundamental objects• Change in time• UML Class

• Real World• Fundamental objects• Change in time• UML Class

 stereotype

  Obstacle

name : txtNamety pe : codeObstacleTy pemarkingPattern : codeObstacleMarkingPattern...markingFirstColour : codeColour...markingSecondColour : codeColour...constructionStatus : codeStatusConstruction...groupOf Obstacles : codeYesNo...remarks : txtRmk

<<f eature>>

ObjectsObjects

• Do not exist alone• 0…M• UML class

• Do not exist alone• 0…M• UML class

  

ObstaclePart

+ v erticalExtent : v alDistVer...+ v erticalExtentAccuracy : v alDistVer...

<<object>>0..*0..*

Obstacle

+ name : txtName+ ty pe : codeObstacleTy pe+ markingPattern : codeObstacleMarkingPattern...+ markingFirstColour : codeColour...+ markingSecondColour : codeColour...+ constructionStatus : codeStatusConstruction...+ groupOf Obstacles : codeYesNo...+ remarks : txtRmk

<<f eature>>

+madeOf

PropertiesProperties

Attributes and Relationships about the Feature or Object.

Attributes and Relationships about the Feature or Object.

  

Obstacle

name : txtNamety pe : codeObstacleTy pemarkingPattern : codeObstacleMarkingPattern...markingFirstColour : codeColour...markingSecondColour : codeColour...constructionStatus : codeStatusConstruction...groupOf Obstacles : codeYesNo...remarks : txtRmk

<<f eature>>

Simple Properties

PropertiesProperties

Obstacle

name : txtNametype : codeObstacleTypemarkingPattern : codeObstacleMarkingPatternmarkingFirstColour : codeColourmarkingSecondColour : codeColourconstructionStatus : codeStatusConstructiongroupOfObstacles : codeYesNo

<<feature>>

0..11

isEffective

0..11Timetable

(from Time Management)

<<object>>

DesignatedPoint

designator : codeIdDesigPtty pe : codeTy peDesigPtname : txtName

<<f eature>>

PointRef erence

role : codeTy peRole

<<f eature>>

0..*1 0..*1

locates

Uni-directional association used when the relationship refers to a feature.

Composition Aggregation used when the property describes an attribute(s) with cardinality = many.

PropertiesProperties

Navaid

type : codeTypeNavaididentifier : codeIdNavAidlandingCategory : codeCatLdgAidoperationalStatus : codeStatusNavaidflightChecked : codeYesNo

<<feature>>

0..*

0..*

0..*composedOf

0..*NavaidEquipment

codeId : codeIdNavAidname : txtNamecodeEmmission : codeEmRdomobile : codeYesNomagneticVariation : valAngleMagVardateMagneticVariation : dateYearoperationalStatus : codeStatusNavaidflightChecked : codeYesNo

<<feature>>

NavaidComposition

collocationGroup : noSeqmarkerPosition : codePsnIlsprovidesNavigableLocation : codeYesNo

<<object>>

Standard UML association class is used to describe attributes about the relationship.

PropertiesProperties

NavaidEquipment

+ codeId : codeIdNavAid+ name : txtName+ codeEmmission : codeEmRdo+ geoidUndulation : valDistVer

(from NavaidsPoints)

<<feature>> VOR

+ codeType : codeTypeVor+ frequency : valFreq+ codeTypeNorth : codeTypeNorth+ declination : valAngleMagVar+ magneticVariation : valAngleMagVar+ dateMagneticVariation : dateYear

(from NavaidsPoints)

<<feature>>

Inheritance - The specialized feature inherits all of the properties of the more general feature.

Discussion PointsDiscussion Points

• AIXM Features, Objects and Properties • AIXM UML modelling concepts

• GML concepts– Dynamic Features– GML Object-Property concept– Feature identification

• AIXM Features, Objects and Properties • AIXM UML modelling concepts

• GML concepts– Dynamic Features– GML Object-Property concept– Feature identification

Dynamic FeatureDynamic Feature

• Change over time• Timeslice

• Change over time• Timeslice

 

GML Object – Property ConceptGML Object – Property Concept

1. Create Type

2. Define attributes and relationships

Object - TypeObject - Type

3. Create object

4. Assign type to object

Discussion PointsDiscussion Points

• AIXM Features, Objects and Properties • AIXM UML modelling concepts• GML concepts

– Dynamic Features– GML Object-Property concept

– Feature identification

• AIXM Features, Objects and Properties • AIXM UML modelling concepts• GML concepts

– Dynamic Features– GML Object-Property concept

– Feature identification

Feature IdentificationFeature Identification

• AIXM Feature Identification requirements

• Identification provided by GML

• AIXM Identification

• AIXM Feature Identification requirements

• Identification provided by GML

• AIXM Identification

AIXM Identification RequirementsAIXM Identification Requirements

• System independent • Globally unique• Need not be understood• Remain the same over time

• Repeatable within a GML document

• System independent • Globally unique• Need not be understood• Remain the same over time

• Repeatable within a GML document

GML IdentificationGML 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>

• 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 TypeProperty Type

1. Created property type to define the relationship.

2. If the relationship points to an object, include object in the property type

3. If the relationship points to a feature, include attribute xlink:href.

XLINK:HREFXLINK: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) &gt;= '2006-05-11' and (substring(gml:endPosition,1,10) &lt;= '2006-05-11' )" "/>

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) &gt;= '2006-05-11' and (substring(gml:endPosition,1,10) &lt;= '2006-05-11' )" "/>

SummarySummary

• AIXM Features, Objects and Properties • AIXM UML modelling concepts• GML concepts

– Dynamic Features– GML Object-Property concept– Feature identification

• AIXM Features, Objects and Properties • AIXM UML modelling concepts• GML concepts

– Dynamic Features– GML Object-Property concept– Feature identification

Questions?Questions?

top related