# Python stubs generated by omniidl from ..\..\..\..\..\idl\COS\CosExternalizationReference.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 "CosReference.idl"
import CosReference_idl
_0_CosReference = omniORB.openModule("CosReference")
_0_CosReference__POA = omniORB.openModule("CosReference__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 "CosExternalizationReference"
#
__name__ = "CosExternalizationReference"
_0_CosExternalizationReference = omniORB.openModule("CosExternalizationReference", r"..\..\..\..\..\idl\COS\CosExternalizationReference.idl")
_0_CosExternalizationReference__POA = omniORB.openModule("CosExternalizationReference__POA", r"..\..\..\..\..\idl\COS\CosExternalizationReference.idl")


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

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

    _nil = CORBA.Object._nil


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

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

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

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

# Relationship skeleton
__name__ = "CosExternalizationReference__POA"
class Relationship (_0_CosStream__POA.Relationship, _0_CosReference__POA.Relationship):
    _NP_RepositoryId = _0_CosExternalizationReference.Relationship._NP_RepositoryId


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

Relationship._omni_skeleton = Relationship
_0_CosExternalizationReference__POA.Relationship = Relationship
omniORB.registerSkeleton(Relationship._NP_RepositoryId, Relationship)
del Relationship
__name__ = "CosExternalizationReference"

# interface ReferencesRole
_0_CosExternalizationReference._d_ReferencesRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationReference/ReferencesRole:1.0", "ReferencesRole")
omniORB.typeMapping["IDL:omg.org/CosExternalizationReference/ReferencesRole:1.0"] = _0_CosExternalizationReference._d_ReferencesRole
_0_CosExternalizationReference.ReferencesRole = omniORB.newEmptyClass()
class ReferencesRole (_0_CosStream.Role, _0_CosReference.ReferencesRole):
    _NP_RepositoryId = _0_CosExternalizationReference._d_ReferencesRole[1]

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

    _nil = CORBA.Object._nil


_0_CosExternalizationReference.ReferencesRole = ReferencesRole
_0_CosExternalizationReference._tc_ReferencesRole = omniORB.tcInternal.createTypeCode(_0_CosExternalizationReference._d_ReferencesRole)
omniORB.registerType(ReferencesRole._NP_RepositoryId, _0_CosExternalizationReference._d_ReferencesRole, _0_CosExternalizationReference._tc_ReferencesRole)

# ReferencesRole object reference
class _objref_ReferencesRole (_0_CosStream._objref_Role, _0_CosReference._objref_ReferencesRole):
    _NP_RepositoryId = ReferencesRole._NP_RepositoryId

    def __init__(self, obj):
        _0_CosStream._objref_Role.__init__(self, obj)
        _0_CosReference._objref_ReferencesRole.__init__(self, obj)

omniORB.registerObjref(ReferencesRole._NP_RepositoryId, _objref_ReferencesRole)
_0_CosExternalizationReference._objref_ReferencesRole = _objref_ReferencesRole
del ReferencesRole, _objref_ReferencesRole

# ReferencesRole skeleton
__name__ = "CosExternalizationReference__POA"
class ReferencesRole (_0_CosStream__POA.Role, _0_CosReference__POA.ReferencesRole):
    _NP_RepositoryId = _0_CosExternalizationReference.ReferencesRole._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_CosStream__POA.Role._omni_op_d)
    _omni_op_d.update(_0_CosReference__POA.ReferencesRole._omni_op_d)

ReferencesRole._omni_skeleton = ReferencesRole
_0_CosExternalizationReference__POA.ReferencesRole = ReferencesRole
omniORB.registerSkeleton(ReferencesRole._NP_RepositoryId, ReferencesRole)
del ReferencesRole
__name__ = "CosExternalizationReference"

# interface ReferencedByRole
_0_CosExternalizationReference._d_ReferencedByRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationReference/ReferencedByRole:1.0", "ReferencedByRole")
omniORB.typeMapping["IDL:omg.org/CosExternalizationReference/ReferencedByRole:1.0"] = _0_CosExternalizationReference._d_ReferencedByRole
_0_CosExternalizationReference.ReferencedByRole = omniORB.newEmptyClass()
class ReferencedByRole (_0_CosStream.Role, _0_CosReference.ReferencedByRole):
    _NP_RepositoryId = _0_CosExternalizationReference._d_ReferencedByRole[1]

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

    _nil = CORBA.Object._nil


_0_CosExternalizationReference.ReferencedByRole = ReferencedByRole
_0_CosExternalizationReference._tc_ReferencedByRole = omniORB.tcInternal.createTypeCode(_0_CosExternalizationReference._d_ReferencedByRole)
omniORB.registerType(ReferencedByRole._NP_RepositoryId, _0_CosExternalizationReference._d_ReferencedByRole, _0_CosExternalizationReference._tc_ReferencedByRole)

# ReferencedByRole object reference
class _objref_ReferencedByRole (_0_CosStream._objref_Role, _0_CosReference._objref_ReferencedByRole):
    _NP_RepositoryId = ReferencedByRole._NP_RepositoryId

    def __init__(self, obj):
        _0_CosStream._objref_Role.__init__(self, obj)
        _0_CosReference._objref_ReferencedByRole.__init__(self, obj)

omniORB.registerObjref(ReferencedByRole._NP_RepositoryId, _objref_ReferencedByRole)
_0_CosExternalizationReference._objref_ReferencedByRole = _objref_ReferencedByRole
del ReferencedByRole, _objref_ReferencedByRole

# ReferencedByRole skeleton
__name__ = "CosExternalizationReference__POA"
class ReferencedByRole (_0_CosStream__POA.Role, _0_CosReference__POA.ReferencedByRole):
    _NP_RepositoryId = _0_CosExternalizationReference.ReferencedByRole._NP_RepositoryId


    _omni_op_d = {}
    _omni_op_d.update(_0_CosStream__POA.Role._omni_op_d)
    _omni_op_d.update(_0_CosReference__POA.ReferencedByRole._omni_op_d)

ReferencedByRole._omni_skeleton = ReferencedByRole
_0_CosExternalizationReference__POA.ReferencedByRole = ReferencedByRole
omniORB.registerSkeleton(ReferencedByRole._NP_RepositoryId, ReferencedByRole)
del ReferencedByRole
__name__ = "CosExternalizationReference"

#
# End of module "CosExternalizationReference"
#
__name__ = "CosExternalizationReference_idl"

_exported_modules = ( "CosExternalizationReference", )

# The end.
