Class: RGen::XSD::Particle::Particle

Inherits:
Struct
  • Object
show all
Defined in:
lib/rgen/xsd/particle.rb

Overview

helper structure representing a particle or particle tree particles of kind :choice, :sequence or :all can have child particles

Instance Attribute Summary collapse

Instance Attribute Details

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



7
8
9
# File 'lib/rgen/xsd/particle.rb', line 7

def children
  @children
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



7
8
9
# File 'lib/rgen/xsd/particle.rb', line 7

def kind
  @kind
end

#maxOccursObject

Returns the value of attribute maxOccurs

Returns:

  • (Object)

    the current value of maxOccurs



7
8
9
# File 'lib/rgen/xsd/particle.rb', line 7

def maxOccurs
  @maxOccurs
end

#minOccursObject

Returns the value of attribute minOccurs

Returns:

  • (Object)

    the current value of minOccurs



7
8
9
# File 'lib/rgen/xsd/particle.rb', line 7

def minOccurs
  @minOccurs
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



7
8
9
# File 'lib/rgen/xsd/particle.rb', line 7

def node
  @node
end