Class: BuildingSync::BuildingStorey

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

Overview

http://www.gbxml.org/schemaBuildingStorey

name - SOAP::SOAPString
level - BuildingSync::Level
planarGeometry - BuildingSync::PlanarGeometry
xmlattr_id - SOAP::SOAPID
xmlattr_ifcGUID - SOAP::SOAPString

Constant Summary collapse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = [], level = [], planarGeometry = []) ⇒ BuildingStorey

Returns a new instance of BuildingStorey.



25204
25205
25206
25207
25208
25209
# File 'lib/BuildingSync.rb', line 25204

def initialize(name = [], level = [], planarGeometry = [])
  @name = name
  @level = level
  @planarGeometry = planarGeometry
  @__xmlattr = {}
end

Instance Attribute Details

#levelObject

Returns the value of attribute level.



25181
25182
25183
# File 'lib/BuildingSync.rb', line 25181

def level
  @level
end

#nameObject

Returns the value of attribute name.



25180
25181
25182
# File 'lib/BuildingSync.rb', line 25180

def name
  @name
end

#planarGeometryObject

Returns the value of attribute planarGeometry.



25182
25183
25184
# File 'lib/BuildingSync.rb', line 25182

def planarGeometry
  @planarGeometry
end

Instance Method Details

#__xmlattrObject



25184
25185
25186
# File 'lib/BuildingSync.rb', line 25184

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



25188
25189
25190
# File 'lib/BuildingSync.rb', line 25188

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



25192
25193
25194
# File 'lib/BuildingSync.rb', line 25192

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

#xmlattr_ifcGUIDObject



25196
25197
25198
# File 'lib/BuildingSync.rb', line 25196

def xmlattr_ifcGUID
  __xmlattr[AttrIfcGUID]
end

#xmlattr_ifcGUID=(value) ⇒ Object



25200
25201
25202
# File 'lib/BuildingSync.rb', line 25200

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