Extending product function with VBA > The System Architect object model > Object model classes > Definition class > Definition fields
  
Definition fields
The definition field property can contain a number of properties held about the definition. They typically contain information that a user cannot enter directly but is derived during normal use. Within the Object Model there is an enumerated type called DEFFLD. This is passed as a parameter to the operation GetField(FieldID as DEFFLD) and SetField(FieldID as DEFFLD, Value as String). This enables the Microsoft VBA programmer to both read and update low level definition fields.
DEFNFLD_SAAUDITID
Audit Id of the definition.
Read-only
DEFNFLD_SAIDENTITY
Data dictionary Id of the definition.
Read-only
DEFNFLD_SAIDENTITY4
Data dictionary Id of the definition.
4-byte binary number
Read-only
DEFNFLD_SAISUNDEFINED
Returns "T" if definition is undefined, "F" if definition is defined.
Read-only
DEFNFLD_SALOCK
Locks the definition.
T" = Locked
F" = Unlocked
DEFNFLD_SAMAJORTYPE
Major type (that is, "Definition")
Read-only
DEFNFLD_SAMAJORTYPENUMBER
Major type number (that is, "3")
Read-only
DEFNFLD_SANAME
Name of definition.
String
DEFNFLD_SATYPE
SA type of definition (for example, UML Class, Entity, and so on).
Read-only
DEFNFLD_SATYPENUMBER
Internal constant number of the definition type. For a complete listing, see the DEFNS.BAS file in the System Architect directory.
Read-only
DEFNFLD_SAUPDATEDATE
Date of last update.
Read-only
DEFNFLD_SAUPDATETIME
Time of last update.
Read-only
See also
Definition class