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

Class UserAttribute

      object --+    
               |    
Element'.Element --+
                   |
                  UserAttribute

Generic name-value pair class, with optional sequence number and units for value; can be used to model parts of information exchange when concrete types are not known in advance.

Instance Methods [hide private]
 
__init__(self, value='', sequenceNumber=0, name='', PropertyAssets=None, Transaction=None, RatingAssets=None, *args, **kw_args)
Initialises a new 'UserAttribute' instance.
 
addPropertyAssets(self, *PropertyAssets)
 
addRatingAssets(self, *RatingAssets)
 
getPropertyAssets(self)
 
getRatingAssets(self)
 
getTransaction(self)
Transaction for which this snapshot has been recorded.
 
removePropertyAssets(self, *PropertyAssets)
 
removeRatingAssets(self, *RatingAssets)
 
setPropertyAssets(self, value)
 
setRatingAssets(self, value)
 
setTransaction(self, value)

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

Class Variables [hide private]
  _attr_types = {'name': <type 'str'>, 'sequenceNumber': <type '...
  _attrs = ['value', 'sequenceNumber', 'name']
  _defaults = {'name': '', 'sequenceNumber': 0, 'value': ''}
  _many_refs = ['PropertyAssets', 'RatingAssets']
  _refs = ['PropertyAssets', 'Transaction', 'RatingAssets']

Inherited from Element'.Element (private): _enums

Properties [hide private]
  PropertyAssets
  RatingAssets
  Transaction
Transaction for which this snapshot has been recorded.

Inherited from object: __class__

Method Details [hide private]

__init__(self, value='', sequenceNumber=0, name='', PropertyAssets=None, Transaction=None, RatingAssets=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'UserAttribute' instance.

Parameters:
  • value - Value of an attribute, including unit information.
  • sequenceNumber - Sequence number for this attribute in a list of attributes.
  • name - Name of an attribute.
  • PropertyAssets
  • Transaction - Transaction for which this snapshot has been recorded.
  • RatingAssets
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'name': <type 'str'>,
 'sequenceNumber': <type 'int'>,
 'value': <type 'str'>}

Property Details [hide private]

PropertyAssets

Get Method:
getPropertyAssets(self)
Set Method:
setPropertyAssets(self, value)

RatingAssets

Get Method:
getRatingAssets(self)
Set Method:
setRatingAssets(self, value)

Transaction

Transaction for which this snapshot has been recorded.

Get Method:
getTransaction(self) - Transaction for which this snapshot has been recorded.
Set Method:
setTransaction(self, value)