Class: WsdlMapper::Dom::Property::Ref

Inherits:
TypeBase
  • Object
show all
Defined in:
lib/wsdl_mapper/dom/property.rb

Instance Attribute Summary collapse

Attributes inherited from TypeBase

#documentation

Instance Method Summary collapse

Methods inherited from TypeBase

#==, #eql?, #hash, to_proc

Constructor Details

#initialize(name, bounds: Bounds.new, sequence: 0, default: nil, fixed: nil, form: nil) ⇒ Ref

Returns a new instance of Ref.



10
11
12
13
14
15
16
# File 'lib/wsdl_mapper/dom/property.rb', line 10

def initialize(name, bounds: Bounds.new, sequence: 0, default: nil, fixed: nil, form: nil)
  super name
  @name, @bounds, @sequence = name, bounds, sequence
  @default = default
  @fixed = fixed
  @form = form
end

Instance Attribute Details

#boundsObject (readonly)

Returns the value of attribute bounds.



8
9
10
# File 'lib/wsdl_mapper/dom/property.rb', line 8

def bounds
  @bounds
end

#containing_typeObject

Returns the value of attribute containing_type.



7
8
9
# File 'lib/wsdl_mapper/dom/property.rb', line 7

def containing_type
  @containing_type
end

#defaultObject (readonly)

Returns the value of attribute default.



8
9
10
# File 'lib/wsdl_mapper/dom/property.rb', line 8

def default
  @default
end

#fixedObject (readonly)

Returns the value of attribute fixed.



8
9
10
# File 'lib/wsdl_mapper/dom/property.rb', line 8

def fixed
  @fixed
end

#formObject (readonly)

Returns the value of attribute form.



8
9
10
# File 'lib/wsdl_mapper/dom/property.rb', line 8

def form
  @form
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/wsdl_mapper/dom/property.rb', line 8

def name
  @name
end

#sequenceObject (readonly)

Returns the value of attribute sequence.



8
9
10
# File 'lib/wsdl_mapper/dom/property.rb', line 8

def sequence
  @sequence
end