Class: BuildingSync::Energy
- Inherits:
-
String
- Object
- String
- BuildingSync::Energy
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaEnergy
xmlattr_unit - SOAP::SOAPNMTOKEN
xmlattr_valueType - SOAP::SOAPNMTOKEN
xmlattr_timePeriod - SOAP::SOAPNMTOKEN
xmlattr_resourceType - SOAP::SOAPNMTOKEN
xmlattr_meterIdRef - SOAP::SOAPIDREF
Constant Summary collapse
- AttrMeterIdRef =
XSD::QName.new(nil, "meterIdRef")
- AttrResourceType =
XSD::QName.new(nil, "resourceType")
- AttrTimePeriod =
XSD::QName.new(nil, "timePeriod")
- AttrUnit =
XSD::QName.new(nil, "unit")
- AttrValueType =
XSD::QName.new(nil, "valueType")
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(*arg) ⇒ Energy
constructor
A new instance of Energy.
- #xmlattr_meterIdRef ⇒ Object
- #xmlattr_meterIdRef=(value) ⇒ Object
- #xmlattr_resourceType ⇒ Object
- #xmlattr_resourceType=(value) ⇒ Object
- #xmlattr_timePeriod ⇒ Object
- #xmlattr_timePeriod=(value) ⇒ Object
- #xmlattr_unit ⇒ Object
- #xmlattr_unit=(value) ⇒ Object
- #xmlattr_valueType ⇒ Object
- #xmlattr_valueType=(value) ⇒ Object
Constructor Details
#initialize(*arg) ⇒ Energy
Returns a new instance of Energy.
27608 27609 27610 27611 |
# File 'lib/BuildingSync.rb', line 27608 def initialize(*arg) super @__xmlattr = {} end |
Instance Method Details
#__xmlattr ⇒ Object
27564 27565 27566 |
# File 'lib/BuildingSync.rb', line 27564 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_meterIdRef ⇒ Object
27600 27601 27602 |
# File 'lib/BuildingSync.rb', line 27600 def xmlattr_meterIdRef __xmlattr[AttrMeterIdRef] end |
#xmlattr_meterIdRef=(value) ⇒ Object
27604 27605 27606 |
# File 'lib/BuildingSync.rb', line 27604 def xmlattr_meterIdRef=(value) __xmlattr[AttrMeterIdRef] = value end |
#xmlattr_resourceType ⇒ Object
27592 27593 27594 |
# File 'lib/BuildingSync.rb', line 27592 def xmlattr_resourceType __xmlattr[AttrResourceType] end |
#xmlattr_resourceType=(value) ⇒ Object
27596 27597 27598 |
# File 'lib/BuildingSync.rb', line 27596 def xmlattr_resourceType=(value) __xmlattr[AttrResourceType] = value end |
#xmlattr_timePeriod ⇒ Object
27584 27585 27586 |
# File 'lib/BuildingSync.rb', line 27584 def xmlattr_timePeriod __xmlattr[AttrTimePeriod] end |
#xmlattr_timePeriod=(value) ⇒ Object
27588 27589 27590 |
# File 'lib/BuildingSync.rb', line 27588 def xmlattr_timePeriod=(value) __xmlattr[AttrTimePeriod] = value end |
#xmlattr_unit ⇒ Object
27568 27569 27570 |
# File 'lib/BuildingSync.rb', line 27568 def xmlattr_unit __xmlattr[AttrUnit] end |
#xmlattr_unit=(value) ⇒ Object
27572 27573 27574 |
# File 'lib/BuildingSync.rb', line 27572 def xmlattr_unit=(value) __xmlattr[AttrUnit] = value end |
#xmlattr_valueType ⇒ Object
27576 27577 27578 |
# File 'lib/BuildingSync.rb', line 27576 def xmlattr_valueType __xmlattr[AttrValueType] end |
#xmlattr_valueType=(value) ⇒ Object
27580 27581 27582 |
# File 'lib/BuildingSync.rb', line 27580 def xmlattr_valueType=(value) __xmlattr[AttrValueType] = value end |