Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfWork :: Module CUMaterialItem' :: Class CUMaterialItem
[hide private]
[frames] | no frames]

Class CUMaterialItem

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         CUMaterialItem

Compatible unit of a consumable supply item. For example, nuts, bolts, brackets, glue, etc.Compatible unit of a consumable supply item. For example, nuts, bolts, brackets, glue, etc.

Instance Methods [hide private]
 
__init__(self, quantity='', corporateCode='', status=None, PropertyUnits=None, CompatibleUnits=None, TypeMaterial=None, *args, **kw_args)
Initialises a new 'CUMaterialItem' instance.
 
addCompatibleUnits(self, *CompatibleUnits)
 
addPropertyUnits(self, *PropertyUnits)
 
getCompatibleUnits(self)
 
getPropertyUnits(self)
 
getTypeMaterial(self)
 
removeCompatibleUnits(self, *CompatibleUnits)
 
removePropertyUnits(self, *PropertyUnits)
 
setCompatibleUnits(self, value)
 
setPropertyUnits(self, value)
 
setTypeMaterial(self, value)

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 = {'corporateCode': <type 'str'>, 'quantity': <typ...
  _attrs = ['quantity', 'corporateCode']
  _defaults = {'corporateCode': '', 'quantity': ''}
  _many_refs = ['PropertyUnits', 'CompatibleUnits']
  _refs = ['status', 'PropertyUnits', 'CompatibleUnits', 'TypeMa...
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  CompatibleUnits
  PropertyUnits
  TypeMaterial

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, quantity='', corporateCode='', status=None, PropertyUnits=None, CompatibleUnits=None, TypeMaterial=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'CUMaterialItem' instance.

Parameters:
  • quantity - Quantity of the TypeMaterial for this CU, used to determine estimated costs based on a per unit cost or a cost per unit length specified in the TypeMaterial.
  • corporateCode - Code for material.
  • status
  • PropertyUnits
  • CompatibleUnits
  • TypeMaterial
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'corporateCode': <type 'str'>, 'quantity': <type 'str'>}

_refs

Value:
['status', 'PropertyUnits', 'CompatibleUnits', 'TypeMaterial']

Property Details [hide private]

CompatibleUnits

Get Method:
getCompatibleUnits(self)
Set Method:
setCompatibleUnits(self, value)

PropertyUnits

Get Method:
getPropertyUnits(self)
Set Method:
setPropertyUnits(self, value)

TypeMaterial

Get Method:
getTypeMaterial(self)
Set Method:
setTypeMaterial(self, value)