Class: Stupidedi::Schema::AbstractUse

Inherits:
Object
  • Object
show all
Defined in:
lib/stupidedi/schema/abstract_use.rb

Direct Known Subclasses

AbstractElementUse, SegmentUse

Instance Method Summary collapse

Instance Method Details

#component?Boolean

Is this a component SimpleElementUse?

Returns:

  • (Boolean)

37
38
39
# File 'lib/stupidedi/schema/abstract_use.rb', line 37

def component?
  false
end

#composite?Boolean

Is this a CompositeElementUse?

Returns:

  • (Boolean)

32
33
34
# File 'lib/stupidedi/schema/abstract_use.rb', line 32

def composite?
  false
end

#definition?Boolean

Returns:

  • (Boolean)

14
15
16
# File 'lib/stupidedi/schema/abstract_use.rb', line 14

def definition?
  true
end

#element?Boolean

Returns:

  • (Boolean)

27
28
29
# File 'lib/stupidedi/schema/abstract_use.rb', line 27

def element?
  false
end

#functional_group?Boolean

Returns:

  • (Boolean)

59
60
61
# File 'lib/stupidedi/schema/abstract_use.rb', line 59

def functional_group?
  false
end

#interchange?Boolean

The definitions for these types, like InterchangeDef aren't reused, so they don't have corresponding AbstractUse subclasses.

Returns:

  • (Boolean)

55
56
57
# File 'lib/stupidedi/schema/abstract_use.rb', line 55

def interchange?
  false
end

#loop?Boolean

Returns:

  • (Boolean)

71
72
73
# File 'lib/stupidedi/schema/abstract_use.rb', line 71

def loop?
  false
end

#repeated?Boolean

Is this a repeatable Stupidedi::Schema::AbstractUse?

Returns:

  • (Boolean)

42
43
44
# File 'lib/stupidedi/schema/abstract_use.rb', line 42

def repeated?
  false
end

#segment?Boolean

Is this a SegmentUse?

Returns:

  • (Boolean)

22
23
24
# File 'lib/stupidedi/schema/abstract_use.rb', line 22

def segment?
  false
end

#simple?Boolean

Is this a non-component SimpleElementUse?

Returns:

  • (Boolean)

47
48
49
# File 'lib/stupidedi/schema/abstract_use.rb', line 47

def simple?
  false
end

#table?Boolean

Returns:

  • (Boolean)

67
68
69
# File 'lib/stupidedi/schema/abstract_use.rb', line 67

def table?
  false
end

#transaction_set?Boolean

Returns:

  • (Boolean)

63
64
65
# File 'lib/stupidedi/schema/abstract_use.rb', line 63

def transaction_set?
  false
end

#usage?Boolean

Returns:

  • (Boolean)

10
11
12
# File 'lib/stupidedi/schema/abstract_use.rb', line 10

def usage?
  true
end