Class: BuildingSync::Cost

Inherits:
Object
  • Object
show all
Defined in:
lib/BuildingSync.rb

Overview

http://www.gbxml.org/schemaCost

costValue - BuildingSync::CostValue
reference - SOAP::SOAPString
xmlattr_costType - SOAP::SOAPNMTOKEN

Constant Summary collapse

AttrCostType =
XSD::QName.new(nil, "costType")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(costValue = [], reference = []) ⇒ Cost

Returns a new instance of Cost.



26397
26398
26399
26400
26401
# File 'lib/BuildingSync.rb', line 26397

def initialize(costValue = [], reference = [])
  @costValue = costValue
  @reference = reference
  @__xmlattr = {}
end

Instance Attribute Details

#costValueObject

Returns the value of attribute costValue.



26382
26383
26384
# File 'lib/BuildingSync.rb', line 26382

def costValue
  @costValue
end

#referenceObject

Returns the value of attribute reference.



26383
26384
26385
# File 'lib/BuildingSync.rb', line 26383

def reference
  @reference
end

Instance Method Details

#__xmlattrObject



26385
26386
26387
# File 'lib/BuildingSync.rb', line 26385

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_costTypeObject



26389
26390
26391
# File 'lib/BuildingSync.rb', line 26389

def xmlattr_costType
  __xmlattr[AttrCostType]
end

#xmlattr_costType=(value) ⇒ Object



26393
26394
26395
# File 'lib/BuildingSync.rb', line 26393

def xmlattr_costType=(value)
  __xmlattr[AttrCostType] = value
end