Package CIM14 :: Package IEC61968 :: Package Common :: Module ActivityRecord' :: Class ActivityRecord
[hide private]
[frames] | no frames]

Class ActivityRecord

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

Records activity for an entity at a point in time; activity may be for an event that has already occurred or for a planned activity.

Instance Methods [hide private]
 
__init__(self, reason='', createdDateTime='', severity='', category='', Documents=None, Assets=None, status=None, *args, **kw_args)
Initialises a new 'ActivityRecord' instance.
 
addAssets(self, *Assets)
 
addDocuments(self, *Documents)
 
getAssets(self)
All assets for which this activity record has been created.
 
getDocuments(self)
All documents for which this activity record has been created.
 
removeAssets(self, *Assets)
 
removeDocuments(self, *Documents)
 
setAssets(self, value)
 
setDocuments(self, value)

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: getModelingAuthoritySet, setModelingAuthoritySet

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'>, 'createdDateTime': <t...
  _attrs = ['reason', 'createdDateTime', 'severity', 'category']
  _defaults = {'category': '', 'createdDateTime': '', 'reason': ...
  _many_refs = ['Documents', 'Assets']
  _refs = ['Documents', 'Assets', 'status']
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  Assets
All assets for which this activity record has been created.
  Documents
All documents for which this activity record has been created.

Inherited from IEC61970.Core.IdentifiedObject'.IdentifiedObject: ModelingAuthoritySet

Inherited from object: __class__

Method Details [hide private]

__init__(self, reason='', createdDateTime='', severity='', category='', Documents=None, Assets=None, status=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'ActivityRecord' instance.

Parameters:
  • reason - Reason for event resulting in this activity record, typically supplied when user initiated.
  • createdDateTime - Date and time this activity record has been created (different from the 'status.dateTime', which is the time of a status change of the associated object, if applicable).
  • severity - Severity level of event resulting in this activity record.
  • category - Category of event resulting in this activity record.
  • Documents - All documents for which this activity record has been created.
  • Assets - All assets for which this activity record has been created.
  • status - Information on consequence of event resulting in this activity record.
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'category': <type 'str'>,
 'createdDateTime': <type 'str'>,
 'reason': <type 'str'>,
 'severity': <type 'str'>}

_defaults

Value:
{'category': '', 'createdDateTime': '', 'reason': '', 'severity': ''}

Property Details [hide private]

Assets

All assets for which this activity record has been created.

Get Method:
getAssets(self) - All assets for which this activity record has been created.
Set Method:
setAssets(self, value)

Documents

All documents for which this activity record has been created.

Get Method:
getDocuments(self) - All documents for which this activity record has been created.
Set Method:
setDocuments(self, value)