org.apache.uima.collection.impl.metadata.cpe
Class CasProcessorConfigurationParameterSettingsImpl

java.lang.Object
  extended by org.apache.uima.collection.impl.metadata.cpe.CasProcessorConfigurationParameterSettingsImpl
All Implemented Interfaces:
CasProcessorConfigurationParameterSettings

public class CasProcessorConfigurationParameterSettingsImpl
extends java.lang.Object
implements CasProcessorConfigurationParameterSettings


Constructor Summary
protected CasProcessorConfigurationParameterSettingsImpl()
           
protected CasProcessorConfigurationParameterSettingsImpl(ConfigurationParameterSettings aCps)
           
 
Method Summary
 NameValuePair[] getParameterSettings()
          Gets the settings for configuration parameters that are not in any group.
 java.lang.Object getParameterValue(java.lang.String aParamName)
          Looks up the value of a parameter.
 void setParameterValue(java.lang.String aParamName, java.lang.Object aValue)
          Sets the value of a parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasProcessorConfigurationParameterSettingsImpl

protected CasProcessorConfigurationParameterSettingsImpl()

CasProcessorConfigurationParameterSettingsImpl

protected CasProcessorConfigurationParameterSettingsImpl(ConfigurationParameterSettings aCps)
Method Detail

getParameterSettings

public NameValuePair[] getParameterSettings()
Description copied from interface: CasProcessorConfigurationParameterSettings
Gets the settings for configuration parameters that are not in any group.

Specified by:
getParameterSettings in interface CasProcessorConfigurationParameterSettings
Returns:
an array of NameValuePair objects, each of which contains a parameter name and the value of that parameter

getParameterValue

public java.lang.Object getParameterValue(java.lang.String aParamName)
Description copied from interface: CasProcessorConfigurationParameterSettings
Looks up the value of a parameter.

Specified by:
getParameterValue in interface CasProcessorConfigurationParameterSettings
Parameters:
aParamName - the name of a parameter
Returns:
the value of the parameter with name aParamName

setParameterValue

public void setParameterValue(java.lang.String aParamName,
                              java.lang.Object aValue)
Description copied from interface: CasProcessorConfigurationParameterSettings
Sets the value of a parameter.

Specified by:
setParameterValue in interface CasProcessorConfigurationParameterSettings
Parameters:
aParamName - the name of a parameter that is not in any group
aValue - the value to assign to the parameter. This must be a String, Boolean, Integer, Float, or an array of one of those types.


Copyright © 2012. All Rights Reserved.