Class: BuildingSync::AltEnergySource

Inherits:
Object
  • Object
show all
Defined in:
lib/BuildingSync.rb

Overview

http://www.gbxml.org/schemaAltEnergySource

meterId - BuildingSync::MeterId
xmlattr_id - SOAP::SOAPID
xmlattr_altEnergyType - SOAP::SOAPNMTOKEN
xmlattr_resourceType - SOAP::SOAPNMTOKEN
xmlattr_programId - SOAP::SOAPIDREF

Constant Summary collapse

AttrAltEnergyType =
XSD::QName.new(nil, "altEnergyType")
AttrId =
XSD::QName.new(nil, "id")
AttrProgramId =
XSD::QName.new(nil, "programId")
AttrResourceType =
XSD::QName.new(nil, "resourceType")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(meterId = []) ⇒ AltEnergySource

Returns a new instance of AltEnergySource.



25469
25470
25471
25472
# File 'lib/BuildingSync.rb', line 25469

def initialize(meterId = [])
  @meterId = meterId
  @__xmlattr = {}
end

Instance Attribute Details

#meterIdObject

Returns the value of attribute meterId.



25431
25432
25433
# File 'lib/BuildingSync.rb', line 25431

def meterId
  @meterId
end

Instance Method Details

#__xmlattrObject



25433
25434
25435
# File 'lib/BuildingSync.rb', line 25433

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_altEnergyTypeObject



25445
25446
25447
# File 'lib/BuildingSync.rb', line 25445

def xmlattr_altEnergyType
  __xmlattr[AttrAltEnergyType]
end

#xmlattr_altEnergyType=(value) ⇒ Object



25449
25450
25451
# File 'lib/BuildingSync.rb', line 25449

def xmlattr_altEnergyType=(value)
  __xmlattr[AttrAltEnergyType] = value
end

#xmlattr_idObject



25437
25438
25439
# File 'lib/BuildingSync.rb', line 25437

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



25441
25442
25443
# File 'lib/BuildingSync.rb', line 25441

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end

#xmlattr_programIdObject



25461
25462
25463
# File 'lib/BuildingSync.rb', line 25461

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



25465
25466
25467
# File 'lib/BuildingSync.rb', line 25465

def xmlattr_programId=(value)
  __xmlattr[AttrProgramId] = value
end

#xmlattr_resourceTypeObject



25453
25454
25455
# File 'lib/BuildingSync.rb', line 25453

def xmlattr_resourceType
  __xmlattr[AttrResourceType]
end

#xmlattr_resourceType=(value) ⇒ Object



25457
25458
25459
# File 'lib/BuildingSync.rb', line 25457

def xmlattr_resourceType=(value)
  __xmlattr[AttrResourceType] = value
end