Class: BuildingSync::DependentVariable
- Inherits:
-
Object
- Object
- BuildingSync::DependentVariable
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaDependentVariable
name - SOAP::SOAPString
description - SOAP::SOAPString
xmlattr_unit - SOAP::SOAPString
xmlattr_dataType - SOAP::SOAPString
xmlattr_minValue - SOAP::SOAPDecimal
xmlattr_maxValue - SOAP::SOAPDecimal
Constant Summary collapse
- AttrDataType =
XSD::QName.new(nil, "dataType")
- AttrMaxValue =
XSD::QName.new(nil, "maxValue")
- AttrMinValue =
XSD::QName.new(nil, "minValue")
- 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 = []) ⇒ DependentVariable
constructor
A new instance of DependentVariable.
- #xmlattr_dataType ⇒ Object
- #xmlattr_dataType=(value) ⇒ Object
- #xmlattr_maxValue ⇒ Object
- #xmlattr_maxValue=(value) ⇒ Object
- #xmlattr_minValue ⇒ Object
- #xmlattr_minValue=(value) ⇒ Object
- #xmlattr_unit ⇒ Object
- #xmlattr_unit=(value) ⇒ Object
Constructor Details
#initialize(name = [], description = []) ⇒ DependentVariable
Returns a new instance of DependentVariable.
27165 27166 27167 27168 27169 |
# File 'lib/BuildingSync.rb', line 27165 def initialize(name = [], description = []) @name = name @description = description @__xmlattr = {} end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
27127 27128 27129 |
# File 'lib/BuildingSync.rb', line 27127 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
27126 27127 27128 |
# File 'lib/BuildingSync.rb', line 27126 def name @name end |
Instance Method Details
#__xmlattr ⇒ Object
27129 27130 27131 |
# File 'lib/BuildingSync.rb', line 27129 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_dataType ⇒ Object
27141 27142 27143 |
# File 'lib/BuildingSync.rb', line 27141 def xmlattr_dataType __xmlattr[AttrDataType] end |
#xmlattr_dataType=(value) ⇒ Object
27145 27146 27147 |
# File 'lib/BuildingSync.rb', line 27145 def xmlattr_dataType=(value) __xmlattr[AttrDataType] = value end |
#xmlattr_maxValue ⇒ Object
27157 27158 27159 |
# File 'lib/BuildingSync.rb', line 27157 def xmlattr_maxValue __xmlattr[AttrMaxValue] end |
#xmlattr_maxValue=(value) ⇒ Object
27161 27162 27163 |
# File 'lib/BuildingSync.rb', line 27161 def xmlattr_maxValue=(value) __xmlattr[AttrMaxValue] = value end |
#xmlattr_minValue ⇒ Object
27149 27150 27151 |
# File 'lib/BuildingSync.rb', line 27149 def xmlattr_minValue __xmlattr[AttrMinValue] end |
#xmlattr_minValue=(value) ⇒ Object
27153 27154 27155 |
# File 'lib/BuildingSync.rb', line 27153 def xmlattr_minValue=(value) __xmlattr[AttrMinValue] = value end |
#xmlattr_unit ⇒ Object
27133 27134 27135 |
# File 'lib/BuildingSync.rb', line 27133 def xmlattr_unit __xmlattr[AttrUnit] end |
#xmlattr_unit=(value) ⇒ Object
27137 27138 27139 |
# File 'lib/BuildingSync.rb', line 27137 def xmlattr_unit=(value) __xmlattr[AttrUnit] = value end |