Package CIM15 :: 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.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, severity='', createdDateTime='', reason='', category='', ErpPersons=None, Organisations=None, Documents=None, Assets=None, status=None, ScheduledEvent=None, *args, **kw_args)
Initialises a new 'ActivityRecord' instance.
 
addAssets(self, *Assets)
 
addDocuments(self, *Documents)
 
addErpPersons(self, *ErpPersons)
 
addOrganisations(self, *Organisations)
 
getAssets(self)
All assets for which this activity record has been created.
 
getDocuments(self)
All documents for which this activity record has been created.
 
getErpPersons(self)
 
getOrganisations(self)
 
getScheduledEvent(self)
 
removeAssets(self, *Assets)
 
removeDocuments(self, *Documents)
 
removeErpPersons(self, *ErpPersons)
 
removeOrganisations(self, *Organisations)
 
setAssets(self, value)
 
setDocuments(self, value)
 
setErpPersons(self, value)
 
setOrganisations(self, value)
 
setScheduledEvent(self, value)

Inherited from IEC61970.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'>, 'createdDateTime': <t...
  _attrs = ['severity', 'createdDateTime', 'reason', 'category']
  _defaults = {'category': '', 'createdDateTime': '', 'reason': ...
  _many_refs = ['ErpPersons', 'Organisations', 'Documents', 'Ass...
  _refs = ['ErpPersons', 'Organisations', 'Documents', 'Assets',...
  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.
  ErpPersons
  Organisations
  ScheduledEvent

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

Inherited from object: __class__

Method Details [hide private]

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

 

Initialises a new 'ActivityRecord' instance.

Parameters:
  • severity - Severity level of event resulting in this activity record.
  • 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).
  • reason - Reason for event resulting in this activity record, typically supplied when user initiated.
  • category - Category of event resulting in this activity record.
  • ErpPersons
  • Organisations
  • 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.
  • ScheduledEvent
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': ''}

_many_refs

Value:
['ErpPersons', 'Organisations', 'Documents', 'Assets']

_refs

Value:
['ErpPersons',
 'Organisations',
 'Documents',
 'Assets',
 'status',
 'ScheduledEvent']

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)

ErpPersons

Get Method:
getErpPersons(self)
Set Method:
setErpPersons(self, value)

Organisations

Get Method:
getOrganisations(self)
Set Method:
setOrganisations(self, value)

ScheduledEvent

Get Method:
getScheduledEvent(self)
Set Method:
setScheduledEvent(self, value)