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.



25872
25873
25874
25875
25876
# File 'lib/BuildingSync.rb', line 25872

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

Instance Attribute Details

#costValueObject

Returns the value of attribute costValue.



25857
25858
25859
# File 'lib/BuildingSync.rb', line 25857

def costValue
  @costValue
end

#referenceObject

Returns the value of attribute reference.



25858
25859
25860
# File 'lib/BuildingSync.rb', line 25858

def reference
  @reference
end

Instance Method Details

#__xmlattrObject



25860
25861
25862
# File 'lib/BuildingSync.rb', line 25860

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_costTypeObject



25864
25865
25866
# File 'lib/BuildingSync.rb', line 25864

def xmlattr_costType
  __xmlattr[AttrCostType]
end

#xmlattr_costType=(value) ⇒ Object



25868
25869
25870
# File 'lib/BuildingSync.rb', line 25868

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