Class: BuildingSync::ShellGeometry

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

Overview

http://www.gbxml.org/schemaShellGeometry

name - SOAP::SOAPString
description - SOAP::SOAPString
closedShell - BuildingSync::ClosedShell
xmlattr_id - SOAP::SOAPID
xmlattr_unit - SOAP::SOAPNMTOKEN

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrUnit =
XSD::QName.new(nil, "unit")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = [], description = [], closedShell = []) ⇒ ShellGeometry

Returns a new instance of ShellGeometry.



31675
31676
31677
31678
31679
31680
# File 'lib/BuildingSync.rb', line 31675

def initialize(name = [], description = [], closedShell = [])
  @name = name
  @description = description
  @closedShell = closedShell
  @__xmlattr = {}
end

Instance Attribute Details

#closedShellObject

Returns the value of attribute closedShell.



31653
31654
31655
# File 'lib/BuildingSync.rb', line 31653

def closedShell
  @closedShell
end

#descriptionObject

Returns the value of attribute description.



31652
31653
31654
# File 'lib/BuildingSync.rb', line 31652

def description
  @description
end

#nameObject

Returns the value of attribute name.



31651
31652
31653
# File 'lib/BuildingSync.rb', line 31651

def name
  @name
end

Instance Method Details

#__xmlattrObject



31655
31656
31657
# File 'lib/BuildingSync.rb', line 31655

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



31659
31660
31661
# File 'lib/BuildingSync.rb', line 31659

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



31663
31664
31665
# File 'lib/BuildingSync.rb', line 31663

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

#xmlattr_unitObject



31667
31668
31669
# File 'lib/BuildingSync.rb', line 31667

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



31671
31672
31673
# File 'lib/BuildingSync.rb', line 31671

def xmlattr_unit=(value)
  __xmlattr[AttrUnit] = value
end