Back Forward Library rules
Completing the New or Save As form

  1. About 
  2. New 
  3. Packages 
  4. Static Variables 
  5. History 
  6. More... 

Create a library rule by selecting Library from the Technical category.

A library rule has two key parts:

Field

Description

Library Name

Enter a name for this library. Begin the name with a letter and use only letters and digits. The name must be a valid Java identifier; see How to enter a Java identifier.

CautionDon't choose a name that matches a standard library, unless you intentionally plan to override functions in that standard library.

NoteAvoid using the name Default for a library. This name is deprecated, as it conveys little about the functions contained in such a library.

RuleSet Name

Select a RuleSet name. A library is available to all versions of a RuleSet. However, the functions in the library may differ from RuleSet version to RuleSet version.

CautionYou can't create a new library rule in a branch RuleSet. See branch RuleSet.

For general information about the New form, see Completing the new rule dialog box. For general information on the Save As form, see How to enter rule keys using Save As.

Rule resolution

When searching for library rules, the system filters candidate rules based on a requestor's RuleSet list of RuleSets (but not versions).

Time-qualified and circumstance-qualified rule resolution features are not available for library rules. The class hierarchy is not searched.

Up About Library rules