#-------------------------------------------------------------------------------
# Copyright (C) 2018 Fondazione Bruno Kessler.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#  
# Contributors:
#   Alberto Debiasi - initial API and implementation
#-------------------------------------------------------------------------------
Model Emfta

This model description is not a real EMF artifact. It was generated by the
org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's
code generator can be extended.
This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.

Package emfta <http://cmu.edu/emfta>

  Class Event
    Attribute type : EventType
    Attribute name : EString
    Attribute probability : EDouble
    Attribute description : EString
    Reference gate : Gate

  Class Gate
    Attribute type : GateType
    Reference events : Event<<0..*>>

  Class FTAModel
    Reference root : Event
    Attribute name : EString
    Attribute description : EString
    Attribute comments : EString

  Enum EventType
    Literal Basic = 0
    Literal External = 1
    Literal Undevelopped = 2
    Literal Conditioning = 3
    Literal Intermediate = 4

  Enum GateType
    Literal OR = 0
    Literal AND = 1
    Literal XOR = 2
    Literal PRIORITY_AND = 3
    Literal INHIBIT = 4
    Literal PRIORITY_OR = 5
