Class: SOAP::Mapping::SchemaElementDefinition

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(varname, mapped_class, elename, as_array) ⇒ SchemaElementDefinition

Returns a new instance of SchemaElementDefinition.



459
460
461
462
463
464
# File 'lib/soap/mapping/mapping.rb', line 459

def initialize(varname, mapped_class, elename, as_array)
  @varname = varname
  @mapped_class = mapped_class
  @elename = elename
  @as_array = as_array
end

Instance Attribute Details

#elenameObject (readonly)

Returns the value of attribute elename.



457
458
459
# File 'lib/soap/mapping/mapping.rb', line 457

def elename
  @elename
end

#mapped_classObject (readonly)

Returns the value of attribute mapped_class.



457
458
459
# File 'lib/soap/mapping/mapping.rb', line 457

def mapped_class
  @mapped_class
end

#varnameObject (readonly)

Returns the value of attribute varname.



457
458
459
# File 'lib/soap/mapping/mapping.rb', line 457

def varname
  @varname
end

Instance Method Details

#as_array?Boolean

Returns:

  • (Boolean)


466
467
468
# File 'lib/soap/mapping/mapping.rb', line 466

def as_array?
  @as_array
end

#is_concrete_definitionObject



470
471
472
# File 'lib/soap/mapping/mapping.rb', line 470

def is_concrete_definition
  true
end