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.



31987
31988
31989
31990
31991
31992
# File 'lib/BuildingSync.rb', line 31987

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

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



31956
31957
31958
# File 'lib/BuildingSync.rb', line 31956

def description
  @description
end

#nameObject

Returns the value of attribute name.



31955
31956
31957
# File 'lib/BuildingSync.rb', line 31955

def name
  @name
end

#yearScheduleObject

Returns the value of attribute yearSchedule.



31957
31958
31959
# File 'lib/BuildingSync.rb', line 31957

def yearSchedule
  @yearSchedule
end

Instance Method Details

#__xmlattrObject



31959
31960
31961
# File 'lib/BuildingSync.rb', line 31959

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



31963
31964
31965
# File 'lib/BuildingSync.rb', line 31963

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



31967
31968
31969
# File 'lib/BuildingSync.rb', line 31967

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

#xmlattr_programIdObject



31979
31980
31981
# File 'lib/BuildingSync.rb', line 31979

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



31983
31984
31985
# File 'lib/BuildingSync.rb', line 31983

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

#xmlattr_typeObject



31971
31972
31973
# File 'lib/BuildingSync.rb', line 31971

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



31975
31976
31977
# File 'lib/BuildingSync.rb', line 31975

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