com.bbn.swede.core.libraries
Class LibraryConfiguration

java.lang.Object
  extended bycom.bbn.swede.core.libraries.AbstractConfiguration
      extended bycom.bbn.swede.core.libraries.LibraryConfiguration
All Implemented Interfaces:
IConfiguration

public class LibraryConfiguration
extends AbstractConfiguration

A subclass of AbstractConfiguration with accessors, mutators and constants specified for Libraries.

Author:
aperezlo

Field Summary
static String LIBRARY_NAME_PROPERTY
          Property identifier for library name.
static String LIBRARY_UPDATE_SCHEDULE_PROPERTY
          Property identifier for update frequency.
 
Fields inherited from interface com.bbn.swede.core.libraries.IConfiguration
SYSTEM_SUFFIX, USER_SUFFIX
 
Constructor Summary
LibraryConfiguration()
           
 
Method Summary
 String getName()
          Retrieves the name of this configuration object.
 IConfigurationValidator getPropertiesValidator()
          Returns an IConfigurationValidator object capable of validating this IConfiguration object.
 void setName(String s)
          Sets the name of this library.
 
Methods inherited from class com.bbn.swede.core.libraries.AbstractConfiguration
getProperties, getSystemProperties, getSystemProperty, getUserProperties, getUserProperty, load, removeSystemProperty, removeUserProperty, setProperties, setSystemProperties, setSystemProperty, setUserProperties, setUserProperty, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIBRARY_NAME_PROPERTY

public static final String LIBRARY_NAME_PROPERTY
Property identifier for library name.

See Also:
Constant Field Values

LIBRARY_UPDATE_SCHEDULE_PROPERTY

public static final String LIBRARY_UPDATE_SCHEDULE_PROPERTY
Property identifier for update frequency.

See Also:
Constant Field Values
Constructor Detail

LibraryConfiguration

public LibraryConfiguration()
Method Detail

getPropertiesValidator

public IConfigurationValidator getPropertiesValidator()
Description copied from interface: IConfiguration
Returns an IConfigurationValidator object capable of validating this IConfiguration object.

Specified by:
getPropertiesValidator in interface IConfiguration
Specified by:
getPropertiesValidator in class AbstractConfiguration

getName

public String getName()
Description copied from interface: IConfiguration
Retrieves the name of this configuration object.

Returns:
The name

setName

public void setName(String s)
Sets the name of this library.

Parameters:
s - the new name of the library


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.