Class: BuildingSync::IndependentVariable
- Inherits:
-
Object
- Object
- BuildingSync::IndependentVariable
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaIndependentVariable
name - SOAP::SOAPString
description - SOAP::SOAPString
xmlattr_unit - SOAP::SOAPString
xmlattr_dataType - SOAP::SOAPString
Constant Summary collapse
- AttrDataType =
XSD::QName.new(nil, "dataType")
- AttrUnit =
XSD::QName.new(nil, "unit")
Instance Attribute Summary collapse
-
#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 = []) ⇒ IndependentVariable
constructor
A new instance of IndependentVariable.
- #xmlattr_dataType ⇒ Object
- #xmlattr_dataType=(value) ⇒ Object
- #xmlattr_unit ⇒ Object
- #xmlattr_unit=(value) ⇒ Object
Constructor Details
#initialize(name = [], description = []) ⇒ IndependentVariable
Returns a new instance of IndependentVariable.
29084 29085 29086 29087 29088 |
# File 'lib/BuildingSync.rb', line 29084 def initialize(name = [], description = []) @name = name @description = description @__xmlattr = {} end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
29062 29063 29064 |
# File 'lib/BuildingSync.rb', line 29062 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
29061 29062 29063 |
# File 'lib/BuildingSync.rb', line 29061 def name @name end |
Instance Method Details
#__xmlattr ⇒ Object
29064 29065 29066 |
# File 'lib/BuildingSync.rb', line 29064 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_dataType ⇒ Object
29076 29077 29078 |
# File 'lib/BuildingSync.rb', line 29076 def xmlattr_dataType __xmlattr[AttrDataType] end |
#xmlattr_dataType=(value) ⇒ Object
29080 29081 29082 |
# File 'lib/BuildingSync.rb', line 29080 def xmlattr_dataType=(value) __xmlattr[AttrDataType] = value end |
#xmlattr_unit ⇒ Object
29068 29069 29070 |
# File 'lib/BuildingSync.rb', line 29068 def xmlattr_unit __xmlattr[AttrUnit] end |
#xmlattr_unit=(value) ⇒ Object
29072 29073 29074 |
# File 'lib/BuildingSync.rb', line 29072 def xmlattr_unit=(value) __xmlattr[AttrUnit] = value end |