Class: BuildingSync::YAxis

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

Overview

http://www.gbxml.org/schemaYAxis

name - SOAP::SOAPString
description - SOAP::SOAPString
xmlattr_unit - SOAP::SOAPString
xmlattr_dataType - SOAP::SOAPString

Constant Summary collapse

AttrDataType =
XSD::QName.new(nil, "dataType")
AttrUnit =
XSD::QName.new(nil, "unit")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = [], description = []) ⇒ YAxis

Returns a new instance of YAxis.



33878
33879
33880
33881
33882
# File 'lib/BuildingSync.rb', line 33878

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

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



33856
33857
33858
# File 'lib/BuildingSync.rb', line 33856

def description
  @description
end

#nameObject

Returns the value of attribute name.



33855
33856
33857
# File 'lib/BuildingSync.rb', line 33855

def name
  @name
end

Instance Method Details

#__xmlattrObject



33858
33859
33860
# File 'lib/BuildingSync.rb', line 33858

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_dataTypeObject



33870
33871
33872
# File 'lib/BuildingSync.rb', line 33870

def xmlattr_dataType
  __xmlattr[AttrDataType]
end

#xmlattr_dataType=(value) ⇒ Object



33874
33875
33876
# File 'lib/BuildingSync.rb', line 33874

def xmlattr_dataType=(value)
  __xmlattr[AttrDataType] = value
end

#xmlattr_unitObject



33862
33863
33864
# File 'lib/BuildingSync.rb', line 33862

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



33866
33867
33868
# File 'lib/BuildingSync.rb', line 33866

def xmlattr_unit=(value)
  __xmlattr[AttrUnit] = value
end