Model SUML

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 simplified <http://www.ibm.com/uml/simplified/1.0.0>

  Class Element
    Reference ownedComment : Comment<<0..*>>

  Class Comment -> Element
    Attribute body : EString
    Reference annotatedElement : Element<<0..*>>

  Class NamedElement -> Element
    Attribute name : EString
    Attribute visibility : VisibilityKind
    Reference dependencyElement : NamedElement<<0..*>>

  Class Namespace -> NamedElement
    Reference ownedConstraint : Constraint<<0..*>>
    Reference importedPackage : Package<<0..*>>
    Reference importedElement : PackageableElement<<0..*>>

  Class Constraint -> PackageableElement
    Attribute specification : EString<<1..1>>
    Reference constrainedElement : Element<<0..*>>

  Class PackageableElement -> NamedElement

  Class Package -> Namespace, PackageableElement
    Reference ownedPackage : Package<<0..*>>
    Reference packagedElement : PackageableElement<<0..*>>

  Class Classifier -> Namespace, RedefinableElement, Type
    Attribute isAbstract : EBoolean<<1..1>>
    Reference generalClassifier : Classifier<<0..*>>
    Reference redefinedClassifier : Classifier<<0..*>>
    Reference substitutedClassifier : Classifier<<0..*>>

  Class Type -> PackageableElement
    Reference package : Package<<1..1>>

  Class RedefinableElement -> NamedElement
    Attribute isLeaf : EBoolean<<1..1>>
    Reference redefinedElement : RedefinableElement<<0..*>>
    Reference redefinitionContext : Classifier<<0..*>>

  Class MultiplicityElement -> Element
    Attribute isOrdered : EBoolean<<1..1>>
    Attribute isUnique : EBoolean<<1..1>>
    Attribute upper : EInt
    Attribute lower : EInt

  Class TypedElement -> NamedElement
    Reference type : Type

  Class StructuredClassifier -> Classifier
    Reference ownedAttribute : Property<<0..*>>

  Class Property -> StructuralFeature
    Attribute isDerived : EBoolean<<1..1>>
    Attribute isDerivedUnion : EBoolean<<1..1>>
    Attribute default : EString
    Attribute isComposite : EBoolean<<1..1>>
    Attribute defaultValue : EString
    Reference redefinedProperty : Property<<0..*>>
    Reference opposite : Property
    Reference qualifier : Property<<0..*>>
    Attribute aggregation : AggregationKind<<1..1>>

  Class StructuralFeature -> Feature, MultiplicityElement, TypedElement
    Attribute isReadOnly : EBoolean<<1..1>>

  Class Feature -> RedefinableElement
    Attribute isStatic : EBoolean<<1..1>>

  Class BehavioredClassifier -> Classifier
    Reference realizedInterface : Interface<<0..*>>

  Class Interface -> Classifier
    Reference ownedAttribute : Property<<0..*>>
    Reference ownedOperation : Operation<<0..*>>
    Reference nestedClassifier : Classifier<<0..*>>
    Reference redefinedInterface : Interface<<0..*>>

  Class Operation -> BehavioralFeature
    Attribute isQuery : EBoolean<<1..1>>
    Attribute isOrdered : EBoolean<<1..1>>
    Attribute isUnique : EBoolean<<1..1>>
    Attribute lower : EInt
    Attribute upper : EInt
    Reference type : Type
    Reference redefinedOperation : Operation<<0..*>>
    Reference preCondition : Constraint<<0..*>>
    Reference postCondition : Constraint<<0..*>>
    Reference bodyCondition : Constraint

  Class BehavioralFeature -> Feature, Namespace
    Reference raisedException : Type<<0..*>>
    Reference ownedParameter : Parameter<<0..*>>
    Attribute isAbstract : EBoolean<<1..1>>

  Class Parameter -> MultiplicityElement, TypedElement
    Attribute default : EString<<1..1>>
    Attribute isException : EBoolean<<1..1>>
    Attribute isStream : EBoolean<<1..1>>
    Attribute direction : ParameterDirectionKind<<1..1>>
    Attribute effect : ParameterEffectKind<<1..1>>

  Class Class -> BehavioredClassifier, StructuredClassifier
    Attribute isActive : EBoolean<<1..1>>
    Reference nestedClassifier : Classifier<<0..*>>
    Reference ownedOperation : Operation<<0..*>>

  Enum VisibilityKind
    Literal public = 0
    Literal private = 1
    Literal protected = 2
    Literal package = 3

  Enum AggregationKind
    Literal none = 0
    Literal shared = 1
    Literal composite = 2

  Enum ParameterDirectionKind
    Literal in = 0
    Literal inout = 1
    Literal out = 2
    Literal return = 3

  Enum ParameterEffectKind
    Literal create = 0
    Literal read = 1
    Literal update = 2
    Literal delete = 3
