# Python stubs generated by omniidl from /usr/pkg/share/idl/omniORB/COS/CosNotifyFilter.idl

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

_omnipy.checkVersion(3,0, __file__)

# #include "CosNotification.idl"
import CosNotification_idl
_0_CosNotification = omniORB.openModule("CosNotification")
_0_CosNotification__POA = omniORB.openModule("CosNotification__POA")
# #include "CosEventComm.idl"
import CosEventComm_idl
_0_CosEventComm = omniORB.openModule("CosEventComm")
_0_CosEventComm__POA = omniORB.openModule("CosEventComm__POA")
# #include "CosNotifyComm.idl"
import CosNotifyComm_idl
_0_CosNotifyComm = omniORB.openModule("CosNotifyComm")
_0_CosNotifyComm__POA = omniORB.openModule("CosNotifyComm__POA")

#
# Start of module "CosNotifyFilter"
#
__name__ = "CosNotifyFilter"
_0_CosNotifyFilter = omniORB.openModule("CosNotifyFilter", r"/usr/pkg/share/idl/omniORB/COS/CosNotifyFilter.idl")
_0_CosNotifyFilter__POA = omniORB.openModule("CosNotifyFilter__POA", r"/usr/pkg/share/idl/omniORB/COS/CosNotifyFilter.idl")


# typedef ... ConstraintID
class ConstraintID:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.ConstraintID = ConstraintID
_0_CosNotifyFilter._d_ConstraintID  = omniORB.tcInternal.tv_long
_0_CosNotifyFilter._ad_ConstraintID = (omniORB.tcInternal.tv_alias, ConstraintID._NP_RepositoryId, "ConstraintID", omniORB.tcInternal.tv_long)
_0_CosNotifyFilter._tc_ConstraintID = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_ConstraintID)
omniORB.registerType(ConstraintID._NP_RepositoryId, _0_CosNotifyFilter._ad_ConstraintID, _0_CosNotifyFilter._tc_ConstraintID)
del ConstraintID

# struct ConstraintExp
_0_CosNotifyFilter.ConstraintExp = omniORB.newEmptyClass()
class ConstraintExp (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"

    def __init__(self, event_types, constraint_expr):
        self.event_types = event_types
        self.constraint_expr = constraint_expr

_0_CosNotifyFilter.ConstraintExp = ConstraintExp
_0_CosNotifyFilter._d_ConstraintExp  = (omniORB.tcInternal.tv_struct, ConstraintExp, ConstraintExp._NP_RepositoryId, "ConstraintExp", "event_types", omniORB.typeMapping["IDL:omg.org/CosNotification/EventTypeSeq:1.0"], "constraint_expr", (omniORB.tcInternal.tv_string,0))
_0_CosNotifyFilter._tc_ConstraintExp = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_ConstraintExp)
omniORB.registerType(ConstraintExp._NP_RepositoryId, _0_CosNotifyFilter._d_ConstraintExp, _0_CosNotifyFilter._tc_ConstraintExp)
del ConstraintExp

# typedef ... ConstraintIDSeq
class ConstraintIDSeq:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintIDSeq:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.ConstraintIDSeq = ConstraintIDSeq
_0_CosNotifyFilter._d_ConstraintIDSeq  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"], 0)
_0_CosNotifyFilter._ad_ConstraintIDSeq = (omniORB.tcInternal.tv_alias, ConstraintIDSeq._NP_RepositoryId, "ConstraintIDSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"], 0))
_0_CosNotifyFilter._tc_ConstraintIDSeq = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_ConstraintIDSeq)
omniORB.registerType(ConstraintIDSeq._NP_RepositoryId, _0_CosNotifyFilter._ad_ConstraintIDSeq, _0_CosNotifyFilter._tc_ConstraintIDSeq)
del ConstraintIDSeq

# typedef ... ConstraintExpSeq
class ConstraintExpSeq:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintExpSeq:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.ConstraintExpSeq = ConstraintExpSeq
_0_CosNotifyFilter._d_ConstraintExpSeq  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"], 0)
_0_CosNotifyFilter._ad_ConstraintExpSeq = (omniORB.tcInternal.tv_alias, ConstraintExpSeq._NP_RepositoryId, "ConstraintExpSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"], 0))
_0_CosNotifyFilter._tc_ConstraintExpSeq = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_ConstraintExpSeq)
omniORB.registerType(ConstraintExpSeq._NP_RepositoryId, _0_CosNotifyFilter._ad_ConstraintExpSeq, _0_CosNotifyFilter._tc_ConstraintExpSeq)
del ConstraintExpSeq

# struct ConstraintInfo
_0_CosNotifyFilter.ConstraintInfo = omniORB.newEmptyClass()
class ConstraintInfo (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintInfo:1.0"

    def __init__(self, constraint_expression, constraint_id):
        self.constraint_expression = constraint_expression
        self.constraint_id = constraint_id

_0_CosNotifyFilter.ConstraintInfo = ConstraintInfo
_0_CosNotifyFilter._d_ConstraintInfo  = (omniORB.tcInternal.tv_struct, ConstraintInfo, ConstraintInfo._NP_RepositoryId, "ConstraintInfo", "constraint_expression", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"], "constraint_id", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"])
_0_CosNotifyFilter._tc_ConstraintInfo = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_ConstraintInfo)
omniORB.registerType(ConstraintInfo._NP_RepositoryId, _0_CosNotifyFilter._d_ConstraintInfo, _0_CosNotifyFilter._tc_ConstraintInfo)
del ConstraintInfo

# typedef ... ConstraintInfoSeq
class ConstraintInfoSeq:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintInfoSeq:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.ConstraintInfoSeq = ConstraintInfoSeq
_0_CosNotifyFilter._d_ConstraintInfoSeq  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintInfo:1.0"], 0)
_0_CosNotifyFilter._ad_ConstraintInfoSeq = (omniORB.tcInternal.tv_alias, ConstraintInfoSeq._NP_RepositoryId, "ConstraintInfoSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintInfo:1.0"], 0))
_0_CosNotifyFilter._tc_ConstraintInfoSeq = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_ConstraintInfoSeq)
omniORB.registerType(ConstraintInfoSeq._NP_RepositoryId, _0_CosNotifyFilter._ad_ConstraintInfoSeq, _0_CosNotifyFilter._tc_ConstraintInfoSeq)
del ConstraintInfoSeq

# struct MappingConstraintPair
_0_CosNotifyFilter.MappingConstraintPair = omniORB.newEmptyClass()
class MappingConstraintPair (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/MappingConstraintPair:1.0"

    def __init__(self, constraint_expression, result_to_set):
        self.constraint_expression = constraint_expression
        self.result_to_set = result_to_set

_0_CosNotifyFilter.MappingConstraintPair = MappingConstraintPair
_0_CosNotifyFilter._d_MappingConstraintPair  = (omniORB.tcInternal.tv_struct, MappingConstraintPair, MappingConstraintPair._NP_RepositoryId, "MappingConstraintPair", "constraint_expression", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"], "result_to_set", omniORB.tcInternal.tv_any)
_0_CosNotifyFilter._tc_MappingConstraintPair = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_MappingConstraintPair)
omniORB.registerType(MappingConstraintPair._NP_RepositoryId, _0_CosNotifyFilter._d_MappingConstraintPair, _0_CosNotifyFilter._tc_MappingConstraintPair)
del MappingConstraintPair

# typedef ... MappingConstraintPairSeq
class MappingConstraintPairSeq:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/MappingConstraintPairSeq:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.MappingConstraintPairSeq = MappingConstraintPairSeq
_0_CosNotifyFilter._d_MappingConstraintPairSeq  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintPair:1.0"], 0)
_0_CosNotifyFilter._ad_MappingConstraintPairSeq = (omniORB.tcInternal.tv_alias, MappingConstraintPairSeq._NP_RepositoryId, "MappingConstraintPairSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintPair:1.0"], 0))
_0_CosNotifyFilter._tc_MappingConstraintPairSeq = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_MappingConstraintPairSeq)
omniORB.registerType(MappingConstraintPairSeq._NP_RepositoryId, _0_CosNotifyFilter._ad_MappingConstraintPairSeq, _0_CosNotifyFilter._tc_MappingConstraintPairSeq)
del MappingConstraintPairSeq

# struct MappingConstraintInfo
_0_CosNotifyFilter.MappingConstraintInfo = omniORB.newEmptyClass()
class MappingConstraintInfo (omniORB.StructBase):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/MappingConstraintInfo:1.0"

    def __init__(self, constraint_expression, constraint_id, value):
        self.constraint_expression = constraint_expression
        self.constraint_id = constraint_id
        self.value = value

_0_CosNotifyFilter.MappingConstraintInfo = MappingConstraintInfo
_0_CosNotifyFilter._d_MappingConstraintInfo  = (omniORB.tcInternal.tv_struct, MappingConstraintInfo, MappingConstraintInfo._NP_RepositoryId, "MappingConstraintInfo", "constraint_expression", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"], "constraint_id", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"], "value", omniORB.tcInternal.tv_any)
_0_CosNotifyFilter._tc_MappingConstraintInfo = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_MappingConstraintInfo)
omniORB.registerType(MappingConstraintInfo._NP_RepositoryId, _0_CosNotifyFilter._d_MappingConstraintInfo, _0_CosNotifyFilter._tc_MappingConstraintInfo)
del MappingConstraintInfo

# typedef ... MappingConstraintInfoSeq
class MappingConstraintInfoSeq:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/MappingConstraintInfoSeq:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.MappingConstraintInfoSeq = MappingConstraintInfoSeq
_0_CosNotifyFilter._d_MappingConstraintInfoSeq  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintInfo:1.0"], 0)
_0_CosNotifyFilter._ad_MappingConstraintInfoSeq = (omniORB.tcInternal.tv_alias, MappingConstraintInfoSeq._NP_RepositoryId, "MappingConstraintInfoSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintInfo:1.0"], 0))
_0_CosNotifyFilter._tc_MappingConstraintInfoSeq = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_MappingConstraintInfoSeq)
omniORB.registerType(MappingConstraintInfoSeq._NP_RepositoryId, _0_CosNotifyFilter._ad_MappingConstraintInfoSeq, _0_CosNotifyFilter._tc_MappingConstraintInfoSeq)
del MappingConstraintInfoSeq

# typedef ... CallbackID
class CallbackID:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/CallbackID:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.CallbackID = CallbackID
_0_CosNotifyFilter._d_CallbackID  = omniORB.tcInternal.tv_long
_0_CosNotifyFilter._ad_CallbackID = (omniORB.tcInternal.tv_alias, CallbackID._NP_RepositoryId, "CallbackID", omniORB.tcInternal.tv_long)
_0_CosNotifyFilter._tc_CallbackID = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_CallbackID)
omniORB.registerType(CallbackID._NP_RepositoryId, _0_CosNotifyFilter._ad_CallbackID, _0_CosNotifyFilter._tc_CallbackID)
del CallbackID

# typedef ... CallbackIDSeq
class CallbackIDSeq:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/CallbackIDSeq:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.CallbackIDSeq = CallbackIDSeq
_0_CosNotifyFilter._d_CallbackIDSeq  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/CallbackID:1.0"], 0)
_0_CosNotifyFilter._ad_CallbackIDSeq = (omniORB.tcInternal.tv_alias, CallbackIDSeq._NP_RepositoryId, "CallbackIDSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/CallbackID:1.0"], 0))
_0_CosNotifyFilter._tc_CallbackIDSeq = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_CallbackIDSeq)
omniORB.registerType(CallbackIDSeq._NP_RepositoryId, _0_CosNotifyFilter._ad_CallbackIDSeq, _0_CosNotifyFilter._tc_CallbackIDSeq)
del CallbackIDSeq

# exception UnsupportedFilterableData
_0_CosNotifyFilter.UnsupportedFilterableData = omniORB.newEmptyClass()
class UnsupportedFilterableData (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)

_0_CosNotifyFilter.UnsupportedFilterableData = UnsupportedFilterableData
_0_CosNotifyFilter._d_UnsupportedFilterableData  = (omniORB.tcInternal.tv_except, UnsupportedFilterableData, UnsupportedFilterableData._NP_RepositoryId, "UnsupportedFilterableData")
_0_CosNotifyFilter._tc_UnsupportedFilterableData = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_UnsupportedFilterableData)
omniORB.registerType(UnsupportedFilterableData._NP_RepositoryId, _0_CosNotifyFilter._d_UnsupportedFilterableData, _0_CosNotifyFilter._tc_UnsupportedFilterableData)
del UnsupportedFilterableData

# exception InvalidGrammar
_0_CosNotifyFilter.InvalidGrammar = omniORB.newEmptyClass()
class InvalidGrammar (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/InvalidGrammar:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)

_0_CosNotifyFilter.InvalidGrammar = InvalidGrammar
_0_CosNotifyFilter._d_InvalidGrammar  = (omniORB.tcInternal.tv_except, InvalidGrammar, InvalidGrammar._NP_RepositoryId, "InvalidGrammar")
_0_CosNotifyFilter._tc_InvalidGrammar = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_InvalidGrammar)
omniORB.registerType(InvalidGrammar._NP_RepositoryId, _0_CosNotifyFilter._d_InvalidGrammar, _0_CosNotifyFilter._tc_InvalidGrammar)
del InvalidGrammar

# exception InvalidConstraint
_0_CosNotifyFilter.InvalidConstraint = omniORB.newEmptyClass()
class InvalidConstraint (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0"

    def __init__(self, constr):
        CORBA.UserException.__init__(self, constr)
        self.constr = constr

_0_CosNotifyFilter.InvalidConstraint = InvalidConstraint
_0_CosNotifyFilter._d_InvalidConstraint  = (omniORB.tcInternal.tv_except, InvalidConstraint, InvalidConstraint._NP_RepositoryId, "InvalidConstraint", "constr", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"])
_0_CosNotifyFilter._tc_InvalidConstraint = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_InvalidConstraint)
omniORB.registerType(InvalidConstraint._NP_RepositoryId, _0_CosNotifyFilter._d_InvalidConstraint, _0_CosNotifyFilter._tc_InvalidConstraint)
del InvalidConstraint

# exception DuplicateConstraintID
_0_CosNotifyFilter.DuplicateConstraintID = omniORB.newEmptyClass()
class DuplicateConstraintID (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/DuplicateConstraintID:1.0"

    def __init__(self, id):
        CORBA.UserException.__init__(self, id)
        self.id = id

_0_CosNotifyFilter.DuplicateConstraintID = DuplicateConstraintID
_0_CosNotifyFilter._d_DuplicateConstraintID  = (omniORB.tcInternal.tv_except, DuplicateConstraintID, DuplicateConstraintID._NP_RepositoryId, "DuplicateConstraintID", "id", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"])
_0_CosNotifyFilter._tc_DuplicateConstraintID = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_DuplicateConstraintID)
omniORB.registerType(DuplicateConstraintID._NP_RepositoryId, _0_CosNotifyFilter._d_DuplicateConstraintID, _0_CosNotifyFilter._tc_DuplicateConstraintID)
del DuplicateConstraintID

# exception ConstraintNotFound
_0_CosNotifyFilter.ConstraintNotFound = omniORB.newEmptyClass()
class ConstraintNotFound (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0"

    def __init__(self, id):
        CORBA.UserException.__init__(self, id)
        self.id = id

_0_CosNotifyFilter.ConstraintNotFound = ConstraintNotFound
_0_CosNotifyFilter._d_ConstraintNotFound  = (omniORB.tcInternal.tv_except, ConstraintNotFound, ConstraintNotFound._NP_RepositoryId, "ConstraintNotFound", "id", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintID:1.0"])
_0_CosNotifyFilter._tc_ConstraintNotFound = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_ConstraintNotFound)
omniORB.registerType(ConstraintNotFound._NP_RepositoryId, _0_CosNotifyFilter._d_ConstraintNotFound, _0_CosNotifyFilter._tc_ConstraintNotFound)
del ConstraintNotFound

# exception CallbackNotFound
_0_CosNotifyFilter.CallbackNotFound = omniORB.newEmptyClass()
class CallbackNotFound (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/CallbackNotFound:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)

_0_CosNotifyFilter.CallbackNotFound = CallbackNotFound
_0_CosNotifyFilter._d_CallbackNotFound  = (omniORB.tcInternal.tv_except, CallbackNotFound, CallbackNotFound._NP_RepositoryId, "CallbackNotFound")
_0_CosNotifyFilter._tc_CallbackNotFound = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_CallbackNotFound)
omniORB.registerType(CallbackNotFound._NP_RepositoryId, _0_CosNotifyFilter._d_CallbackNotFound, _0_CosNotifyFilter._tc_CallbackNotFound)
del CallbackNotFound

# exception InvalidValue
_0_CosNotifyFilter.InvalidValue = omniORB.newEmptyClass()
class InvalidValue (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/InvalidValue:1.0"

    def __init__(self, constr, value):
        CORBA.UserException.__init__(self, constr, value)
        self.constr = constr
        self.value = value

_0_CosNotifyFilter.InvalidValue = InvalidValue
_0_CosNotifyFilter._d_InvalidValue  = (omniORB.tcInternal.tv_except, InvalidValue, InvalidValue._NP_RepositoryId, "InvalidValue", "constr", omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0"], "value", omniORB.tcInternal.tv_any)
_0_CosNotifyFilter._tc_InvalidValue = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_InvalidValue)
omniORB.registerType(InvalidValue._NP_RepositoryId, _0_CosNotifyFilter._d_InvalidValue, _0_CosNotifyFilter._tc_InvalidValue)
del InvalidValue

# interface Filter
_0_CosNotifyFilter._d_Filter = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosNotifyFilter/Filter:1.0", "Filter")
omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/Filter:1.0"] = _0_CosNotifyFilter._d_Filter
_0_CosNotifyFilter.Filter = omniORB.newEmptyClass()
class Filter :
    _NP_RepositoryId = _0_CosNotifyFilter._d_Filter[1]

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

    _nil = CORBA.Object._nil


_0_CosNotifyFilter.Filter = Filter
_0_CosNotifyFilter._tc_Filter = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_Filter)
omniORB.registerType(Filter._NP_RepositoryId, _0_CosNotifyFilter._d_Filter, _0_CosNotifyFilter._tc_Filter)

# Filter operations and attributes
Filter._d__get_constraint_grammar = ((),((omniORB.tcInternal.tv_string,0),),None)
Filter._d_add_constraints = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintExpSeq:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintInfoSeq:1.0"], ), {_0_CosNotifyFilter.InvalidConstraint._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidConstraint})
Filter._d_modify_constraints = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintIDSeq:1.0"], omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintInfoSeq:1.0"]), (), {_0_CosNotifyFilter.InvalidConstraint._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidConstraint, _0_CosNotifyFilter.ConstraintNotFound._NP_RepositoryId: _0_CosNotifyFilter._d_ConstraintNotFound})
Filter._d_get_constraints = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintIDSeq:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintInfoSeq:1.0"], ), {_0_CosNotifyFilter.ConstraintNotFound._NP_RepositoryId: _0_CosNotifyFilter._d_ConstraintNotFound})
Filter._d_get_all_constraints = ((), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintInfoSeq:1.0"], ), None)
Filter._d_remove_all_constraints = ((), (), None)
Filter._d_destroy = ((), (), None)
Filter._d_match = ((omniORB.tcInternal.tv_any, ), (omniORB.tcInternal.tv_boolean, ), {_0_CosNotifyFilter.UnsupportedFilterableData._NP_RepositoryId: _0_CosNotifyFilter._d_UnsupportedFilterableData})
Filter._d_match_structured = ((omniORB.typeMapping["IDL:omg.org/CosNotification/StructuredEvent:1.0"], ), (omniORB.tcInternal.tv_boolean, ), {_0_CosNotifyFilter.UnsupportedFilterableData._NP_RepositoryId: _0_CosNotifyFilter._d_UnsupportedFilterableData})
Filter._d_match_typed = ((omniORB.typeMapping["IDL:omg.org/CosNotification/PropertySeq:1.0"], ), (omniORB.tcInternal.tv_boolean, ), {_0_CosNotifyFilter.UnsupportedFilterableData._NP_RepositoryId: _0_CosNotifyFilter._d_UnsupportedFilterableData})
Filter._d_attach_callback = ((omniORB.typeMapping["IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/CallbackID:1.0"], ), None)
Filter._d_detach_callback = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/CallbackID:1.0"], ), (), {_0_CosNotifyFilter.CallbackNotFound._NP_RepositoryId: _0_CosNotifyFilter._d_CallbackNotFound})
Filter._d_get_callbacks = ((), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/CallbackIDSeq:1.0"], ), None)

# Filter object reference
class _objref_Filter (CORBA.Object):
    _NP_RepositoryId = Filter._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def _get_constraint_grammar(self, *args):
        return _omnipy.invoke(self, "_get_constraint_grammar", _0_CosNotifyFilter.Filter._d__get_constraint_grammar, args)

    def add_constraints(self, *args):
        return _omnipy.invoke(self, "add_constraints", _0_CosNotifyFilter.Filter._d_add_constraints, args)

    def modify_constraints(self, *args):
        return _omnipy.invoke(self, "modify_constraints", _0_CosNotifyFilter.Filter._d_modify_constraints, args)

    def get_constraints(self, *args):
        return _omnipy.invoke(self, "get_constraints", _0_CosNotifyFilter.Filter._d_get_constraints, args)

    def get_all_constraints(self, *args):
        return _omnipy.invoke(self, "get_all_constraints", _0_CosNotifyFilter.Filter._d_get_all_constraints, args)

    def remove_all_constraints(self, *args):
        return _omnipy.invoke(self, "remove_all_constraints", _0_CosNotifyFilter.Filter._d_remove_all_constraints, args)

    def destroy(self, *args):
        return _omnipy.invoke(self, "destroy", _0_CosNotifyFilter.Filter._d_destroy, args)

    def match(self, *args):
        return _omnipy.invoke(self, "match", _0_CosNotifyFilter.Filter._d_match, args)

    def match_structured(self, *args):
        return _omnipy.invoke(self, "match_structured", _0_CosNotifyFilter.Filter._d_match_structured, args)

    def match_typed(self, *args):
        return _omnipy.invoke(self, "match_typed", _0_CosNotifyFilter.Filter._d_match_typed, args)

    def attach_callback(self, *args):
        return _omnipy.invoke(self, "attach_callback", _0_CosNotifyFilter.Filter._d_attach_callback, args)

    def detach_callback(self, *args):
        return _omnipy.invoke(self, "detach_callback", _0_CosNotifyFilter.Filter._d_detach_callback, args)

    def get_callbacks(self, *args):
        return _omnipy.invoke(self, "get_callbacks", _0_CosNotifyFilter.Filter._d_get_callbacks, args)

    __methods__ = ["_get_constraint_grammar", "add_constraints", "modify_constraints", "get_constraints", "get_all_constraints", "remove_all_constraints", "destroy", "match", "match_structured", "match_typed", "attach_callback", "detach_callback", "get_callbacks"] + CORBA.Object.__methods__

omniORB.registerObjref(Filter._NP_RepositoryId, _objref_Filter)
_0_CosNotifyFilter._objref_Filter = _objref_Filter
del Filter, _objref_Filter

# Filter skeleton
__name__ = "CosNotifyFilter__POA"
class Filter (PortableServer.Servant):
    _NP_RepositoryId = _0_CosNotifyFilter.Filter._NP_RepositoryId


    _omni_op_d = {"_get_constraint_grammar": _0_CosNotifyFilter.Filter._d__get_constraint_grammar, "add_constraints": _0_CosNotifyFilter.Filter._d_add_constraints, "modify_constraints": _0_CosNotifyFilter.Filter._d_modify_constraints, "get_constraints": _0_CosNotifyFilter.Filter._d_get_constraints, "get_all_constraints": _0_CosNotifyFilter.Filter._d_get_all_constraints, "remove_all_constraints": _0_CosNotifyFilter.Filter._d_remove_all_constraints, "destroy": _0_CosNotifyFilter.Filter._d_destroy, "match": _0_CosNotifyFilter.Filter._d_match, "match_structured": _0_CosNotifyFilter.Filter._d_match_structured, "match_typed": _0_CosNotifyFilter.Filter._d_match_typed, "attach_callback": _0_CosNotifyFilter.Filter._d_attach_callback, "detach_callback": _0_CosNotifyFilter.Filter._d_detach_callback, "get_callbacks": _0_CosNotifyFilter.Filter._d_get_callbacks}

Filter._omni_skeleton = Filter
_0_CosNotifyFilter__POA.Filter = Filter
omniORB.registerSkeleton(Filter._NP_RepositoryId, Filter)
del Filter
__name__ = "CosNotifyFilter"

# interface MappingFilter
_0_CosNotifyFilter._d_MappingFilter = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosNotifyFilter/MappingFilter:1.0", "MappingFilter")
omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingFilter:1.0"] = _0_CosNotifyFilter._d_MappingFilter
_0_CosNotifyFilter.MappingFilter = omniORB.newEmptyClass()
class MappingFilter :
    _NP_RepositoryId = _0_CosNotifyFilter._d_MappingFilter[1]

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

    _nil = CORBA.Object._nil


_0_CosNotifyFilter.MappingFilter = MappingFilter
_0_CosNotifyFilter._tc_MappingFilter = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_MappingFilter)
omniORB.registerType(MappingFilter._NP_RepositoryId, _0_CosNotifyFilter._d_MappingFilter, _0_CosNotifyFilter._tc_MappingFilter)

# MappingFilter operations and attributes
MappingFilter._d__get_constraint_grammar = ((),((omniORB.tcInternal.tv_string,0),),None)
MappingFilter._d__get_value_type = ((),(omniORB.tcInternal.tv_TypeCode,),None)
MappingFilter._d__get_default_value = ((),(omniORB.tcInternal.tv_any,),None)
MappingFilter._d_add_mapping_constraints = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintPairSeq:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintInfoSeq:1.0"], ), {_0_CosNotifyFilter.InvalidConstraint._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidConstraint, _0_CosNotifyFilter.InvalidValue._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidValue})
MappingFilter._d_modify_mapping_constraints = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintIDSeq:1.0"], omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintInfoSeq:1.0"]), (), {_0_CosNotifyFilter.InvalidConstraint._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidConstraint, _0_CosNotifyFilter.InvalidValue._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidValue, _0_CosNotifyFilter.ConstraintNotFound._NP_RepositoryId: _0_CosNotifyFilter._d_ConstraintNotFound})
MappingFilter._d_get_mapping_constraints = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/ConstraintIDSeq:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintInfoSeq:1.0"], ), {_0_CosNotifyFilter.ConstraintNotFound._NP_RepositoryId: _0_CosNotifyFilter._d_ConstraintNotFound})
MappingFilter._d_get_all_mapping_constraints = ((), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingConstraintInfoSeq:1.0"], ), None)
MappingFilter._d_remove_all_mapping_constraints = ((), (), None)
MappingFilter._d_destroy = ((), (), None)
MappingFilter._d_match = ((omniORB.tcInternal.tv_any, ), (omniORB.tcInternal.tv_boolean, omniORB.tcInternal.tv_any), {_0_CosNotifyFilter.UnsupportedFilterableData._NP_RepositoryId: _0_CosNotifyFilter._d_UnsupportedFilterableData})
MappingFilter._d_match_structured = ((omniORB.typeMapping["IDL:omg.org/CosNotification/StructuredEvent:1.0"], ), (omniORB.tcInternal.tv_boolean, omniORB.tcInternal.tv_any), {_0_CosNotifyFilter.UnsupportedFilterableData._NP_RepositoryId: _0_CosNotifyFilter._d_UnsupportedFilterableData})
MappingFilter._d_match_typed = ((omniORB.typeMapping["IDL:omg.org/CosNotification/PropertySeq:1.0"], ), (omniORB.tcInternal.tv_boolean, omniORB.tcInternal.tv_any), {_0_CosNotifyFilter.UnsupportedFilterableData._NP_RepositoryId: _0_CosNotifyFilter._d_UnsupportedFilterableData})

# MappingFilter object reference
class _objref_MappingFilter (CORBA.Object):
    _NP_RepositoryId = MappingFilter._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def _get_constraint_grammar(self, *args):
        return _omnipy.invoke(self, "_get_constraint_grammar", _0_CosNotifyFilter.MappingFilter._d__get_constraint_grammar, args)

    def _get_value_type(self, *args):
        return _omnipy.invoke(self, "_get_value_type", _0_CosNotifyFilter.MappingFilter._d__get_value_type, args)

    def _get_default_value(self, *args):
        return _omnipy.invoke(self, "_get_default_value", _0_CosNotifyFilter.MappingFilter._d__get_default_value, args)

    def add_mapping_constraints(self, *args):
        return _omnipy.invoke(self, "add_mapping_constraints", _0_CosNotifyFilter.MappingFilter._d_add_mapping_constraints, args)

    def modify_mapping_constraints(self, *args):
        return _omnipy.invoke(self, "modify_mapping_constraints", _0_CosNotifyFilter.MappingFilter._d_modify_mapping_constraints, args)

    def get_mapping_constraints(self, *args):
        return _omnipy.invoke(self, "get_mapping_constraints", _0_CosNotifyFilter.MappingFilter._d_get_mapping_constraints, args)

    def get_all_mapping_constraints(self, *args):
        return _omnipy.invoke(self, "get_all_mapping_constraints", _0_CosNotifyFilter.MappingFilter._d_get_all_mapping_constraints, args)

    def remove_all_mapping_constraints(self, *args):
        return _omnipy.invoke(self, "remove_all_mapping_constraints", _0_CosNotifyFilter.MappingFilter._d_remove_all_mapping_constraints, args)

    def destroy(self, *args):
        return _omnipy.invoke(self, "destroy", _0_CosNotifyFilter.MappingFilter._d_destroy, args)

    def match(self, *args):
        return _omnipy.invoke(self, "match", _0_CosNotifyFilter.MappingFilter._d_match, args)

    def match_structured(self, *args):
        return _omnipy.invoke(self, "match_structured", _0_CosNotifyFilter.MappingFilter._d_match_structured, args)

    def match_typed(self, *args):
        return _omnipy.invoke(self, "match_typed", _0_CosNotifyFilter.MappingFilter._d_match_typed, args)

    __methods__ = ["_get_constraint_grammar", "_get_value_type", "_get_default_value", "add_mapping_constraints", "modify_mapping_constraints", "get_mapping_constraints", "get_all_mapping_constraints", "remove_all_mapping_constraints", "destroy", "match", "match_structured", "match_typed"] + CORBA.Object.__methods__

omniORB.registerObjref(MappingFilter._NP_RepositoryId, _objref_MappingFilter)
_0_CosNotifyFilter._objref_MappingFilter = _objref_MappingFilter
del MappingFilter, _objref_MappingFilter

# MappingFilter skeleton
__name__ = "CosNotifyFilter__POA"
class MappingFilter (PortableServer.Servant):
    _NP_RepositoryId = _0_CosNotifyFilter.MappingFilter._NP_RepositoryId


    _omni_op_d = {"_get_constraint_grammar": _0_CosNotifyFilter.MappingFilter._d__get_constraint_grammar, "_get_value_type": _0_CosNotifyFilter.MappingFilter._d__get_value_type, "_get_default_value": _0_CosNotifyFilter.MappingFilter._d__get_default_value, "add_mapping_constraints": _0_CosNotifyFilter.MappingFilter._d_add_mapping_constraints, "modify_mapping_constraints": _0_CosNotifyFilter.MappingFilter._d_modify_mapping_constraints, "get_mapping_constraints": _0_CosNotifyFilter.MappingFilter._d_get_mapping_constraints, "get_all_mapping_constraints": _0_CosNotifyFilter.MappingFilter._d_get_all_mapping_constraints, "remove_all_mapping_constraints": _0_CosNotifyFilter.MappingFilter._d_remove_all_mapping_constraints, "destroy": _0_CosNotifyFilter.MappingFilter._d_destroy, "match": _0_CosNotifyFilter.MappingFilter._d_match, "match_structured": _0_CosNotifyFilter.MappingFilter._d_match_structured, "match_typed": _0_CosNotifyFilter.MappingFilter._d_match_typed}

MappingFilter._omni_skeleton = MappingFilter
_0_CosNotifyFilter__POA.MappingFilter = MappingFilter
omniORB.registerSkeleton(MappingFilter._NP_RepositoryId, MappingFilter)
del MappingFilter
__name__ = "CosNotifyFilter"

# interface FilterFactory
_0_CosNotifyFilter._d_FilterFactory = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosNotifyFilter/FilterFactory:1.0", "FilterFactory")
omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterFactory:1.0"] = _0_CosNotifyFilter._d_FilterFactory
_0_CosNotifyFilter.FilterFactory = omniORB.newEmptyClass()
class FilterFactory :
    _NP_RepositoryId = _0_CosNotifyFilter._d_FilterFactory[1]

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

    _nil = CORBA.Object._nil


_0_CosNotifyFilter.FilterFactory = FilterFactory
_0_CosNotifyFilter._tc_FilterFactory = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_FilterFactory)
omniORB.registerType(FilterFactory._NP_RepositoryId, _0_CosNotifyFilter._d_FilterFactory, _0_CosNotifyFilter._tc_FilterFactory)

# FilterFactory operations and attributes
FilterFactory._d_create_filter = (((omniORB.tcInternal.tv_string,0), ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/Filter:1.0"], ), {_0_CosNotifyFilter.InvalidGrammar._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidGrammar})
FilterFactory._d_create_mapping_filter = (((omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_any), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/MappingFilter:1.0"], ), {_0_CosNotifyFilter.InvalidGrammar._NP_RepositoryId: _0_CosNotifyFilter._d_InvalidGrammar})

# FilterFactory object reference
class _objref_FilterFactory (CORBA.Object):
    _NP_RepositoryId = FilterFactory._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def create_filter(self, *args):
        return _omnipy.invoke(self, "create_filter", _0_CosNotifyFilter.FilterFactory._d_create_filter, args)

    def create_mapping_filter(self, *args):
        return _omnipy.invoke(self, "create_mapping_filter", _0_CosNotifyFilter.FilterFactory._d_create_mapping_filter, args)

    __methods__ = ["create_filter", "create_mapping_filter"] + CORBA.Object.__methods__

omniORB.registerObjref(FilterFactory._NP_RepositoryId, _objref_FilterFactory)
_0_CosNotifyFilter._objref_FilterFactory = _objref_FilterFactory
del FilterFactory, _objref_FilterFactory

# FilterFactory skeleton
__name__ = "CosNotifyFilter__POA"
class FilterFactory (PortableServer.Servant):
    _NP_RepositoryId = _0_CosNotifyFilter.FilterFactory._NP_RepositoryId


    _omni_op_d = {"create_filter": _0_CosNotifyFilter.FilterFactory._d_create_filter, "create_mapping_filter": _0_CosNotifyFilter.FilterFactory._d_create_mapping_filter}

FilterFactory._omni_skeleton = FilterFactory
_0_CosNotifyFilter__POA.FilterFactory = FilterFactory
omniORB.registerSkeleton(FilterFactory._NP_RepositoryId, FilterFactory)
del FilterFactory
__name__ = "CosNotifyFilter"

# typedef ... FilterID
class FilterID:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/FilterID:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.FilterID = FilterID
_0_CosNotifyFilter._d_FilterID  = omniORB.tcInternal.tv_long
_0_CosNotifyFilter._ad_FilterID = (omniORB.tcInternal.tv_alias, FilterID._NP_RepositoryId, "FilterID", omniORB.tcInternal.tv_long)
_0_CosNotifyFilter._tc_FilterID = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_FilterID)
omniORB.registerType(FilterID._NP_RepositoryId, _0_CosNotifyFilter._ad_FilterID, _0_CosNotifyFilter._tc_FilterID)
del FilterID

# typedef ... FilterIDSeq
class FilterIDSeq:
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/FilterIDSeq:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_CosNotifyFilter.FilterIDSeq = FilterIDSeq
_0_CosNotifyFilter._d_FilterIDSeq  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterID:1.0"], 0)
_0_CosNotifyFilter._ad_FilterIDSeq = (omniORB.tcInternal.tv_alias, FilterIDSeq._NP_RepositoryId, "FilterIDSeq", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterID:1.0"], 0))
_0_CosNotifyFilter._tc_FilterIDSeq = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._ad_FilterIDSeq)
omniORB.registerType(FilterIDSeq._NP_RepositoryId, _0_CosNotifyFilter._ad_FilterIDSeq, _0_CosNotifyFilter._tc_FilterIDSeq)
del FilterIDSeq

# exception FilterNotFound
_0_CosNotifyFilter.FilterNotFound = omniORB.newEmptyClass()
class FilterNotFound (CORBA.UserException):
    _NP_RepositoryId = "IDL:omg.org/CosNotifyFilter/FilterNotFound:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)

_0_CosNotifyFilter.FilterNotFound = FilterNotFound
_0_CosNotifyFilter._d_FilterNotFound  = (omniORB.tcInternal.tv_except, FilterNotFound, FilterNotFound._NP_RepositoryId, "FilterNotFound")
_0_CosNotifyFilter._tc_FilterNotFound = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_FilterNotFound)
omniORB.registerType(FilterNotFound._NP_RepositoryId, _0_CosNotifyFilter._d_FilterNotFound, _0_CosNotifyFilter._tc_FilterNotFound)
del FilterNotFound

# interface FilterAdmin
_0_CosNotifyFilter._d_FilterAdmin = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0", "FilterAdmin")
omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"] = _0_CosNotifyFilter._d_FilterAdmin
_0_CosNotifyFilter.FilterAdmin = omniORB.newEmptyClass()
class FilterAdmin :
    _NP_RepositoryId = _0_CosNotifyFilter._d_FilterAdmin[1]

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

    _nil = CORBA.Object._nil


_0_CosNotifyFilter.FilterAdmin = FilterAdmin
_0_CosNotifyFilter._tc_FilterAdmin = omniORB.tcInternal.createTypeCode(_0_CosNotifyFilter._d_FilterAdmin)
omniORB.registerType(FilterAdmin._NP_RepositoryId, _0_CosNotifyFilter._d_FilterAdmin, _0_CosNotifyFilter._tc_FilterAdmin)

# FilterAdmin operations and attributes
FilterAdmin._d_add_filter = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/Filter:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterID:1.0"], ), None)
FilterAdmin._d_remove_filter = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterID:1.0"], ), (), {_0_CosNotifyFilter.FilterNotFound._NP_RepositoryId: _0_CosNotifyFilter._d_FilterNotFound})
FilterAdmin._d_get_filter = ((omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterID:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/Filter:1.0"], ), {_0_CosNotifyFilter.FilterNotFound._NP_RepositoryId: _0_CosNotifyFilter._d_FilterNotFound})
FilterAdmin._d_get_all_filters = ((), (omniORB.typeMapping["IDL:omg.org/CosNotifyFilter/FilterIDSeq:1.0"], ), None)
FilterAdmin._d_remove_all_filters = ((), (), None)

# FilterAdmin object reference
class _objref_FilterAdmin (CORBA.Object):
    _NP_RepositoryId = FilterAdmin._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def add_filter(self, *args):
        return _omnipy.invoke(self, "add_filter", _0_CosNotifyFilter.FilterAdmin._d_add_filter, args)

    def remove_filter(self, *args):
        return _omnipy.invoke(self, "remove_filter", _0_CosNotifyFilter.FilterAdmin._d_remove_filter, args)

    def get_filter(self, *args):
        return _omnipy.invoke(self, "get_filter", _0_CosNotifyFilter.FilterAdmin._d_get_filter, args)

    def get_all_filters(self, *args):
        return _omnipy.invoke(self, "get_all_filters", _0_CosNotifyFilter.FilterAdmin._d_get_all_filters, args)

    def remove_all_filters(self, *args):
        return _omnipy.invoke(self, "remove_all_filters", _0_CosNotifyFilter.FilterAdmin._d_remove_all_filters, args)

    __methods__ = ["add_filter", "remove_filter", "get_filter", "get_all_filters", "remove_all_filters"] + CORBA.Object.__methods__

omniORB.registerObjref(FilterAdmin._NP_RepositoryId, _objref_FilterAdmin)
_0_CosNotifyFilter._objref_FilterAdmin = _objref_FilterAdmin
del FilterAdmin, _objref_FilterAdmin

# FilterAdmin skeleton
__name__ = "CosNotifyFilter__POA"
class FilterAdmin (PortableServer.Servant):
    _NP_RepositoryId = _0_CosNotifyFilter.FilterAdmin._NP_RepositoryId


    _omni_op_d = {"add_filter": _0_CosNotifyFilter.FilterAdmin._d_add_filter, "remove_filter": _0_CosNotifyFilter.FilterAdmin._d_remove_filter, "get_filter": _0_CosNotifyFilter.FilterAdmin._d_get_filter, "get_all_filters": _0_CosNotifyFilter.FilterAdmin._d_get_all_filters, "remove_all_filters": _0_CosNotifyFilter.FilterAdmin._d_remove_all_filters}

FilterAdmin._omni_skeleton = FilterAdmin
_0_CosNotifyFilter__POA.FilterAdmin = FilterAdmin
omniORB.registerSkeleton(FilterAdmin._NP_RepositoryId, FilterAdmin)
del FilterAdmin
__name__ = "CosNotifyFilter"

#
# End of module "CosNotifyFilter"
#
__name__ = "CosNotifyFilter_idl"

_exported_modules = ( "CosNotifyFilter", )

# The end.
