Meta Module

The following sections describe the classes in the meta module.

Category

Class that represents an object category.

class cobra.mit.meta.Category(name, categoryId)[source]
__eq__(other)[source]

Implement ==.

__ge__(other)[source]

Implement >=.

__gt__(other)[source]

Implement >.

__hash__()[source]

Return hash(self).

__init__(name, categoryId)[source]

Initialize self. See help(type(self)) for accurate signature.

__le__(other)[source]

Implement <=.

__lt__(other)[source]

Implement <.

__ne__(other)[source]

Implement !=.

__str__()[source]

Return str(self).

ClassLoader

Class that loads a specified class.

class cobra.mit.meta.ClassLoader[source]

ClassMeta

Class that provides information about an object class.

class cobra.mit.meta.ClassMeta(className)[source]
__init__(className)[source]

Initialize self. See help(type(self)) for accurate signature.

Constant

class cobra.mit.meta.Constant(const, label, value)[source]
__eq__(other)[source]

Implement ==.

__ge__(other)[source]

Implement >=.

__gt__(other)[source]

Implement >.

__init__(const, label, value)[source]

Initialize self. See help(type(self)) for accurate signature.

__le__(other)[source]

Implement <=.

__lt__(other)[source]

Implement <.

__ne__(other)[source]

Implement !=.

__str__()[source]

Return str(self).

NamedSourceRelationMeta

class cobra.mit.meta.NamedSourceRelationMeta(className, targetClassName)[source]
__init__(className, targetClassName)[source]

Initialize self. See help(type(self)) for accurate signature.

PropMeta

class cobra.mit.meta.PropMeta(typeClassName, name, moPropName, propId, category)[source]
__eq__(other)[source]

Implement ==.

__ge__(other)[source]

Implement >=.

__gt__(other)[source]

Implement >.

__hash__()[source]

Return hash(self).

__init__(typeClassName, name, moPropName, propId, category)[source]

Initialize self. See help(type(self)) for accurate signature.

__le__(other)[source]

Implement <=.

__lt__(other)[source]

Implement <.

__ne__(other)[source]

Implement !=.

__str__()[source]

Return str(self).

SourceRelationMeta

class cobra.mit.meta.SourceRelationMeta(className, targetClassName)[source]
__init__(className, targetClassName)[source]

Initialize self. See help(type(self)) for accurate signature.

TargetRelationMeta

class cobra.mit.meta.TargetRelationMeta(className, sourceClassName)[source]
__init__(className, sourceClassName)[source]

Initialize self. See help(type(self)) for accurate signature.