EAR  >  tools  >  library extension

EAR
library extension

BLANCA - Library extension

The library provides the following pieces of knowledge: as well as the knowledge of

It is posible to extend the library by means of

New elements are regarded as refinements with respect to old ones, in such a way that

but the general features of the tools are not losed.

New classes of assets

In order to extend asset classes, an extension file is dropped on the library directory (to be loaded on startup.
... / bib_en /

The file uses the following XML systax:

 1  file ::=
 2    <library-extension>
 3      { classes }0+
 4    </library-extension>
 5  
 6  classes ::=
 7    <classes under="..." >
 8      { class }0+
 9    </classes>
10  
11  class ::=
12    <class code="..."> NAME </class>

where ...

It may be easier to see an example:

ext_classes.lle

In order to use the previous example, copy it on the library directory, from where it is loaded when PILAR starts.

There may be several ".lle" files in the directory; files are soerted in alphabetical order before loading.

New criteria of valuation

In order to extend valuation criteria, an extension file is dropped on the library directory (to be loaded on startup.
... / bib_en /

The file uses the following XML systax:

 1  file ::=
 2    <library-extension>
 3      { criteria }0+
 4    </library-extension>
 5  
 6  criteria ::=
 7    <criteria under="..." >
 8      { reason }0+
 9    </criteria>
10  
11  reason ::=
12    <reason code="..."> NAME </reason>

where ...

It may be easier to see an example:

ext_criteria_en.lle

In order to use the previous example, copy it on the library directory, from where it is loaded when PILAR starts.

There may be several ".lle" files in the directory; files are soerted in alphabetical order before loading.

New threats

In order to extend system threats, an extension file is dropped on the library directory (to be loaded on startup.
... / bib_en /

The file uses the following XML systax:

 1  file ::=
 2    <library-extension>
 3      { threats }0+
 4    </library-extension>
 5  
 6  threats ::=
 7    <threats under="..." >
 8      { threat }0+
 9    </threats>
10  
11  threat ::=
12    <threat code="..."> NAME </threat>

where ...

It may be easier to see an example:

ext_threats_en.lle

In order to use the previous example, copy it on the library directory, from where it is loaded when PILAR starts.

There may be several ".lle" files in the directory; files are soerted in alphabetical order before loading.