Class: Eddy::Elements::E786
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::E786
- Defined in:
- lib/definitions/elements/generated/786.security_level_code.rb
Overview
Element Summary:
- Id: 786
- Name: Security Level Code
- Type: ID
- Min/Max: 2/2
- Description: Code indicating the level of confidentiality assigned by the sender to the information following
Instance Attribute Summary
Attributes inherited from Models::Element::Base
#description, #id, #max, #min, #name, #ref, #type
Instance Method Summary collapse
Methods inherited from Models::Element::ID
#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
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/definitions/elements/generated/786.security_level_code.rb', line 16 def initialize(val: nil, req: nil, ref: nil) @id = "786" @name = "Security Level Code" @description = "Code indicating the level of confidentiality assigned by the sender to the information following" super( min: 2, max: 2, req: req, ref: ref, val: val, ) end |
Instance Method Details
#code_list ⇒ Array<String>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/definitions/elements/generated/786.security_level_code.rb', line 30 def code_list() return [ "00", # Company Non-Classified "01", # Company Internal Use Only "02", # Company Confidential "03", # Company Confidential, Restricted (Need to Know) "04", # Company Registered (Signature Required) "05", # Personal "06", # Supplier Proprietary "09", # Company Defined (Trading Partner Level) "11", # Competition Sensitive "20", # Court Restricted "21", # Juvenile Record Restricted "90", # Government Non-Classified "92", # Government Confidential "93", # Government Secret "94", # Government Top Secret "99", # Government Defined (Trading Partner Level) "ZZ", # Mutually Defined ] end |