You are here: Reference > Rule types > Libraries > Library rules - Completing the New or Save As form

Library rules

Completing the Create, Save As, or Specialization form

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

Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You may copy data instances but they do not support specialization as they are not versioned.

Based on your use case, the Create, Save As, or Specialization form is used to create the record. The number of fields and available options vary by record type. Start by familiarizing yourself with the generic layout of these forms and their common fields:

This information identifies the key parts and options that are applicable to the record type you are creating.

Create a library rule in Designer Studio by clicking +Create > Technical > Library.

Key parts

A library rule has two key parts:

Field

Description

Identifier

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.

  • Do not choose a name that matches a standard library unless you intentionally plan to override functions in that standard library.
  • The library name Default is deprecated and should not be used.
Ruleset Name

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

Note: You cannot create a new library rule in a branch ruleset.

Rule resolution

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

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

About Library rules