name |
|
|
The name of the library. This may not contain spaces or special
characters since library names are used from the command line.
A more user friendly name can be specified using the printName
attribute; this specifies the name that will be displayed on the
web interface instead of the real library name.
|
printName |
|
|
This is for the print name for library. This can be used to
specify the name of the library in most places on the web
interface.
|
topPageName |
|
|
Name of the library on the top page - instead of the real name
or printName.
|
group |
LibGroup
|
|
Library group to which this library belongs.
|
parent |
Library
|
|
The parent library of a subentry library. If a library is a
subentry library then this attribute must be specified.
|
format |
LibFormat
|
|
This mandatory attribute describes the format of the fields
and entries within the library. It also provides some additional
formatting information.
|
dirName |
Lists
|
|
Name of the directory which contain the library flat files.
|
comment |
|
|
One line comment describing the library.
|
links |
Link
|
|
A list of links between this and other libraries. Links are
bi-directional and should NOT be multiply defined, so the link
from SWISSPROT to SWISSNEW should be defined in only one library.
|
iFile |
|
|
Name of the library definition .i file (if not named
'databank-name'.i). This file should contain the Library definition
object along with other required object definitions.
|
itFile |
|
|
Name of the resource object definition (.it) file, if not named
'databank-name'.it. The .it file contains a Resource object
definition which is used to display information about the library
on the library information page. The resource object is also
used by srscheck and prismacheck.
|
maxNameLen |
20 |
|
Maximum length of unique entry name - important for ID-index.
|
files |
LibFile
|
|
A list of pointers to file descriptions.
|
dataSource |
flatfile |
|
flatfile xml rdb |
|
The data source of the library - flatfile, xml or rdb.
|
libHub |
RdbLibHub
|
|
The structure of a library stored in a relational database, i.e.
the tables that comprise an entry in the library.
|
type |
system |
|
system user hidden restrictedAccess userRestrictedAccess memberVirtual |
|
The type of the library. The type can be one of:
system - normal library without restrictions
user - application or user-defined libraries
hidden - for system libraries not visible on the top
page (i.e. SRS documentation libraries)
restrictedAccess - restricted system libraries by user
userRestrictedAccess - restrictedAccess user libraries
memberVirtual - not shown on top page
|
xmlEntryElementType |
|
|
Required by XML databanks, represents the type of the XML
element corresponding to the XML library entry.
|
xmlSubentryPolicy |
ignore |
|
ignore include makeNew |
|
Indicates the policy to follow in case of nested subentries
having the same tag.
|
xmlSubentryLoadingNode |
root |
|
root current |
|
Indicates where to start for loading subentry data.
|
indexDirName |
|
|
Name of the directory with the SRS library indices.
|
partN |
1 |
|
Number of parts into which indexing of the databank should be
split for parallelization. This is in contrast to 'partFiles'.
|
partFiles |
no |
|
no yes |
|
Single flat files are to be indexed as separate parts for later
merging.
|
subEntries |
Library
|
|
List of all libraries that represent subentry types.
|
parallelType |
none |
|
none entry files chunk chunkSize filesSize |
|
Type of parallel indexing to be performed.
none - no parallel indexing
entry - single entry per file
files - multiple files each with multiple entries
chunk - split one large file into sections
chunkSize - split one large file into sections not larger than partSizeKb
fileSize - multiple files, with files larger than partSizeKb split into chunks
|
compressData |
|
|
The number of entries per block to compress.
|
partSizeKb |
2000000 |
|
Size in Kb of the largest databank chunk to be indexed
separately for later merging.
|
defaultView |
View
|
|
Default view for displaying entry lists in SRSWWW.
|
defaultEntryView |
View
|
|
Default view for displaying a single entry on the web.
|
textViewSideBar |
|
|
side top |
|
This attribute of the library helps to specify the
position of the side bar in the case of looking at a complete
text entry of the library. It is not used where a view is
spcified.
|
entryViews |
View
|
|
A list of entry views for the library. These will appear
in the "under bar" of a single entry page.
|
defaultLoader |
LoadClass
|
|
The default loader for the library. |
virtualInfo |
LibVirtual
|
|
If a virtualInfo object is defined for a library then the
library is said to be a virtual library. The virtual info object
contains the information about the virtual library - such as the
list of libraries comprising it and queries to further
define the virtual library.
|
resource |
Resource
|
|
Object containing resource information about the library. The
Resource object is used to display information on the
databank information page and also for srscheck and prismacheck.
This object is compiled from the .it file and added to the
library during srssection, hence this should remain undefined
by the user here, but defined in the appropriate .it file.
|
res |
Resource
|
|
Object containing resource information about the library. The
Resource object is used to display information on the
databank information page and also for srscheck and prismacheck.
|
completedFile |
|
|
Required if using '-completed' flag of srscheck.
|
fileCountTolerance |
|
|
Number of extra files required to trigger re-indexing for
file per entry libraries, or 0.
|
searchName |
Lists
|
|
A list of file search strings to override the default
values specified for the library format (if any).
If specified, there should be as many entries as there are file
types defined for the library format.
|
updatableIndices |
no |
|
no yes |
|
Use incremental indices for this library.
|
showIndexInfo |
yes |
|
no yes |
|
Show index information related to the indices on the web
databank info page. Also allow indices to be browsed. If set
to no then it will not be possible to browse the indices on
the web page.
|
addEntries |
n |
|
n y |
|
Indicates whether or not entries can be added to the library.
This option is used for the UserDNA and UserProtein databases
which are part of the SRS web interface.
|
loaderCache |
LoadClass
|
|
A list of loaders which are loaded at index time and
cached to disk for very fast loading. This is extremely
disk space intensive and should only be used when
large sets are needed to be loaded in mission critical
situations.
|
addEntryApp |
|
|
If it is possible to add entries to the library (i.e. the
addEntries attribute is 'y') then the entry is added to
the library using an SRS application. This attribute is
the name of the application to use.
|
gif |
|
|
If the databank has a logo or associated image the name of the
file (which should be a GIF image placed in the $SRSWWW/images
directory) will be shown on the Entry page of the web server.
|
defaultSortFld |
|
|
Specifies a field which the library is sorted on by default.
|