Class: BuildingSync::Vegetation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(generalGeometry = [], shellGeometry = [], waterRate = [], biomassDensity = [], cost = []) ⇒ Vegetation

Returns a new instance of Vegetation.



33072
33073
33074
33075
33076
33077
33078
33079
# File 'lib/BuildingSync.rb', line 33072

def initialize(generalGeometry = [], shellGeometry = [], waterRate = [], biomassDensity = [], cost = [])
  @generalGeometry = generalGeometry
  @shellGeometry = shellGeometry
  @waterRate = waterRate
  @biomassDensity = biomassDensity
  @cost = cost
  @__xmlattr = {}
end

Instance Attribute Details

#biomassDensityObject

Returns the value of attribute biomassDensity.



33017
33018
33019
# File 'lib/BuildingSync.rb', line 33017

def biomassDensity
  @biomassDensity
end

#costObject

Returns the value of attribute cost.



33018
33019
33020
# File 'lib/BuildingSync.rb', line 33018

def cost
  @cost
end

#generalGeometryObject

Returns the value of attribute generalGeometry.



33014
33015
33016
# File 'lib/BuildingSync.rb', line 33014

def generalGeometry
  @generalGeometry
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



33015
33016
33017
# File 'lib/BuildingSync.rb', line 33015

def shellGeometry
  @shellGeometry
end

#waterRateObject

Returns the value of attribute waterRate.



33016
33017
33018
# File 'lib/BuildingSync.rb', line 33016

def waterRate
  @waterRate
end

Instance Method Details

#__xmlattrObject



33020
33021
33022
# File 'lib/BuildingSync.rb', line 33020

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



33024
33025
33026
# File 'lib/BuildingSync.rb', line 33024

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



33028
33029
33030
# File 'lib/BuildingSync.rb', line 33028

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end

#xmlattr_programIdObject



33064
33065
33066
# File 'lib/BuildingSync.rb', line 33064

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



33068
33069
33070
# File 'lib/BuildingSync.rb', line 33068

def xmlattr_programId=(value)
  __xmlattr[AttrProgramId] = value
end

#xmlattr_shadeScheduleIdRefObject



33056
33057
33058
# File 'lib/BuildingSync.rb', line 33056

def xmlattr_shadeScheduleIdRef
  __xmlattr[AttrShadeScheduleIdRef]
end

#xmlattr_shadeScheduleIdRef=(value) ⇒ Object



33060
33061
33062
# File 'lib/BuildingSync.rb', line 33060

def xmlattr_shadeScheduleIdRef=(value)
  __xmlattr[AttrShadeScheduleIdRef] = value
end

#xmlattr_vegetationTypeObject



33032
33033
33034
# File 'lib/BuildingSync.rb', line 33032

def xmlattr_vegetationType
  __xmlattr[AttrVegetationType]
end

#xmlattr_vegetationType=(value) ⇒ Object



33036
33037
33038
# File 'lib/BuildingSync.rb', line 33036

def xmlattr_vegetationType=(value)
  __xmlattr[AttrVegetationType] = value
end

#xmlattr_waterMeterIdRefObject



33048
33049
33050
# File 'lib/BuildingSync.rb', line 33048

def xmlattr_waterMeterIdRef
  __xmlattr[AttrWaterMeterIdRef]
end

#xmlattr_waterMeterIdRef=(value) ⇒ Object



33052
33053
33054
# File 'lib/BuildingSync.rb', line 33052

def xmlattr_waterMeterIdRef=(value)
  __xmlattr[AttrWaterMeterIdRef] = value
end

#xmlattr_waterScheduleIdRefObject



33040
33041
33042
# File 'lib/BuildingSync.rb', line 33040

def xmlattr_waterScheduleIdRef
  __xmlattr[AttrWaterScheduleIdRef]
end

#xmlattr_waterScheduleIdRef=(value) ⇒ Object



33044
33045
33046
# File 'lib/BuildingSync.rb', line 33044

def xmlattr_waterScheduleIdRef=(value)
  __xmlattr[AttrWaterScheduleIdRef] = value
end