Class: BuildingSync::Building

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

Overview

http://www.gbxml.org/schemaBuilding

name - SOAP::SOAPString
description - SOAP::SOAPString
streetAddress - SOAP::SOAPString
area - BuildingSync::Area
space - BuildingSync::Space
averageNumberOfFloors - SOAP::SOAPDecimal
infiltrationFlow - BuildingSync::InfiltrationFlow
shellGeometry - BuildingSync::ShellGeometry
spaceBoundary - BuildingSync::SpaceBoundary
lighting - BuildingSync::Lighting
intEquipId - BuildingSync::IntEquipId
meterId - BuildingSync::MeterId
peakDomesticHotWaterFlow - BuildingSync::PeakDomesticHotWaterFlow
buildingStorey - BuildingSync::BuildingStorey
xmlattr_id - SOAP::SOAPID
xmlattr_buildingType - SOAP::SOAPNMTOKEN
xmlattr_ifcGUID - SOAP::SOAPString

Constant Summary collapse

AttrBuildingType =
XSD::QName.new(nil, "buildingType")
AttrId =
XSD::QName.new(nil, "id")
AttrIfcGUID =
XSD::QName.new(nil, "ifcGUID")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = [], description = [], streetAddress = [], area = [], space = [], averageNumberOfFloors = [], infiltrationFlow = [], shellGeometry = [], spaceBoundary = [], lighting = [], intEquipId = [], meterId = [], peakDomesticHotWaterFlow = [], buildingStorey = []) ⇒ Building

Returns a new instance of Building.



25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
# File 'lib/BuildingSync.rb', line 25676

def initialize(name = [], description = [], streetAddress = [], area = [], space = [], averageNumberOfFloors = [], infiltrationFlow = [], shellGeometry = [], spaceBoundary = [], lighting = [], intEquipId = [], meterId = [], peakDomesticHotWaterFlow = [], buildingStorey = [])
  @name = name
  @description = description
  @streetAddress = streetAddress
  @area = area
  @space = space
  @averageNumberOfFloors = averageNumberOfFloors
  @infiltrationFlow = infiltrationFlow
  @shellGeometry = shellGeometry
  @spaceBoundary = spaceBoundary
  @lighting = lighting
  @intEquipId = intEquipId
  @meterId = meterId
  @peakDomesticHotWaterFlow = peakDomesticHotWaterFlow
  @buildingStorey = buildingStorey
  @__xmlattr = {}
end

Instance Attribute Details

#areaObject

Returns the value of attribute area.



25636
25637
25638
# File 'lib/BuildingSync.rb', line 25636

def area
  @area
end

#averageNumberOfFloorsObject

Returns the value of attribute averageNumberOfFloors.



25638
25639
25640
# File 'lib/BuildingSync.rb', line 25638

def averageNumberOfFloors
  @averageNumberOfFloors
end

#buildingStoreyObject

Returns the value of attribute buildingStorey.



25646
25647
25648
# File 'lib/BuildingSync.rb', line 25646

def buildingStorey
  @buildingStorey
end

#descriptionObject

Returns the value of attribute description.



25634
25635
25636
# File 'lib/BuildingSync.rb', line 25634

def description
  @description
end

#infiltrationFlowObject

Returns the value of attribute infiltrationFlow.



25639
25640
25641
# File 'lib/BuildingSync.rb', line 25639

def infiltrationFlow
  @infiltrationFlow
end

#intEquipIdObject

Returns the value of attribute intEquipId.



25643
25644
25645
# File 'lib/BuildingSync.rb', line 25643

def intEquipId
  @intEquipId
end

#lightingObject

Returns the value of attribute lighting.



25642
25643
25644
# File 'lib/BuildingSync.rb', line 25642

def lighting
  @lighting
end

#meterIdObject

Returns the value of attribute meterId.



25644
25645
25646
# File 'lib/BuildingSync.rb', line 25644

def meterId
  @meterId
end

#nameObject

Returns the value of attribute name.



25633
25634
25635
# File 'lib/BuildingSync.rb', line 25633

def name
  @name
end

#peakDomesticHotWaterFlowObject

Returns the value of attribute peakDomesticHotWaterFlow.



25645
25646
25647
# File 'lib/BuildingSync.rb', line 25645

def peakDomesticHotWaterFlow
  @peakDomesticHotWaterFlow
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



25640
25641
25642
# File 'lib/BuildingSync.rb', line 25640

def shellGeometry
  @shellGeometry
end

#spaceObject

Returns the value of attribute space.



25637
25638
25639
# File 'lib/BuildingSync.rb', line 25637

def space
  @space
end

#spaceBoundaryObject

Returns the value of attribute spaceBoundary.



25641
25642
25643
# File 'lib/BuildingSync.rb', line 25641

def spaceBoundary
  @spaceBoundary
end

#streetAddressObject

Returns the value of attribute streetAddress.



25635
25636
25637
# File 'lib/BuildingSync.rb', line 25635

def streetAddress
  @streetAddress
end

Instance Method Details

#__xmlattrObject



25648
25649
25650
# File 'lib/BuildingSync.rb', line 25648

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_buildingTypeObject



25660
25661
25662
# File 'lib/BuildingSync.rb', line 25660

def xmlattr_buildingType
  __xmlattr[AttrBuildingType]
end

#xmlattr_buildingType=(value) ⇒ Object



25664
25665
25666
# File 'lib/BuildingSync.rb', line 25664

def xmlattr_buildingType=(value)
  __xmlattr[AttrBuildingType] = value
end

#xmlattr_idObject



25652
25653
25654
# File 'lib/BuildingSync.rb', line 25652

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



25656
25657
25658
# File 'lib/BuildingSync.rb', line 25656

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

#xmlattr_ifcGUIDObject



25668
25669
25670
# File 'lib/BuildingSync.rb', line 25668

def xmlattr_ifcGUID
  __xmlattr[AttrIfcGUID]
end

#xmlattr_ifcGUID=(value) ⇒ Object



25672
25673
25674
# File 'lib/BuildingSync.rb', line 25672

def xmlattr_ifcGUID=(value)
  __xmlattr[AttrIfcGUID] = value
end