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.
27083 27084 27085 27086 |
# File 'lib/BuildingSync.rb', line 27083 def initialize(*arg) super @__xmlattr = {} end |
Instance Method Details
#__xmlattr ⇒ Object
27039 27040 27041 |
# File 'lib/BuildingSync.rb', line 27039 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_meterIdRef ⇒ Object
27075 27076 27077 |
# File 'lib/BuildingSync.rb', line 27075 def xmlattr_meterIdRef __xmlattr[AttrMeterIdRef] end |
#xmlattr_meterIdRef=(value) ⇒ Object
27079 27080 27081 |
# File 'lib/BuildingSync.rb', line 27079 def xmlattr_meterIdRef=(value) __xmlattr[AttrMeterIdRef] = value end |
#xmlattr_resourceType ⇒ Object
27067 27068 27069 |
# File 'lib/BuildingSync.rb', line 27067 def xmlattr_resourceType __xmlattr[AttrResourceType] end |
#xmlattr_resourceType=(value) ⇒ Object
27071 27072 27073 |
# File 'lib/BuildingSync.rb', line 27071 def xmlattr_resourceType=(value) __xmlattr[AttrResourceType] = value end |
#xmlattr_timePeriod ⇒ Object
27059 27060 27061 |
# File 'lib/BuildingSync.rb', line 27059 def xmlattr_timePeriod __xmlattr[AttrTimePeriod] end |
#xmlattr_timePeriod=(value) ⇒ Object
27063 27064 27065 |
# File 'lib/BuildingSync.rb', line 27063 def xmlattr_timePeriod=(value) __xmlattr[AttrTimePeriod] = value end |
#xmlattr_unit ⇒ Object
27043 27044 27045 |
# File 'lib/BuildingSync.rb', line 27043 def xmlattr_unit __xmlattr[AttrUnit] end |
#xmlattr_unit=(value) ⇒ Object
27047 27048 27049 |
# File 'lib/BuildingSync.rb', line 27047 def xmlattr_unit=(value) __xmlattr[AttrUnit] = value end |
#xmlattr_valueType ⇒ Object
27051 27052 27053 |
# File 'lib/BuildingSync.rb', line 27051 def xmlattr_valueType __xmlattr[AttrValueType] end |
#xmlattr_valueType=(value) ⇒ Object
27055 27056 27057 |
# File 'lib/BuildingSync.rb', line 27055 def xmlattr_valueType=(value) __xmlattr[AttrValueType] = value end |