SourceDescription class for each source provided by
the resource. Note that this is a type of WAISSourceDescription and
many of the settings are done in that superclass.
-
accessConstraints
- A String value giving a free text description of the contraints
or legal prerequisites for accessing the source.
-
administrator
- A String value indicating the administrator of the source
-
contentSummaryLinkage
- A String value giving the URL of the source content summary.
-
fieldsSupported
- A 2-D string array indicating the fields supported.
-
fieldsTable
- Hashtable holding all supported fields.
-
fieldsTranslation
- translation tables to go from STARTS fields to WAIS fields.
-
linkage
- A String value giving the URL where the source should
be queried
-
otherMetaAttributes
- settings for meta attributes in other attribute sets.
-
sampleDataBaseResultsURL
- A string indicating the URL from which to get the query
results for a sample document collection.
-
sourceAbstract
- A String value giving a free text abstract of this source.
-
sourceLanguage
- A String array where each element indicates,
in RFC1877 format, a language present at the source.
-
sourceName
- A String giving the name of the source.
-
CSTRSourceDescription()
- Constructor which loads the generic super class with the
source specific information.
-
GetDateExpires()
- Return an ISO-1807 representation of when metadata for this
source expires.
-
GetDateModified()
- Return an ISO-1807 representation of when the source was modified
-
TranslateField(String, String)
- Return a String that is a translation from STARTS field
to WAIS field.
linkage
public static String linkage
- A String value giving the URL where the source should
be queried
contentSummaryLinkage
public static String contentSummaryLinkage
- A String value giving the URL of the source content summary.
sampleDataBaseResultsURL
public static String sampleDataBaseResultsURL
- A string indicating the URL from which to get the query
results for a sample document collection.
fieldsSupported
public static String fieldsSupported[][]
- A 2-D string array indicating the fields supported.
Each row is data for a field. The elements (columns) of a row are
as follows:
0 - two tokens . Note that rows for all
basic-1 fields should exist. Rows for fields in other
attribute sets may be added
1 - a string value (true of false) indicating whether the field is
supported at the source
2 - a set of tokens indicating special languages supported for this
field (e.g. "en-US es-MX")
Note that this information is source (not engine) specific
fieldsTranslation
protected static String fieldsTranslation[][]
- translation tables to go from STARTS fields to WAIS fields.
Formatted as a two-D array with column 0 being the STARTS field
and column 1 the WAIS equivalent. Note that this information is
source, not engine, specific.
sourceLanguage
public static String sourceLanguage[]
- A String array where each element indicates,
in RFC1877 format, a language present at the source.
sourceName
public static String sourceName
- A String giving the name of the source.
sourceAbstract
public static String sourceAbstract
- A String value giving a free text abstract of this source.
accessConstraints
public static String accessConstraints
- A String value giving a free text description of the contraints
or legal prerequisites for accessing the source.
administrator
public static String administrator
- A String value indicating the administrator of the source
otherMetaAttributes
public static String otherMetaAttributes[][][]
- settings for meta attributes in other attribute sets. This
should be a three dimensional array where each element in
a row is as follows:
0 - name of the attribute set
1 - name of the attribute
2 - value of the attribute set
For example, a row might be initialized to:
{"foo-1", "emporer", "Caeser"}
fieldsTable
public static Hashtable fieldsTable
- Hashtable holding all supported fields. key is
value is set of language tokens or empty string if no
special languages.
CSTRSourceDescription
public CSTRSourceDescription()
- Constructor which loads the generic super class with the
source specific information.
TranslateField
public String TranslateField(String attrSet,
String field)
- Return a String that is a translation from STARTS field
to WAIS field.
- Parameters:
- attrSet - Attribute set of the WAIS field to be translated.
- field - Field name of the WAIS field to be translated.
- Returns:
- the String translation of the input attribute set/field
pair.
- Overrides:
- TranslateField in class SourceDescription
GetDateModified
public String GetDateModified()
- Return an ISO-1807 representation of when the source was modified
- Returns:
- ISO 1807 date of when the source was modified.
- Overrides:
- GetDateModified in class SourceDescription
GetDateExpires
public String GetDateExpires()
- Return an ISO-1807 representation of when metadata for this
source expires.
- Returns:
- ISO-1807 date of when this metadata expires.
- Overrides:
- GetDateExpires in class SourceDescription
All Packages Class Hierarchy This Package Previous Next Index