Class: Stupidedi::Schema::AbstractDef

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

Instance Method Summary collapse

Instance Method Details

#component?Boolean

Is this a component SimpleElementDef?

Returns:

  • (Boolean)

61
62
63
# File 'lib/stupidedi/schema/abstract_def.rb', line 61

def component?
  false
end

#composite?Boolean

Is this a CompositeElementDef?

Returns:

  • (Boolean)

56
57
58
# File 'lib/stupidedi/schema/abstract_def.rb', line 56

def composite?
  false
end

#definition?Boolean

Returns:

  • (Boolean)

11
12
13
# File 'lib/stupidedi/schema/abstract_def.rb', line 11

def definition?
  true
end

#descriptorString

Returns:

  • (String)

16
# File 'lib/stupidedi/schema/abstract_def.rb', line 16

abstract :descriptor

#element?Boolean

Returns:

  • (Boolean)

51
52
53
# File 'lib/stupidedi/schema/abstract_def.rb', line 51

def element?
  false
end

#functional_group?Boolean

Is this an FunctionalGroupDef?

Returns:

  • (Boolean)

26
27
28
# File 'lib/stupidedi/schema/abstract_def.rb', line 26

def functional_group?
  false
end

#interchange?Boolean

Is this an InterchangeDef?

Returns:

  • (Boolean)

21
22
23
# File 'lib/stupidedi/schema/abstract_def.rb', line 21

def interchange?
  false
end

#loop?Boolean

Is this a LoopDef?

Returns:

  • (Boolean)

41
42
43
# File 'lib/stupidedi/schema/abstract_def.rb', line 41

def loop?
  false
end

#repeated?Boolean

Returns:

  • (Boolean)

66
67
68
# File 'lib/stupidedi/schema/abstract_def.rb', line 66

def repeated?
  false
end

#required?Boolean

This method is abstract.

Returns:

  • (Boolean)

18
# File 'lib/stupidedi/schema/abstract_def.rb', line 18

abstract :required?

#segment?Boolean

Is this a SegmentDef?

Returns:

  • (Boolean)

46
47
48
# File 'lib/stupidedi/schema/abstract_def.rb', line 46

def segment?
  false
end

#simple?Boolean

Is this a non-component SimpleElementDef?

Returns:

  • (Boolean)

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

def simple?
  false
end

#table?Boolean

Is this a TableDef?

Returns:

  • (Boolean)

36
37
38
# File 'lib/stupidedi/schema/abstract_def.rb', line 36

def table?
  false
end

#transaction_set?Boolean

Is this an TransactionSetDef?

Returns:

  • (Boolean)

31
32
33
# File 'lib/stupidedi/schema/abstract_def.rb', line 31

def transaction_set?
  false
end

#usage?Boolean

Returns:

  • (Boolean)

7
8
9
# File 'lib/stupidedi/schema/abstract_def.rb', line 7

def usage?
  false
end