Class: BuildingSync::Energy

Inherits:
String
  • Object
show all
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

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

#__xmlattrObject



27564
27565
27566
# File 'lib/BuildingSync.rb', line 27564

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_meterIdRefObject



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_resourceTypeObject



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_timePeriodObject



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_unitObject



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_valueTypeObject



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