Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfCommon :: Module Role' :: Class Role
[hide private]
[frames] | no frames]

Class Role

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         Role
Known Subclasses:

Enumeration of potential roles that might be played by one object relative to another.Enumeration of potential roles that might be played by one object relative to another.

Instance Methods [hide private]
 
__init__(self, category='', status=None, *args, **kw_args)
Initialises a new 'Role' instance.

Inherited from Core.IdentifiedObject'.IdentifiedObject: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'category': <type 'str'>}
  _attrs = ['category']
  _defaults = {'category': ''}
  _many_refs = []
  _refs = ['status']
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]

Inherited from Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

__init__(self, category='', status=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'Role' instance.

Parameters:
  • category - Category of role.
  • status
Overrides: object.__init__