Machine-translated by Google. Questions are authored in English.
Top

Discussion

If you know all the possible values that an attribute can have, you can enumerate those values in ODL.

  • A.True
  • B.False

Answer: A

Correct answer: True

An enumerated type does exactly this: the permitted values are listed in the schema, and the attribute can hold none but those. It documents the intent and enforces the constraint at the same time, without any code in the application.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.