Class: BuildingSync::Transportation

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

Overview

http://www.gbxml.org/schemaTransportation

generalGeometry - BuildingSync::GeneralGeometry
shellGeometry - BuildingSync::ShellGeometry
cost - BuildingSync::Cost
xmlattr_id - SOAP::SOAPID
xmlattr_transportationType - SOAP::SOAPNMTOKEN
xmlattr_scheduleIdRef - SOAP::SOAPIDREF
xmlattr_programId - SOAP::SOAPIDREF

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrProgramId =
XSD::QName.new(nil, "programId")
AttrScheduleIdRef =
XSD::QName.new(nil, "scheduleIdRef")
AttrTransportationType =
XSD::QName.new(nil, "transportationType")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(generalGeometry = [], shellGeometry = [], cost = []) ⇒ Transportation

Returns a new instance of Transportation.



32432
32433
32434
32435
32436
32437
# File 'lib/BuildingSync.rb', line 32432

def initialize(generalGeometry = [], shellGeometry = [], cost = [])
  @generalGeometry = generalGeometry
  @shellGeometry = shellGeometry
  @cost = cost
  @__xmlattr = {}
end

Instance Attribute Details

#costObject

Returns the value of attribute cost.



32394
32395
32396
# File 'lib/BuildingSync.rb', line 32394

def cost
  @cost
end

#generalGeometryObject

Returns the value of attribute generalGeometry.



32392
32393
32394
# File 'lib/BuildingSync.rb', line 32392

def generalGeometry
  @generalGeometry
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



32393
32394
32395
# File 'lib/BuildingSync.rb', line 32393

def shellGeometry
  @shellGeometry
end

Instance Method Details

#__xmlattrObject



32396
32397
32398
# File 'lib/BuildingSync.rb', line 32396

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



32400
32401
32402
# File 'lib/BuildingSync.rb', line 32400

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



32404
32405
32406
# File 'lib/BuildingSync.rb', line 32404

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

#xmlattr_programIdObject



32424
32425
32426
# File 'lib/BuildingSync.rb', line 32424

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



32428
32429
32430
# File 'lib/BuildingSync.rb', line 32428

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

#xmlattr_scheduleIdRefObject



32416
32417
32418
# File 'lib/BuildingSync.rb', line 32416

def xmlattr_scheduleIdRef
  __xmlattr[AttrScheduleIdRef]
end

#xmlattr_scheduleIdRef=(value) ⇒ Object



32420
32421
32422
# File 'lib/BuildingSync.rb', line 32420

def xmlattr_scheduleIdRef=(value)
  __xmlattr[AttrScheduleIdRef] = value
end

#xmlattr_transportationTypeObject



32408
32409
32410
# File 'lib/BuildingSync.rb', line 32408

def xmlattr_transportationType
  __xmlattr[AttrTransportationType]
end

#xmlattr_transportationType=(value) ⇒ Object



32412
32413
32414
# File 'lib/BuildingSync.rb', line 32412

def xmlattr_transportationType=(value)
  __xmlattr[AttrTransportationType] = value
end