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.



25729
25730
25731
25732
25733
25734
# File 'lib/BuildingSync.rb', line 25729

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

Instance Attribute Details

#levelObject

Returns the value of attribute level.



25706
25707
25708
# File 'lib/BuildingSync.rb', line 25706

def level
  @level
end

#nameObject

Returns the value of attribute name.



25705
25706
25707
# File 'lib/BuildingSync.rb', line 25705

def name
  @name
end

#planarGeometryObject

Returns the value of attribute planarGeometry.



25707
25708
25709
# File 'lib/BuildingSync.rb', line 25707

def planarGeometry
  @planarGeometry
end

Instance Method Details

#__xmlattrObject



25709
25710
25711
# File 'lib/BuildingSync.rb', line 25709

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



25713
25714
25715
# File 'lib/BuildingSync.rb', line 25713

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



25717
25718
25719
# File 'lib/BuildingSync.rb', line 25717

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

#xmlattr_ifcGUIDObject



25721
25722
25723
# File 'lib/BuildingSync.rb', line 25721

def xmlattr_ifcGUID
  __xmlattr[AttrIfcGUID]
end

#xmlattr_ifcGUID=(value) ⇒ Object



25725
25726
25727
# File 'lib/BuildingSync.rb', line 25725

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