Class: BuildingSync::IndependentVariable

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

Overview

http://www.gbxml.org/schemaIndependentVariable

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 = []) ⇒ IndependentVariable

Returns a new instance of IndependentVariable.



29084
29085
29086
29087
29088
# File 'lib/BuildingSync.rb', line 29084

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

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



29062
29063
29064
# File 'lib/BuildingSync.rb', line 29062

def description
  @description
end

#nameObject

Returns the value of attribute name.



29061
29062
29063
# File 'lib/BuildingSync.rb', line 29061

def name
  @name
end

Instance Method Details

#__xmlattrObject



29064
29065
29066
# File 'lib/BuildingSync.rb', line 29064

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_dataTypeObject



29076
29077
29078
# File 'lib/BuildingSync.rb', line 29076

def xmlattr_dataType
  __xmlattr[AttrDataType]
end

#xmlattr_dataType=(value) ⇒ Object



29080
29081
29082
# File 'lib/BuildingSync.rb', line 29080

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

#xmlattr_unitObject



29068
29069
29070
# File 'lib/BuildingSync.rb', line 29068

def xmlattr_unit
  __xmlattr[AttrUnit]
end

#xmlattr_unit=(value) ⇒ Object



29072
29073
29074
# File 'lib/BuildingSync.rb', line 29072

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