Class: SOAP::Mapping::SchemaElementDefinition

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (SchemaElementDefinition) initialize(varname, mapped_class, elename, minoccurs, maxoccurs, as_any, as_array)



19
20
21
22
23
24
25
26
27
28
# File 'lib/soap/mapping/schemadefinition.rb', line 19

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

Instance Attribute Details

- (Object) elename (readonly)

Returns the value of attribute elename



17
18
19
# File 'lib/soap/mapping/schemadefinition.rb', line 17

def elename
  @elename
end

- (Object) mapped_class (readonly)

Returns the value of attribute mapped_class



17
18
19
# File 'lib/soap/mapping/schemadefinition.rb', line 17

def mapped_class
  @mapped_class
end

- (Object) maxoccurs (readonly)

Returns the value of attribute maxoccurs



17
18
19
# File 'lib/soap/mapping/schemadefinition.rb', line 17

def maxoccurs
  @maxoccurs
end

- (Object) minoccurs (readonly)

Returns the value of attribute minoccurs



17
18
19
# File 'lib/soap/mapping/schemadefinition.rb', line 17

def minoccurs
  @minoccurs
end

- (Object) varname (readonly)

Returns the value of attribute varname



17
18
19
# File 'lib/soap/mapping/schemadefinition.rb', line 17

def varname
  @varname
end

Instance Method Details

- (Boolean) as_any?



30
31
32
# File 'lib/soap/mapping/schemadefinition.rb', line 30

def as_any?
  @as_any
end

- (Boolean) as_array?



34
35
36
# File 'lib/soap/mapping/schemadefinition.rb', line 34

def as_array?
  @as_array
end