ecl-logo Documentation

ValidTypeQ

ValidTypeQ[type]out

checks that the type and its field definitions are valid.

Details

    Input
    Output
    General Options
    Messages
  • TypeDefinitionStructureErrorThe type was defined incorrectly: `1`.

Examples

Basic Examples  (2)

Returns True if the definition for the given SLL Type is correctly formatted:

Returns True if the definition for the given SLL Type is correctly formatted, for Models:

Additional Examples  (9)

Returns False if descriptions for fields do not start with uppercase and end with a period:

Returns False if descriptions for fields do not start with uppercase and end with a period, for Models:

Returns False if descriptions for fields contain square brackets:

Returns False if descriptions for fields contain square brackets, for Models:

Returns False if storage pattern is _:

Returns False if storage pattern is _, for Models:

Returns False if category does not match FieldCategoryP:

Returns False if Named Field columns are out of order:

Returns False if category does not match FieldCategoryP, for Models:

Options  (1)

CheckServer  (1)

Indicate if the validity checks for the type should include comparing the database type definition to the SLL type definition:

Messages  (1)

TypeDefinitionStructureError  (1)

Types with improperly formatted Fields provide a message: