# Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosExternalizationContainment.idl
# DO NOT EDIT THIS FILE!

import omniORB, _omnipy
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA


_omnipy.checkVersion(4,2, __file__, 1)

try:
    property
except NameError:
    def property(*args):
        return None


# #include "corbaidl.idl"
import corbaidl_idl
_0_CORBA = omniORB.openModule("CORBA")
_0_CORBA__POA = omniORB.openModule("CORBA__POA")

# #include "boxes.idl"
import boxes_idl
_0_CORBA = omniORB.openModule("CORBA")
_0_CORBA__POA = omniORB.openModule("CORBA__POA")

# #include "ir.idl"
import ir_idl
_0_CORBA = omniORB.openModule("CORBA")
_0_CORBA__POA = omniORB.openModule("CORBA__POA")

# #include "CosObjectIdentity.idl"
import CosObjectIdentity_idl
_0_CosObjectIdentity = omniORB.openModule("CosObjectIdentity")
_0_CosObjectIdentity__POA = omniORB.openModule("CosObjectIdentity__POA")

# #include "CosRelationships.idl"
import CosRelationships_idl
_0_CosRelationships = omniORB.openModule("CosRelationships")
_0_CosRelationships__POA = omniORB.openModule("CosRelationships__POA")

# #include "CosGraphs.idl"
import CosGraphs_idl
_0_CosGraphs = omniORB.openModule("CosGraphs")
_0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")

# #include "CosContainment.idl"
import CosContainment_idl
_0_CosContainment = omniORB.openModule("CosContainment")
_0_CosContainment__POA = omniORB.openModule("CosContainment__POA")

# #include "CosNaming.idl"
import CosNaming_idl
_0_CosNaming = omniORB.openModule("CosNaming")
_0_CosNaming__POA = omniORB.openModule("CosNaming__POA")

# #include "CosLifeCycle.idl"
import CosLifeCycle_idl
_0_CosLifeCycle = omniORB.openModule("CosLifeCycle")
_0_CosLifeCycle__POA = omniORB.openModule("CosLifeCycle__POA")

# #include "CosStream.idl"
import CosStream_idl
_0_CosStream = omniORB.openModule("CosStream")
_0_CosStream__POA = omniORB.openModule("CosStream__POA")

#
# Start of module "CosExternalizationContainment"
#
__name__ = "CosExternalizationContainment"
_0_CosExternalizationContainment = omniORB.openModule("CosExternalizationContainment", r"/tmp/corba/omni/share/idl/omniORB/COS/CosExternalizationContainment.idl")
_0_CosExternalizationContainment__POA = omniORB.openModule("CosExternalizationContainment__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosExternalizationContainment.idl")


# interface Relationship
_0_CosExternalizationContainment._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationContainment/Relationship:1.0", "Relationship")
omniORB.typeMapping["IDL:omg.org/CosExternalizationContainment/Relationship:1.0"] = _0_CosExternalizationContainment._d_Relationship
_0_CosExternalizationContainment.Relationship = omniORB.newEmptyClass()
class Relationship (_0_CosStream.Relationship, _0_CosContainment.Relationship):
    _NP_RepositoryId = _0_CosExternalizationContainment._d_Relationship[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_CosExternalizationContainment.Relationship = Relationship
_0_CosExternalizationContainment._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosExternalizationContainment._d_Relationship)
omniORB.registerType(Relationship._NP_RepositoryId, _0_CosExternalizationContainment._d_Relationship, _0_CosExternalizationContainment._tc_Relationship)

# Relationship object reference
class _objref_Relationship (_0_CosStream._objref_Relationship, _0_CosContainment._objref_Relationship):
    _NP_RepositoryId = Relationship._NP_RepositoryId

    def __init__(self, obj):
        _0_CosStream._objref_Relationship.__init__(self, obj)
        _0_CosContainment._objref_Relationship.__init__(self, obj)

omniORB.registerObjref(Relationship._NP_RepositoryId, _objref_Relationship)
_0_CosExternalizationContainment._objref_Relationship = _objref_Relationship
del Relationship, _objref_Relationship

# Relationship skeleton
__name__ = "CosExternalizationContainment__POA"
class Relationship (_0_CosStream__POA.Relationship, _0_CosContainment__POA.Relationship):
    _NP_RepositoryId = _0_CosExternalizationContainment.Relationship._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_CosStream__POA.Relationship._omni_op_d)
    _omni_op_d.update(_0_CosContainment__POA.Relationship._omni_op_d)

Relationship._omni_skeleton = Relationship
_0_CosExternalizationContainment__POA.Relationship = Relationship
omniORB.registerSkeleton(Relationship._NP_RepositoryId, Relationship)
del Relationship
__name__ = "CosExternalizationContainment"

# interface ContainsRole
_0_CosExternalizationContainment._d_ContainsRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationContainment/ContainsRole:1.0", "ContainsRole")
omniORB.typeMapping["IDL:omg.org/CosExternalizationContainment/ContainsRole:1.0"] = _0_CosExternalizationContainment._d_ContainsRole
_0_CosExternalizationContainment.ContainsRole = omniORB.newEmptyClass()
class ContainsRole (_0_CosStream.Role, _0_CosContainment.ContainsRole):
    _NP_RepositoryId = _0_CosExternalizationContainment._d_ContainsRole[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_CosExternalizationContainment.ContainsRole = ContainsRole
_0_CosExternalizationContainment._tc_ContainsRole = omniORB.tcInternal.createTypeCode(_0_CosExternalizationContainment._d_ContainsRole)
omniORB.registerType(ContainsRole._NP_RepositoryId, _0_CosExternalizationContainment._d_ContainsRole, _0_CosExternalizationContainment._tc_ContainsRole)

# ContainsRole object reference
class _objref_ContainsRole (_0_CosStream._objref_Role, _0_CosContainment._objref_ContainsRole):
    _NP_RepositoryId = ContainsRole._NP_RepositoryId

    def __init__(self, obj):
        _0_CosStream._objref_Role.__init__(self, obj)
        _0_CosContainment._objref_ContainsRole.__init__(self, obj)

omniORB.registerObjref(ContainsRole._NP_RepositoryId, _objref_ContainsRole)
_0_CosExternalizationContainment._objref_ContainsRole = _objref_ContainsRole
del ContainsRole, _objref_ContainsRole

# ContainsRole skeleton
__name__ = "CosExternalizationContainment__POA"
class ContainsRole (_0_CosStream__POA.Role, _0_CosContainment__POA.ContainsRole):
    _NP_RepositoryId = _0_CosExternalizationContainment.ContainsRole._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_CosStream__POA.Role._omni_op_d)
    _omni_op_d.update(_0_CosContainment__POA.ContainsRole._omni_op_d)

ContainsRole._omni_skeleton = ContainsRole
_0_CosExternalizationContainment__POA.ContainsRole = ContainsRole
omniORB.registerSkeleton(ContainsRole._NP_RepositoryId, ContainsRole)
del ContainsRole
__name__ = "CosExternalizationContainment"

# interface ContainedInRole
_0_CosExternalizationContainment._d_ContainedInRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationContainment/ContainedInRole:1.0", "ContainedInRole")
omniORB.typeMapping["IDL:omg.org/CosExternalizationContainment/ContainedInRole:1.0"] = _0_CosExternalizationContainment._d_ContainedInRole
_0_CosExternalizationContainment.ContainedInRole = omniORB.newEmptyClass()
class ContainedInRole (_0_CosStream.Role, _0_CosContainment.ContainedInRole):
    _NP_RepositoryId = _0_CosExternalizationContainment._d_ContainedInRole[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_CosExternalizationContainment.ContainedInRole = ContainedInRole
_0_CosExternalizationContainment._tc_ContainedInRole = omniORB.tcInternal.createTypeCode(_0_CosExternalizationContainment._d_ContainedInRole)
omniORB.registerType(ContainedInRole._NP_RepositoryId, _0_CosExternalizationContainment._d_ContainedInRole, _0_CosExternalizationContainment._tc_ContainedInRole)

# ContainedInRole object reference
class _objref_ContainedInRole (_0_CosStream._objref_Role, _0_CosContainment._objref_ContainedInRole):
    _NP_RepositoryId = ContainedInRole._NP_RepositoryId

    def __init__(self, obj):
        _0_CosStream._objref_Role.__init__(self, obj)
        _0_CosContainment._objref_ContainedInRole.__init__(self, obj)

omniORB.registerObjref(ContainedInRole._NP_RepositoryId, _objref_ContainedInRole)
_0_CosExternalizationContainment._objref_ContainedInRole = _objref_ContainedInRole
del ContainedInRole, _objref_ContainedInRole

# ContainedInRole skeleton
__name__ = "CosExternalizationContainment__POA"
class ContainedInRole (_0_CosStream__POA.Role, _0_CosContainment__POA.ContainedInRole):
    _NP_RepositoryId = _0_CosExternalizationContainment.ContainedInRole._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_CosStream__POA.Role._omni_op_d)
    _omni_op_d.update(_0_CosContainment__POA.ContainedInRole._omni_op_d)

ContainedInRole._omni_skeleton = ContainedInRole
_0_CosExternalizationContainment__POA.ContainedInRole = ContainedInRole
omniORB.registerSkeleton(ContainedInRole._NP_RepositoryId, ContainedInRole)
del ContainedInRole
__name__ = "CosExternalizationContainment"

#
# End of module "CosExternalizationContainment"
#
__name__ = "CosExternalizationContainment_idl"

_exported_modules = ( "CosExternalizationContainment", )

# The end.
