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

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

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

- (Object) bounds (readonly)

Returns the value of attribute bounds



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

def bounds
  @bounds
end

- (Object) containing_type

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

- (Object) default (readonly)

Returns the value of attribute default



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

def default
  @default
end

- (Object) fixed (readonly)

Returns the value of attribute fixed



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

def fixed
  @fixed
end

- (Object) form (readonly)

Returns the value of attribute form



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

def form
  @form
end

- (Object) name (readonly)

Returns the value of attribute name



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

def name
  @name
end

- (Object) sequence (readonly)

Returns the value of attribute sequence



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

def sequence
  @sequence
end