Class: BuildingSync::Vegetation
- Inherits:
-
Object
- Object
- BuildingSync::Vegetation
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaVegetation
generalGeometry - BuildingSync::GeneralGeometry
shellGeometry - BuildingSync::ShellGeometry
waterRate - BuildingSync::WaterRate
biomassDensity - BuildingSync::BiomassDensity
cost - BuildingSync::Cost
xmlattr_id - SOAP::SOAPID
xmlattr_vegetationType - SOAP::SOAPNMTOKEN
xmlattr_waterScheduleIdRef - SOAP::SOAPIDREF
xmlattr_waterMeterIdRef - SOAP::SOAPIDREF
xmlattr_shadeScheduleIdRef - SOAP::SOAPIDREF
xmlattr_programId - SOAP::SOAPIDREF
Constant Summary collapse
- AttrId =
XSD::QName.new(nil, "id")
- AttrProgramId =
XSD::QName.new(nil, "programId")
- AttrShadeScheduleIdRef =
XSD::QName.new(nil, "shadeScheduleIdRef")
- AttrVegetationType =
XSD::QName.new(nil, "vegetationType")
- AttrWaterMeterIdRef =
XSD::QName.new(nil, "waterMeterIdRef")
- AttrWaterScheduleIdRef =
XSD::QName.new(nil, "waterScheduleIdRef")
Instance Attribute Summary collapse
-
#biomassDensity ⇒ Object
Returns the value of attribute biomassDensity.
-
#cost ⇒ Object
Returns the value of attribute cost.
-
#generalGeometry ⇒ Object
Returns the value of attribute generalGeometry.
-
#shellGeometry ⇒ Object
Returns the value of attribute shellGeometry.
-
#waterRate ⇒ Object
Returns the value of attribute waterRate.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(generalGeometry = [], shellGeometry = [], waterRate = [], biomassDensity = [], cost = []) ⇒ Vegetation
constructor
A new instance of Vegetation.
- #xmlattr_id ⇒ Object
- #xmlattr_id=(value) ⇒ Object
- #xmlattr_programId ⇒ Object
- #xmlattr_programId=(value) ⇒ Object
- #xmlattr_shadeScheduleIdRef ⇒ Object
- #xmlattr_shadeScheduleIdRef=(value) ⇒ Object
- #xmlattr_vegetationType ⇒ Object
- #xmlattr_vegetationType=(value) ⇒ Object
- #xmlattr_waterMeterIdRef ⇒ Object
- #xmlattr_waterMeterIdRef=(value) ⇒ Object
- #xmlattr_waterScheduleIdRef ⇒ Object
- #xmlattr_waterScheduleIdRef=(value) ⇒ Object
Constructor Details
#initialize(generalGeometry = [], shellGeometry = [], waterRate = [], biomassDensity = [], cost = []) ⇒ Vegetation
Returns a new instance of Vegetation.
32547 32548 32549 32550 32551 32552 32553 32554 |
# File 'lib/BuildingSync.rb', line 32547 def initialize(generalGeometry = [], shellGeometry = [], waterRate = [], biomassDensity = [], cost = []) @generalGeometry = generalGeometry @shellGeometry = shellGeometry @waterRate = waterRate @biomassDensity = biomassDensity @cost = cost @__xmlattr = {} end |
Instance Attribute Details
#biomassDensity ⇒ Object
Returns the value of attribute biomassDensity.
32492 32493 32494 |
# File 'lib/BuildingSync.rb', line 32492 def biomassDensity @biomassDensity end |
#cost ⇒ Object
Returns the value of attribute cost.
32493 32494 32495 |
# File 'lib/BuildingSync.rb', line 32493 def cost @cost end |
#generalGeometry ⇒ Object
Returns the value of attribute generalGeometry.
32489 32490 32491 |
# File 'lib/BuildingSync.rb', line 32489 def generalGeometry @generalGeometry end |
#shellGeometry ⇒ Object
Returns the value of attribute shellGeometry.
32490 32491 32492 |
# File 'lib/BuildingSync.rb', line 32490 def shellGeometry @shellGeometry end |
#waterRate ⇒ Object
Returns the value of attribute waterRate.
32491 32492 32493 |
# File 'lib/BuildingSync.rb', line 32491 def waterRate @waterRate end |
Instance Method Details
#__xmlattr ⇒ Object
32495 32496 32497 |
# File 'lib/BuildingSync.rb', line 32495 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_id ⇒ Object
32499 32500 32501 |
# File 'lib/BuildingSync.rb', line 32499 def xmlattr_id __xmlattr[AttrId] end |
#xmlattr_id=(value) ⇒ Object
32503 32504 32505 |
# File 'lib/BuildingSync.rb', line 32503 def xmlattr_id=(value) __xmlattr[AttrId] = value end |
#xmlattr_programId ⇒ Object
32539 32540 32541 |
# File 'lib/BuildingSync.rb', line 32539 def xmlattr_programId __xmlattr[AttrProgramId] end |
#xmlattr_programId=(value) ⇒ Object
32543 32544 32545 |
# File 'lib/BuildingSync.rb', line 32543 def xmlattr_programId=(value) __xmlattr[AttrProgramId] = value end |
#xmlattr_shadeScheduleIdRef ⇒ Object
32531 32532 32533 |
# File 'lib/BuildingSync.rb', line 32531 def xmlattr_shadeScheduleIdRef __xmlattr[AttrShadeScheduleIdRef] end |
#xmlattr_shadeScheduleIdRef=(value) ⇒ Object
32535 32536 32537 |
# File 'lib/BuildingSync.rb', line 32535 def xmlattr_shadeScheduleIdRef=(value) __xmlattr[AttrShadeScheduleIdRef] = value end |
#xmlattr_vegetationType ⇒ Object
32507 32508 32509 |
# File 'lib/BuildingSync.rb', line 32507 def xmlattr_vegetationType __xmlattr[AttrVegetationType] end |
#xmlattr_vegetationType=(value) ⇒ Object
32511 32512 32513 |
# File 'lib/BuildingSync.rb', line 32511 def xmlattr_vegetationType=(value) __xmlattr[AttrVegetationType] = value end |
#xmlattr_waterMeterIdRef ⇒ Object
32523 32524 32525 |
# File 'lib/BuildingSync.rb', line 32523 def xmlattr_waterMeterIdRef __xmlattr[AttrWaterMeterIdRef] end |
#xmlattr_waterMeterIdRef=(value) ⇒ Object
32527 32528 32529 |
# File 'lib/BuildingSync.rb', line 32527 def xmlattr_waterMeterIdRef=(value) __xmlattr[AttrWaterMeterIdRef] = value end |
#xmlattr_waterScheduleIdRef ⇒ Object
32515 32516 32517 |
# File 'lib/BuildingSync.rb', line 32515 def xmlattr_waterScheduleIdRef __xmlattr[AttrWaterScheduleIdRef] end |
#xmlattr_waterScheduleIdRef=(value) ⇒ Object
32519 32520 32521 |
# File 'lib/BuildingSync.rb', line 32519 def xmlattr_waterScheduleIdRef=(value) __xmlattr[AttrWaterScheduleIdRef] = value end |