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.
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
#elename ⇒ Object (readonly)
Returns the value of attribute elename.
17 18 19 |
# File 'lib/soap/mapping/schemadefinition.rb', line 17 def elename @elename end |
#mapped_class ⇒ Object (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 |
#maxoccurs ⇒ Object (readonly)
Returns the value of attribute maxoccurs.
17 18 19 |
# File 'lib/soap/mapping/schemadefinition.rb', line 17 def maxoccurs @maxoccurs end |
#minoccurs ⇒ Object (readonly)
Returns the value of attribute minoccurs.
17 18 19 |
# File 'lib/soap/mapping/schemadefinition.rb', line 17 def minoccurs @minoccurs end |
#varname ⇒ Object (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
#as_any? ⇒ Boolean
30 31 32 |
# File 'lib/soap/mapping/schemadefinition.rb', line 30 def as_any? @as_any end |
#as_array? ⇒ Boolean
34 35 36 |
# File 'lib/soap/mapping/schemadefinition.rb', line 34 def as_array? @as_array end |