LavishSettings:Set (Node Type)

From Lavish Software Wiki
Jump to navigation Jump to search

Introduction

What is a Set?

A set is a logical grouping of comments, settings, and even additional sets.

For example, if Lavish Software employee data were to be stored with this system, there might be a set called "Lavish Software" to contain all of the company settings, a sub-set called "Employees", and a sub-set of "Employees" for each employee.

  • Lavish Software
    • Employees
      • Joe Thaler
      • Dan Thaler

Sets are shown in bold

Contained in the set for each employee might be some settings containing personal information such as address and phone number, or, well, anything else under the sun. Comments can also be used, but are more for viewers of the storage medium than actual usage of the settings.

  • Lavish Software
    • Employees
      • Joe Thaler
        • Address=123 Elm St
        • Phone Number=1-800-123-4567
        • Username=Lax
      • Dan Thaler
        • Address=456 Elm St
        • Phone Number=1-800-765-4321
        • Username=NinePointOh

Sets are shown in bold

Characteristics

A set has two characteristics: Name and ID. There are no restrictions on the name of a set, except that the name must be less than 4096 characters in length -- in practice, set names probably don't exceed 100 characters, as concise names are much easier to work with. Set IDs are generated and maintained by the underlying system. A set's ID number will not change while it is loaded, and set IDs will not be reused (unless you happen to unload and load settings several million times in a single session, I suppose). Certain sets have reserved IDs, in which case unloading and loading will yield the same ID. Such behavior is dictated by the application, and is not available to user-defined sets.

See Also