Class: Eddy::Elements::E784

Inherits:
Models::Element::N show all
Defined in:
lib/definitions/elements/manual/784.length_of_binary_data.rb

Overview

Element Summary:

  • Id: 784
  • Name: Length of Binary Data
  • Type: N0
  • Min/Max: 1/15
  • Description: The length in integral octets of the binary data

Instance Attribute Summary

Attributes inherited from Models::Element::N

#decimals

Attributes inherited from Models::Element::Base

#description, #id, #max, #min, #name, #ref, #type

Instance Method Summary collapse

Methods inherited from Models::Element::N

#process_value, process_value, #value, #value=

Methods inherited from Models::Element::Base

#doc_comment, #process_value, process_value, #req, #req=, #value, #value=

Constructor Details

#initialize(val: nil, req: nil, ref: nil) ⇒ void

Parameters:

  • val (Integer) (defaults to: nil)

    (nil)

  • req (String) (defaults to: nil)

    (nil)

  • ref (String) (defaults to: nil)

    (nil)



15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/definitions/elements/manual/784.length_of_binary_data.rb', line 15

def initialize(val: nil, req: nil, ref: nil)
  @id = "784"
  @name = "Length of Binary Data"
  @description = "The length in integral octets of the binary data"
  super(
    min: 1,
    max: 15,
    req: req,
    ref: ref,
    val: val,
    decimals: 0,
  )
end