Class: SOAP::Mapping::SchemaElementDefinition
- Defined in:
- lib/soap/mapping/schemadefinition.rb
Instance Attribute Summary collapse
-
#elename ⇒ Object
readonly
Returns the value of attribute elename.
-
#mapped_class ⇒ Object
readonly
Returns the value of attribute mapped_class.
-
#maxoccurs ⇒ Object
readonly
Returns the value of attribute maxoccurs.
-
#minoccurs ⇒ Object
readonly
Returns the value of attribute minoccurs.
-
#varname ⇒ Object
readonly
Returns the value of attribute varname.
Instance Method Summary collapse
- #as_any? ⇒ Boolean
- #as_array? ⇒ Boolean
-
#initialize(varname, mapped_class, elename, minoccurs, maxoccurs, as_any, as_array) ⇒ SchemaElementDefinition
constructor
A new instance of SchemaElementDefinition.
Constructor Details
#initialize(varname, mapped_class, elename, minoccurs, maxoccurs, as_any, as_array) ⇒ SchemaElementDefinition
Returns a new instance of SchemaElementDefinition.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/soap/mapping/schemadefinition.rb', line 20 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
#elename ⇒ Object (readonly)
Returns the value of attribute elename.
18 19 20 |
# File 'lib/soap/mapping/schemadefinition.rb', line 18 def elename @elename end |
#mapped_class ⇒ Object (readonly)
Returns the value of attribute mapped_class.
18 19 20 |
# File 'lib/soap/mapping/schemadefinition.rb', line 18 def mapped_class @mapped_class end |
#maxoccurs ⇒ Object (readonly)
Returns the value of attribute maxoccurs.
18 19 20 |
# File 'lib/soap/mapping/schemadefinition.rb', line 18 def maxoccurs @maxoccurs end |
#minoccurs ⇒ Object (readonly)
Returns the value of attribute minoccurs.
18 19 20 |
# File 'lib/soap/mapping/schemadefinition.rb', line 18 def minoccurs @minoccurs end |
#varname ⇒ Object (readonly)
Returns the value of attribute varname.
18 19 20 |
# File 'lib/soap/mapping/schemadefinition.rb', line 18 def varname @varname end |
Instance Method Details
#as_any? ⇒ Boolean
31 32 33 |
# File 'lib/soap/mapping/schemadefinition.rb', line 31 def as_any? @as_any end |
#as_array? ⇒ Boolean
35 36 37 |
# File 'lib/soap/mapping/schemadefinition.rb', line 35 def as_array? @as_array end |