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.



25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
# File 'lib/BuildingSync.rb', line 25151

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.



25111
25112
25113
# File 'lib/BuildingSync.rb', line 25111

def area
  @area
end

#averageNumberOfFloorsObject

Returns the value of attribute averageNumberOfFloors.



25113
25114
25115
# File 'lib/BuildingSync.rb', line 25113

def averageNumberOfFloors
  @averageNumberOfFloors
end

#buildingStoreyObject

Returns the value of attribute buildingStorey.



25121
25122
25123
# File 'lib/BuildingSync.rb', line 25121

def buildingStorey
  @buildingStorey
end

#descriptionObject

Returns the value of attribute description.



25109
25110
25111
# File 'lib/BuildingSync.rb', line 25109

def description
  @description
end

#infiltrationFlowObject

Returns the value of attribute infiltrationFlow.



25114
25115
25116
# File 'lib/BuildingSync.rb', line 25114

def infiltrationFlow
  @infiltrationFlow
end

#intEquipIdObject

Returns the value of attribute intEquipId.



25118
25119
25120
# File 'lib/BuildingSync.rb', line 25118

def intEquipId
  @intEquipId
end

#lightingObject

Returns the value of attribute lighting.



25117
25118
25119
# File 'lib/BuildingSync.rb', line 25117

def lighting
  @lighting
end

#meterIdObject

Returns the value of attribute meterId.



25119
25120
25121
# File 'lib/BuildingSync.rb', line 25119

def meterId
  @meterId
end

#nameObject

Returns the value of attribute name.



25108
25109
25110
# File 'lib/BuildingSync.rb', line 25108

def name
  @name
end

#peakDomesticHotWaterFlowObject

Returns the value of attribute peakDomesticHotWaterFlow.



25120
25121
25122
# File 'lib/BuildingSync.rb', line 25120

def peakDomesticHotWaterFlow
  @peakDomesticHotWaterFlow
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



25115
25116
25117
# File 'lib/BuildingSync.rb', line 25115

def shellGeometry
  @shellGeometry
end

#spaceObject

Returns the value of attribute space.



25112
25113
25114
# File 'lib/BuildingSync.rb', line 25112

def space
  @space
end

#spaceBoundaryObject

Returns the value of attribute spaceBoundary.



25116
25117
25118
# File 'lib/BuildingSync.rb', line 25116

def spaceBoundary
  @spaceBoundary
end

#streetAddressObject

Returns the value of attribute streetAddress.



25110
25111
25112
# File 'lib/BuildingSync.rb', line 25110

def streetAddress
  @streetAddress
end

Instance Method Details

#__xmlattrObject



25123
25124
25125
# File 'lib/BuildingSync.rb', line 25123

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_buildingTypeObject



25135
25136
25137
# File 'lib/BuildingSync.rb', line 25135

def xmlattr_buildingType
  __xmlattr[AttrBuildingType]
end

#xmlattr_buildingType=(value) ⇒ Object



25139
25140
25141
# File 'lib/BuildingSync.rb', line 25139

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

#xmlattr_idObject



25127
25128
25129
# File 'lib/BuildingSync.rb', line 25127

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



25131
25132
25133
# File 'lib/BuildingSync.rb', line 25131

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

#xmlattr_ifcGUIDObject



25143
25144
25145
# File 'lib/BuildingSync.rb', line 25143

def xmlattr_ifcGUID
  __xmlattr[AttrIfcGUID]
end

#xmlattr_ifcGUID=(value) ⇒ Object



25147
25148
25149
# File 'lib/BuildingSync.rb', line 25147

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