예제 #1
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.__init__
# File:    peak\metamodels\UML13\model\__init__.py
# ------------------------------------------------------------------------------
"""Structural Model for UML 1.3 - Generated from peak/metamodels/UML_1.3_01-12-02.xml"""

# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Foundation = _lazy(__name__, 'Foundation')
Behavioral_Elements = _lazy(__name__, 'Behavioral_Elements')
Model_Management = _lazy(__name__, 'Model_Management')

# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------

#_config.setupModule()
예제 #2
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML14.model.Model_Management
# File:    peak\metamodels\UML14\model\Model_Management.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Data_Types = _lazy(__name__, '../Data_Types')
Core = _lazy(__name__, '../Core')
Core = _lazy(__name__, '../Core')

# ------------------------------------------------------------------------------


class Package(Core.GeneralizableElement, Core.Namespace):
    class elementImport(_model.StructuralFeature):
        referencedType = 'ElementImport'
        referencedEnd = 'package'
        isComposite = True
        sortPosn = 0


class Model(Package):
    pass


class Subsystem(Package, Core.Classifier):
    class isInstantiable(_model.StructuralFeature):
예제 #3
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML14.model.__init__
# File:    peak\metamodels\UML14\model\__init__.py
# ------------------------------------------------------------------------------
"""Structural Model for UML 1.4 - Generated from peak/metamodels/UML_1.4_01-02-15.xml"""

# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

UML = _lazy(__name__, 'UML')
Data_Types = _lazy(__name__, 'Data_Types')
Core = _lazy(__name__, 'Core')
Common_Behavior = _lazy(__name__, 'Common_Behavior')
Use_Cases = _lazy(__name__, 'Use_Cases')
State_Machines = _lazy(__name__, 'State_Machines')
Collaborations = _lazy(__name__, 'Collaborations')
Activity_Graphs = _lazy(__name__, 'Activity_Graphs')
Model_Management = _lazy(__name__, 'Model_Management')

# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------

#_config.setupModule()
예제 #4
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.Behavioral_Elements.Activity_Graphs
# File:    peak\metamodels\UML13\model\Behavioral_Elements\Activity_Graphs.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

State_Machines = _lazy(__name__, '../State_Machines')
Core = _lazy(__name__, '../../Foundation/Core')

# ------------------------------------------------------------------------------


class ActivityGraph(State_Machines.StateMachine):
    class partition(_model.StructuralFeature):
        referencedType = 'Partition'
        referencedEnd = 'activityGraph'
        isComposite = True
        sortPosn = 0


class Partition(Core.ModelElement):
    class contents(_model.StructuralFeature):
        referencedType = 'Foundation/Core/ModelElement'
        sortPosn = 0

    class activityGraph(_model.StructuralFeature):
        referencedType = 'ActivityGraph'
예제 #5
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.Foundation
# File:    peak\metamodels\UML13\model\Foundation\__init__.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model               = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Data_Types           = _lazy(__name__, 'Data_Types')
Core                 = _lazy(__name__, 'Core')
Extension_Mechanisms = _lazy(__name__, 'Extension_Mechanisms')

# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------

#_config.setupModule()


예제 #6
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML14.model.Use_Cases
# File:    peak\metamodels\UML14\model\Use_Cases.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Data_Types = _lazy(__name__, '../Data_Types')
Core = _lazy(__name__, '../Core')
Common_Behavior = _lazy(__name__, '../Common_Behavior')
Core = _lazy(__name__, '../Core')
Common_Behavior = _lazy(__name__, '../Common_Behavior')

# ------------------------------------------------------------------------------


class UseCase(Core.Classifier):
    class extend(_model.StructuralFeature):
        referencedType = 'Extend'
        referencedEnd = 'extension'
        sortPosn = 0

    class include(_model.StructuralFeature):
        referencedType = 'Include'
        referencedEnd = 'base'
        sortPosn = 1

    class extensionPoint(_model.StructuralFeature):
예제 #7
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.Behavioral_Elements.Collaborations
# File:    peak\metamodels\UML13\model\Behavioral_Elements\Collaborations.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Core = _lazy(__name__, '../../Foundation/Core')

# ------------------------------------------------------------------------------


class Collaboration(Core.GeneralizableElement, Core.Namespace):
    class interaction(_model.StructuralFeature):
        referencedType = 'Interaction'
        referencedEnd = 'context'
        isComposite = True
        sortPosn = 0

    class representedClassifier(_model.StructuralFeature):
        referencedType = 'Foundation/Core/Classifier'
        upperBound = 1
        sortPosn = 1

    class representedOperation(_model.StructuralFeature):
        referencedType = 'Foundation/Core/Operation'
        upperBound = 1
        sortPosn = 2
예제 #8
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.Foundation.Core
# File:    peak\metamodels\UML13\model\Foundation\Core.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model               = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')


# ------------------------------------------------------------------------------


class Element(_model.Element):

    mdl_isAbstract = True


class ModelElement(Element):

    mdl_isAbstract = True

    class name(_model.StructuralFeature):
        referencedType = 'Data_Types/Name'
        upperBound = 1
        lowerBound = 1
        sortPosn = 0

    class visibility(_model.StructuralFeature):
        referencedType = 'Data_Types/VisibilityKind'
예제 #9
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.Behavioral_Elements.Use_Cases
# File:    peak\metamodels\UML13\model\Behavioral_Elements\Use_Cases.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Core = _lazy(__name__, '../../Foundation/Core')
Common_Behavior = _lazy(__name__, '../Common_Behavior')

# ------------------------------------------------------------------------------


class UseCase(Core.Classifier):
    class extend(_model.StructuralFeature):
        referencedType = 'Extend'
        referencedEnd = 'extension'
        sortPosn = 0

    class extend2(_model.StructuralFeature):
        referencedType = 'Extend'
        referencedEnd = 'base'
        sortPosn = 1

    class include(_model.StructuralFeature):
        referencedType = 'Include'
        referencedEnd = 'addition'
        sortPosn = 2
예제 #10
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.Foundation.Extension_Mechanisms
# File:    peak\metamodels\UML13\model\Foundation\Extension_Mechanisms.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Core = _lazy(__name__, '../Core')

# ------------------------------------------------------------------------------


class Stereotype(Core.GeneralizableElement):
    class icon(_model.StructuralFeature):
        referencedType = 'Data_Types/Geometry'
        upperBound = 1
        lowerBound = 1
        sortPosn = 0

    class baseClass(_model.StructuralFeature):
        referencedType = 'Data_Types/Name'
        upperBound = 1
        lowerBound = 1
        sortPosn = 1

    class requiredTag(_model.StructuralFeature):
        referencedType = 'TaggedValue'
        referencedEnd = 'stereotype'
예제 #11
0
# ------------------------------------------------------------------------------
# Package: peak.metamodels.UML13.model.Behavioral_Elements
# File:    peak\metamodels\UML13\model\Behavioral_Elements\__init__.py
# ------------------------------------------------------------------------------

from peak.util.imports import lazyModule as _lazy

_model = _lazy('peak.model.api')
#_config             = _lazy('peak.config.api')

Foundation = _lazy(__name__, '../Foundation')
Common_Behavior = _lazy(__name__, 'Common_Behavior')
Use_Cases = _lazy(__name__, 'Use_Cases')
State_Machines = _lazy(__name__, 'State_Machines')
Collaborations = _lazy(__name__, 'Collaborations')
Activity_Graphs = _lazy(__name__, 'Activity_Graphs')

# ------------------------------------------------------------------------------

# ------------------------------------------------------------------------------

#_config.setupModule()