Class: BuildingSync::Schedule

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

Overview

http://www.gbxml.org/schemaSchedule

name - SOAP::SOAPString
description - SOAP::SOAPString
yearSchedule - BuildingSync::YearSchedule
xmlattr_id - SOAP::SOAPID
xmlattr_type - SOAP::SOAPNMTOKEN
xmlattr_programId - SOAP::SOAPIDREF

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrProgramId =
XSD::QName.new(nil, "programId")
AttrType =
XSD::QName.new(nil, "type")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = [], description = [], yearSchedule = []) ⇒ Schedule

Returns a new instance of Schedule.



31462
31463
31464
31465
31466
31467
# File 'lib/BuildingSync.rb', line 31462

def initialize(name = [], description = [], yearSchedule = [])
  @name = name
  @description = description
  @yearSchedule = yearSchedule
  @__xmlattr = {}
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



31431
31432
31433
# File 'lib/BuildingSync.rb', line 31431

def description
  @description
end

#nameObject

Returns the value of attribute name.



31430
31431
31432
# File 'lib/BuildingSync.rb', line 31430

def name
  @name
end

#yearScheduleObject

Returns the value of attribute yearSchedule.



31432
31433
31434
# File 'lib/BuildingSync.rb', line 31432

def yearSchedule
  @yearSchedule
end

Instance Method Details

#__xmlattrObject



31434
31435
31436
# File 'lib/BuildingSync.rb', line 31434

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



31438
31439
31440
# File 'lib/BuildingSync.rb', line 31438

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



31442
31443
31444
# File 'lib/BuildingSync.rb', line 31442

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

#xmlattr_programIdObject



31454
31455
31456
# File 'lib/BuildingSync.rb', line 31454

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



31458
31459
31460
# File 'lib/BuildingSync.rb', line 31458

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

#xmlattr_typeObject



31446
31447
31448
# File 'lib/BuildingSync.rb', line 31446

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



31450
31451
31452
# File 'lib/BuildingSync.rb', line 31450

def xmlattr_type=(value)
  __xmlattr[AttrType] = value
end