lib/aixm/classes.rb

Summary

Maintainability
A
0 mins
Test Coverage
module AIXM

  # Manifest of shorthand names and their corresponding AIXM class names
  CLASSES = {
    document: 'AIXM::Document',
    xy: 'AIXM::XY',
    z: 'AIXM::Z',
    d: 'AIXM::D',
    l: 'AIXM::L',
    r: 'AIXM::R',
    f: 'AIXM::F',
    a: 'AIXM::A',
    w: 'AIXM::W',
    p: 'AIXM::P',
    date: 'AIXM::Schedule::Date',
    day: 'AIXM::Schedule::Day',
    time: 'AIXM::Schedule::Time',
    datetime: 'AIXM::Schedule::DateTime',
    address: 'AIXM::Component::Address',
    approach_lighting: 'AIXM::Component::ApproachLighting',
    organisation: 'AIXM::Feature::Organisation',
    unit: 'AIXM::Feature::Unit',
    service: 'AIXM::Component::Service',
    frequency: 'AIXM::Component::Frequency',
    airport: 'AIXM::Feature::Airport',
    runway: 'AIXM::Component::Runway',
    fato: 'AIXM::Component::FATO',
    helipad: 'AIXM::Component::Helipad',
    surface: 'AIXM::Component::Surface',
    lighting: 'AIXM::Component::Lighting',
    airspace: 'AIXM::Feature::Airspace',
    layer: 'AIXM::Component::Layer',
    geometry: 'AIXM::Component::Geometry',
    vertical_limit: 'AIXM::Component::VerticalLimit',
    point: 'AIXM::Component::Geometry::Point',
    rhumb_line: 'AIXM::Component::Geometry::RhumbLine',
    arc: 'AIXM::Component::Geometry::Arc',
    circle: 'AIXM::Component::Geometry::Circle',
    border: 'AIXM::Component::Geometry::Border',
    dme: 'AIXM::Feature::NavigationalAid::DME',
    designated_point: 'AIXM::Feature::NavigationalAid::DesignatedPoint',
    marker: 'AIXM::Feature::NavigationalAid::Marker',
    tacan: 'AIXM::Feature::NavigationalAid::TACAN',
    ndb: 'AIXM::Feature::NavigationalAid::NDB',
    vor: 'AIXM::Feature::NavigationalAid::VOR',
    obstacle: 'AIXM::Feature::Obstacle',
    obstacle_group: 'AIXM::Feature::ObstacleGroup',
    timetable: 'AIXM::Component::Timetable',
    timesheet: 'AIXM::Component::Timesheet',
    vasis: 'AIXM::Component::VASIS',
    generic: 'AIXM::Feature::Generic'
  }.freeze

end