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.



32957
32958
32959
32960
32961
32962
# File 'lib/BuildingSync.rb', line 32957

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

Instance Attribute Details

#costObject

Returns the value of attribute cost.



32919
32920
32921
# File 'lib/BuildingSync.rb', line 32919

def cost
  @cost
end

#generalGeometryObject

Returns the value of attribute generalGeometry.



32917
32918
32919
# File 'lib/BuildingSync.rb', line 32917

def generalGeometry
  @generalGeometry
end

#shellGeometryObject

Returns the value of attribute shellGeometry.



32918
32919
32920
# File 'lib/BuildingSync.rb', line 32918

def shellGeometry
  @shellGeometry
end

Instance Method Details

#__xmlattrObject



32921
32922
32923
# File 'lib/BuildingSync.rb', line 32921

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



32925
32926
32927
# File 'lib/BuildingSync.rb', line 32925

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



32929
32930
32931
# File 'lib/BuildingSync.rb', line 32929

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

#xmlattr_programIdObject



32949
32950
32951
# File 'lib/BuildingSync.rb', line 32949

def xmlattr_programId
  __xmlattr[AttrProgramId]
end

#xmlattr_programId=(value) ⇒ Object



32953
32954
32955
# File 'lib/BuildingSync.rb', line 32953

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

#xmlattr_scheduleIdRefObject



32941
32942
32943
# File 'lib/BuildingSync.rb', line 32941

def xmlattr_scheduleIdRef
  __xmlattr[AttrScheduleIdRef]
end

#xmlattr_scheduleIdRef=(value) ⇒ Object



32945
32946
32947
# File 'lib/BuildingSync.rb', line 32945

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

#xmlattr_transportationTypeObject



32933
32934
32935
# File 'lib/BuildingSync.rb', line 32933

def xmlattr_transportationType
  __xmlattr[AttrTransportationType]
end

#xmlattr_transportationType=(value) ⇒ Object



32937
32938
32939
# File 'lib/BuildingSync.rb', line 32937

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