Class: BuildingSync::ShellGeometry
- Inherits:
-
Object
- Object
- BuildingSync::ShellGeometry
- 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
-
#closedShell ⇒ Object
Returns the value of attribute closedShell.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(name = [], description = [], closedShell = []) ⇒ ShellGeometry
constructor
A new instance of ShellGeometry.
- #xmlattr_id ⇒ Object
- #xmlattr_id=(value) ⇒ Object
- #xmlattr_unit ⇒ Object
- #xmlattr_unit=(value) ⇒ Object
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
#closedShell ⇒ Object
Returns the value of attribute closedShell.
31653 31654 31655 |
# File 'lib/BuildingSync.rb', line 31653 def closedShell @closedShell end |
#description ⇒ Object
Returns the value of attribute description.
31652 31653 31654 |
# File 'lib/BuildingSync.rb', line 31652 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
31651 31652 31653 |
# File 'lib/BuildingSync.rb', line 31651 def name @name end |
Instance Method Details
#__xmlattr ⇒ Object
31655 31656 31657 |
# File 'lib/BuildingSync.rb', line 31655 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_id ⇒ Object
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_unit ⇒ Object
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 |