com.apelon.dts.client.match
Class Silo

java.lang.Object
  extended by com.apelon.dts.client.match.Silo

public class Silo
extends Object

A "silo" is a repository of customized concept terminology data (concepts and associated terms) from a knowledgebase. There can be a single silo, or multiple silos, each consisting of semantically related concepts and extracted character strings associated with those concepts.

The data that populates each silo is based on a set of customized filters specified in a configuration file. The specifications in this file define a two-step filter for acquiring the data to populate the silos; the two steps are called "Selection" and "Extraction." The Selector & Extractor utility uses the specifications from the configuration file to select and extract desired concept data from a source knowledgebase. The Selector & Extractor then generates the silos and populates each with the customized data.

Using silos lets you use optimized matching capabilities when you use DTS to perform searches. The DTS servers attempt to match specified search strings to concepts and their associated properties in a specific silo.

This class is used to obtain information about a silo. Primarily this is a "Read-Only" class, in the sense that it is used to convey information about existing silos. The class provides no functionality to create or update silos.

Copyright: Copyright (c) 2003

Company: Apelon, Inc.

Version:
DTS 3.0.0
Author:
Apelon, Inc.

Constructor Summary
Silo(String name, int id)
          Creates a Silo object.
 
Method Summary
 int getId()
          Returns the silo ID.
 String getName()
          Returns the silo name.
 void setId(int newId)
          Update the silo ID.
 void setName(String newName)
          Update the silo name.
 String toString()
          Returns the name as the string for this Silo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Silo

public Silo(String name,
            int id)
Creates a Silo object.

Parameters:
name - a valid silo name
id - a valid silo ID
Method Detail

setId

public void setId(int newId)
Update the silo ID.

Parameters:
newId - new silo ID

getId

public int getId()
Returns the silo ID. The match_spec table contains the silo name and ID.

Returns:
silo ID

setName

public void setName(String newName)
Update the silo name.

Parameters:
newName - the new silo name

getName

public String getName()
Returns the silo name.

Returns:
silo name

toString

public String toString()
Returns the name as the string for this Silo.

Overrides:
toString in class Object
Returns:
the name for this Silo.


Copyright © 2011. All Rights Reserved.