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

Class MiscCostItem

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

Various cost items that are not associated with compatible units. Examples include rental equipment, labor, materials, contractor costs, permits - anything not covered in a CU.Various cost items that are not associated with compatible units. Examples include rental equipment, labor, materials, contractor costs, permits - anything not covered in a CU.

Instance Methods [hide private]
 
__init__(self, quantity='', costPerUnit=0.0, externalRefID='', account='', costType='', DesignLocation=None, status=None, WorkTask=None, WorkCostDetail=None, *args, **kw_args)
Initialises a new 'MiscCostItem' instance.
 
getDesignLocation(self)
 
getWorkCostDetail(self)
 
getWorkTask(self)
 
setDesignLocation(self, value)
 
setWorkCostDetail(self, value)
 
setWorkTask(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 = {'account': <type 'str'>, 'costPerUnit': <type '...
  _attrs = ['quantity', 'costPerUnit', 'externalRefID', 'account...
  _defaults = {'account': '', 'costPerUnit': 0.0, 'costType': ''...
  _many_refs = []
  _refs = ['DesignLocation', 'status', 'WorkTask', 'WorkCostDeta...
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  DesignLocation
  WorkCostDetail
  WorkTask

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, quantity='', costPerUnit=0.0, externalRefID='', account='', costType='', DesignLocation=None, status=None, WorkTask=None, WorkCostDetail=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'MiscCostItem' instance.

Parameters:
  • quantity - The quantity of the misc. item being assigned to this location.
  • costPerUnit - The cost per unit for this misc. item.
  • externalRefID - External Reference ID (e.g. PO#, Serial #)
  • account - This drives the accounting treatment for this misc. item.
  • costType - The cost category for accounting, such as material, labor, vehicle, contractor, equipment, overhead.
  • DesignLocation
  • status
  • WorkTask
  • WorkCostDetail
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'account': <type 'str'>,
 'costPerUnit': <type 'float'>,
 'costType': <type 'str'>,
 'externalRefID': <type 'str'>,
 'quantity': <type 'str'>}

_attrs

Value:
['quantity', 'costPerUnit', 'externalRefID', 'account', 'costType']

_defaults

Value:
{'account': '',
 'costPerUnit': 0.0,
 'costType': '',
 'externalRefID': '',
 'quantity': ''}

_refs

Value:
['DesignLocation', 'status', 'WorkTask', 'WorkCostDetail']

Property Details [hide private]

DesignLocation

Get Method:
getDesignLocation(self)
Set Method:
setDesignLocation(self, value)

WorkCostDetail

Get Method:
getWorkCostDetail(self)
Set Method:
setWorkCostDetail(self, value)

WorkTask

Get Method:
getWorkTask(self)
Set Method:
setWorkTask(self, value)