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

Class CostType

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

A categorization for resources, often costs, in accounting transactions. Examples include: material components, building in service, coal sales, overhead, etc.A categorization for resources, often costs, in accounting transactions. Examples include: material components, building in service, coal sales, overhead, etc.

Instance Methods [hide private]
 
__init__(self, stage='', code='', level='', amountAssignable=False, ErpJournalEntries=None, ParentCostType=None, ChildCostTypes=None, WorkCostDetails=None, CompatibleUnits=None, status=None, *args, **kw_args)
Initialises a new 'CostType' instance.
 
addChildCostTypes(self, *ChildCostTypes)
 
addCompatibleUnits(self, *CompatibleUnits)
 
addErpJournalEntries(self, *ErpJournalEntries)
 
addWorkCostDetails(self, *WorkCostDetails)
 
getChildCostTypes(self)
 
getCompatibleUnits(self)
 
getErpJournalEntries(self)
 
getParentCostType(self)
 
getWorkCostDetails(self)
 
removeChildCostTypes(self, *ChildCostTypes)
 
removeCompatibleUnits(self, *CompatibleUnits)
 
removeErpJournalEntries(self, *ErpJournalEntries)
 
removeWorkCostDetails(self, *WorkCostDetails)
 
setChildCostTypes(self, value)
 
setCompatibleUnits(self, value)
 
setErpJournalEntries(self, value)
 
setParentCostType(self, value)
 
setWorkCostDetails(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 = {'amountAssignable': <type 'bool'>, 'code': <typ...
  _attrs = ['stage', 'code', 'level', 'amountAssignable']
  _defaults = {'amountAssignable': False, 'code': '', 'level': '...
  _many_refs = ['ErpJournalEntries', 'ChildCostTypes', 'WorkCost...
  _refs = ['ErpJournalEntries', 'ParentCostType', 'ChildCostType...
  status = None

Inherited from Element'.Element (private): _enums

Properties [hide private]
  ChildCostTypes
  CompatibleUnits
  ErpJournalEntries
  ParentCostType
  WorkCostDetails

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

Inherited from object: __class__

Method Details [hide private]

__init__(self, stage='', code='', level='', amountAssignable=False, ErpJournalEntries=None, ParentCostType=None, ChildCostTypes=None, WorkCostDetails=None, CompatibleUnits=None, status=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'CostType' instance.

Parameters:
  • stage - The stage for which this costType applies: estimated design, estimated actual or actual actual.
  • code - A codified representation of the resource element.
  • level - The level of the resource element in the hierarchy of resource elements (recursive relationship).
  • amountAssignable - True if an amount can be assigned to the resource element (e.g., building in service, transmission plant, software development capital); false otherwise (e.g., internal labor, material components).
  • ErpJournalEntries
  • ParentCostType
  • ChildCostTypes
  • WorkCostDetails
  • CompatibleUnits
  • status
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'amountAssignable': <type 'bool'>,
 'code': <type 'str'>,
 'level': <type 'str'>,
 'stage': <type 'str'>}

_defaults

Value:
{'amountAssignable': False, 'code': '', 'level': '', 'stage': ''}

_many_refs

Value:
['ErpJournalEntries',
 'ChildCostTypes',
 'WorkCostDetails',
 'CompatibleUnits']

_refs

Value:
['ErpJournalEntries',
 'ParentCostType',
 'ChildCostTypes',
 'WorkCostDetails',
 'CompatibleUnits',
 'status']

Property Details [hide private]

ChildCostTypes

Get Method:
getChildCostTypes(self)
Set Method:
setChildCostTypes(self, value)

CompatibleUnits

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

ErpJournalEntries

Get Method:
getErpJournalEntries(self)
Set Method:
setErpJournalEntries(self, value)

ParentCostType

Get Method:
getParentCostType(self)
Set Method:
setParentCostType(self, value)

WorkCostDetails

Get Method:
getWorkCostDetails(self)
Set Method:
setWorkCostDetails(self, value)