Package com.aspectran.core.util.apon
Interface Parameters
-
- All Known Implementing Classes:
AbstractParameters,ActionParameters,AdviceActionParameters,AdviceParameters,AppendParameters,ArrayParameters,AspectParameters,AspectranConfig,AspectranParameters,BeanParameters,ChooseWhenParameters,ContentParameters,ContentsParameters,ContextAutoReloadConfig,ContextConfig,ContextProfilesConfig,DaemonConfig,DaemonPollerConfig,DispatchParameters,EmbedConfig,EntryParameters,EnvironmentParameters,ExceptionParameters,ExceptionThrownParameters,ExposalsConfig,FilterParameters,ForwardParameters,ItemHolderParameters,ItemParameters,JoinpointParameters,PointcutParameters,PointcutQualifierParameters,RedirectParameters,RequestParameters,ResponseParameters,RootParameters,ScheduledJobParameters,ScheduleParameters,SchedulerConfig,SchedulerParameters,SessionFileStoreConfig,SessionManagerConfig,SettingParameters,SettingsParameters,ShellConfig,TemplateParameters,TransformParameters,TransletParameters,TriggerExpressionParameters,TriggerParameters,TypeAliasesParameters,TypeAliasParameters,VariableParameters,WebConfig
public interface ParametersThe Interface Parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearValue(ParameterKey parameterKey)voidclearValue(java.lang.String name)java.lang.Stringdescribe()java.lang.Stringdescribe(boolean details)java.lang.StringgetActualName()Returns its real name.java.lang.BooleangetBoolean(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.booleangetBoolean(ParameterKey parameterKey, boolean defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.BooleangetBoolean(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.booleangetBoolean(java.lang.String name, boolean defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.Boolean[]getBooleanArray(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.Boolean[]getBooleanArray(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Boolean>getBooleanList(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Boolean>getBooleanList(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.DoublegetDouble(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.doublegetDouble(ParameterKey parameterKey, double defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.DoublegetDouble(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.doublegetDouble(java.lang.String name, double defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.Double[]getDoubleArray(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.Double[]getDoubleArray(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Double>getDoubleList(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Double>getDoubleList(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.FloatgetFloat(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.floatgetFloat(ParameterKey parameterKey, float defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.FloatgetFloat(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.floatgetFloat(java.lang.String name, float defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.Float[]getFloatArray(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.Float[]getFloatArray(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Float>getFloatList(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Float>getFloatList(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.IntegergetInt(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.intgetInt(ParameterKey parameterKey, int defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.IntegergetInt(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.intgetInt(java.lang.String name, int defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.Integer[]getIntArray(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.Integer[]getIntArray(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Integer>getIntList(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Integer>getIntList(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.LonggetLong(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.longgetLong(ParameterKey parameterKey, long defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.LonggetLong(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.longgetLong(java.lang.String name, long defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.Long[]getLongArray(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.Long[]getLongArray(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Long>getLongList(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.Long>getLongList(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.ParametergetParameter(ParameterKey parameterKey)Returns the Parameter corresponding to the specified parameter definition.ParametergetParameter(java.lang.String name)Returns the Parameter with the specified name.java.lang.String[]getParameterNames()Returns all the parameter names associated with this Parameters.java.util.Set<java.lang.String>getParameterNameSet()Returns all the parameter names associated with this Parameters.<T extends Parameters>
TgetParameters(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.<T extends Parameters>
TgetParameters(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.<T extends Parameters>
T[]getParametersArray(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.<T extends Parameters>
T[]getParametersArray(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.<T extends Parameters>
java.util.List<T>getParametersList(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.<T extends Parameters>
java.util.List<T>getParametersList(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.ParameterValuegetParameterValue(java.lang.String name)java.util.Map<java.lang.String,ParameterValue>getParameterValueMap()Returns a map of theParameterValues.ParametergetParent()Returns the parent of the proprietor of this Parameters.ParametergetProprietor()Returns the owner of this Parameters.java.lang.StringgetQualifiedName()Returns the qualified name.java.lang.StringgetString(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.StringgetString(ParameterKey parameterKey, java.lang.String defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.StringgetString(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.StringgetString(java.lang.String name, java.lang.String defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.java.lang.String[]getStringArray(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.String[]getStringArray(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.String>getStringList(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.util.List<java.lang.String>getStringList(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.ObjectgetValue(ParameterKey parameterKey)Return the value for the specified parameter, ornullif the parameter does not exist.java.lang.ObjectgetValue(java.lang.String name)Return the value for the specified parameter, ornullif the parameter does not exist.booleanhasParameter(ParameterKey parameterKey)Returns whether the specified parameter exists.booleanhasParameter(java.lang.String name)Returns whether this parameter exists.booleanhasValue(ParameterKey parameterKey)Returns whether a non-null value is assigned to the specified parameter.booleanhasValue(java.lang.String name)Returns whether a non-null value is assigned to the specified parameter.booleanisAssigned(ParameterKey parameterKey)Returns whether a value is assigned to the specified parameter.booleanisAssigned(java.lang.String name)Returns whether a value is assigned to the specified parameter.booleanisStructureFixed()Returns whether the parameter can be added after the parameters instance is created.<T extends Parameters>
TnewParameters(ParameterKey parameterKey)<T extends Parameters>
TnewParameters(java.lang.String name)ParameterValuenewParameterValue(java.lang.String name, ValueType valueType)ParameterValuenewParameterValue(java.lang.String name, ValueType valueType, boolean array)voidputAll(Parameters parameters)voidputValue(ParameterKey parameterKey, java.lang.Object value)Put a value into the Parameter with the specified parameter definition.voidputValue(java.lang.String name, java.lang.Object value)Put a value into the Parameter with the specified name.voidputValueNonNull(ParameterKey parameterKey, java.lang.Object value)Put a value of the parameter corresponding to the given parameter definition.voidputValueNonNull(java.lang.String name, java.lang.Object value)Put a value of the parameter corresponding to the given name.voidreadFrom(java.lang.String text)voidsetActualName(java.lang.String actualName)Specifies the actual name of this Parameters.voidsetProprietor(Parameter proprietor)Specifies the owner of this Parameters.<T extends Parameters>
TtouchParameters(ParameterKey parameterKey)<T extends Parameters>
TtouchParameters(java.lang.String name)voidupdateContainer(Parameters container)Updates the holder of the subparameters belonging to this parameter.
-
-
-
Method Detail
-
isStructureFixed
boolean isStructureFixed()
Returns whether the parameter can be added after the parameters instance is created.- Returns:
trueif the parameter can be added after the parameters instance is created, otherwisefalse
-
getProprietor
Parameter getProprietor()
Returns the owner of this Parameters.- Returns:
- the owner of this Parameters
-
setProprietor
void setProprietor(Parameter proprietor)
Specifies the owner of this Parameters.- Parameters:
proprietor- the owner of this Parameters
-
getParent
Parameter getParent()
Returns the parent of the proprietor of this Parameters.proprietor --> container --> proprietor == parent
- Returns:
- a
Parameter
-
getActualName
java.lang.String getActualName()
Returns its real name. If no name is given, it returns the name given by the owner.- Returns:
- the actual name of this Parameters
-
setActualName
void setActualName(java.lang.String actualName)
Specifies the actual name of this Parameters.- Parameters:
actualName- the actual name of this Parameters
-
getQualifiedName
java.lang.String getQualifiedName()
Returns the qualified name.- Returns:
- the qualified name
-
getParameterValue
ParameterValue getParameterValue(java.lang.String name)
-
getParameterValueMap
java.util.Map<java.lang.String,ParameterValue> getParameterValueMap()
Returns a map of theParameterValues.- Returns:
- a map of the
ParameterValues
-
getParameterNames
java.lang.String[] getParameterNames()
Returns all the parameter names associated with this Parameters.- Returns:
- an array of all parameter names associated with this Parameters
-
getParameterNameSet
java.util.Set<java.lang.String> getParameterNameSet()
Returns all the parameter names associated with this Parameters.- Returns:
- the Set with all parameter names associated with this Parameters
-
hasParameter
boolean hasParameter(java.lang.String name)
Returns whether this parameter exists.- Parameters:
name- the name of the parameter to check- Returns:
trueif the specified parameter exists;falseotherwise
-
hasParameter
boolean hasParameter(ParameterKey parameterKey)
Returns whether the specified parameter exists.- Parameters:
parameterKey- the parameter definition- Returns:
trueif the specified parameter exists;falseotherwise
-
isAssigned
boolean isAssigned(java.lang.String name)
Returns whether a value is assigned to the specified parameter. Even if a null is assigned, it is valid.- Parameters:
name- the name of the parameter to check- Returns:
trueif a parameter is assigned a value;falseotherwise
-
isAssigned
boolean isAssigned(ParameterKey parameterKey)
Returns whether a value is assigned to the specified parameter. Even if a null is assigned, it is valid.- Parameters:
parameterKey- the parameter definition- Returns:
trueif a parameter is assigned a value;falseotherwise
-
hasValue
boolean hasValue(java.lang.String name)
Returns whether a non-null value is assigned to the specified parameter.- Parameters:
name- the name of the parameter to check- Returns:
trueif a non-null value is assigned a value;falseotherwise
-
hasValue
boolean hasValue(ParameterKey parameterKey)
Returns whether a non-null value is assigned to the specified parameter.- Parameters:
parameterKey- the parameter definition- Returns:
trueif a non-null value is assigned a value;falseotherwise
-
getParameter
Parameter getParameter(java.lang.String name)
Returns the Parameter with the specified name.- Parameters:
name- the parameter name- Returns:
- the Parameter with the specified name, or
nullif it does not exist
-
getParameter
Parameter getParameter(ParameterKey parameterKey)
Returns the Parameter corresponding to the specified parameter definition.- Parameters:
parameterKey- the parameter definition- Returns:
- the Parameter corresponding to the specified parameter definition,
or
nullif it does not exist
-
getValue
java.lang.Object getValue(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getValue
java.lang.Object getValue(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
putAll
void putAll(Parameters parameters)
-
putValue
void putValue(java.lang.String name, java.lang.Object value)Put a value into the Parameter with the specified name.- Parameters:
name- the parameter namevalue- the value of parameter
-
putValue
void putValue(ParameterKey parameterKey, java.lang.Object value)
Put a value into the Parameter with the specified parameter definition.- Parameters:
parameterKey- the parameter definitionvalue- the value of parameter
-
putValueNonNull
void putValueNonNull(java.lang.String name, java.lang.Object value)Put a value of the parameter corresponding to the given name. If the value is null, ignore it.- Parameters:
name- the parameter namevalue- the value of parameter
-
putValueNonNull
void putValueNonNull(ParameterKey parameterKey, java.lang.Object value)
Put a value of the parameter corresponding to the given parameter definition. If the value is null, ignore it.- Parameters:
parameterKey- the parameter definitionvalue- the value of parameter
-
clearValue
void clearValue(java.lang.String name)
-
clearValue
void clearValue(ParameterKey parameterKey)
-
getString
java.lang.String getString(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getString
java.lang.String getString(java.lang.String name, java.lang.String defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
name- the parameter namedefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getStringArray
java.lang.String[] getStringArray(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getString
java.lang.String getString(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getString
java.lang.String getString(ParameterKey parameterKey, java.lang.String defaultValue)
Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
parameterKey- the parameter definitiondefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getStringArray
java.lang.String[] getStringArray(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getStringList
java.util.List<java.lang.String> getStringList(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getStringList
java.util.List<java.lang.String> getStringList(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getInt
java.lang.Integer getInt(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getInt
int getInt(java.lang.String name, int defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
name- the parameter namedefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getIntArray
java.lang.Integer[] getIntArray(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getInt
java.lang.Integer getInt(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getInt
int getInt(ParameterKey parameterKey, int defaultValue)
Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
parameterKey- the parameter definitiondefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getIntArray
java.lang.Integer[] getIntArray(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getIntList
java.util.List<java.lang.Integer> getIntList(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getIntList
java.util.List<java.lang.Integer> getIntList(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLong
java.lang.Long getLong(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getLong
long getLong(java.lang.String name, long defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
name- the parameter namedefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getLongArray
java.lang.Long[] getLongArray(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getLong
java.lang.Long getLong(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLong
long getLong(ParameterKey parameterKey, long defaultValue)
Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
parameterKey- the parameter definitiondefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getLongArray
java.lang.Long[] getLongArray(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getLongList
java.util.List<java.lang.Long> getLongList(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getLongList
java.util.List<java.lang.Long> getLongList(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloat
java.lang.Float getFloat(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getFloat
float getFloat(java.lang.String name, float defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
name- the parameter namedefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getFloatArray
java.lang.Float[] getFloatArray(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getFloat
java.lang.Float getFloat(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloat
float getFloat(ParameterKey parameterKey, float defaultValue)
Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
parameterKey- the parameter definitiondefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getFloatArray
java.lang.Float[] getFloatArray(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getFloatList
java.util.List<java.lang.Float> getFloatList(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getFloatList
java.util.List<java.lang.Float> getFloatList(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDouble
java.lang.Double getDouble(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getDouble
double getDouble(java.lang.String name, double defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
name- the parameter namedefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getDoubleArray
java.lang.Double[] getDoubleArray(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getDouble
java.lang.Double getDouble(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDouble
double getDouble(ParameterKey parameterKey, double defaultValue)
Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
parameterKey- the parameter definitiondefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getDoubleArray
java.lang.Double[] getDoubleArray(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getDoubleList
java.util.List<java.lang.Double> getDoubleList(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getDoubleList
java.util.List<java.lang.Double> getDoubleList(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBoolean
java.lang.Boolean getBoolean(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getBoolean
boolean getBoolean(java.lang.String name, boolean defaultValue)Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
name- the parameter namedefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getBooleanArray
java.lang.Boolean[] getBooleanArray(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getBoolean
java.lang.Boolean getBoolean(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBoolean
boolean getBoolean(ParameterKey parameterKey, boolean defaultValue)
Return the value for the specified parameter, ordefaultValueif the parameter does not exist.- Parameters:
parameterKey- the parameter definitiondefaultValue- the default value to return if no value is found- Returns:
- the value for the specified parameter, or
defaultValue
-
getBooleanArray
java.lang.Boolean[] getBooleanArray(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getBooleanList
java.util.List<java.lang.Boolean> getBooleanList(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getBooleanList
java.util.List<java.lang.Boolean> getBooleanList(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParameters
<T extends Parameters> T getParameters(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Type Parameters:
T- the type parameter- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getParametersArray
<T extends Parameters> T[] getParametersArray(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Type Parameters:
T- the type parameter- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getParameters
<T extends Parameters> T getParameters(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Type Parameters:
T- the type parameter- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParametersArray
<T extends Parameters> T[] getParametersArray(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Type Parameters:
T- the type parameter- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
getParametersList
<T extends Parameters> java.util.List<T> getParametersList(java.lang.String name)
Return the value for the specified parameter, ornullif the parameter does not exist.- Type Parameters:
T- the type parameter- Parameters:
name- the parameter name- Returns:
- the value for the specified parameter, or
null
-
getParametersList
<T extends Parameters> java.util.List<T> getParametersList(ParameterKey parameterKey)
Return the value for the specified parameter, ornullif the parameter does not exist.- Type Parameters:
T- the type parameter- Parameters:
parameterKey- the parameter definition- Returns:
- the value for the specified parameter, or
null
-
newParameterValue
ParameterValue newParameterValue(java.lang.String name, ValueType valueType)
-
newParameterValue
ParameterValue newParameterValue(java.lang.String name, ValueType valueType, boolean array)
-
newParameters
<T extends Parameters> T newParameters(java.lang.String name)
-
newParameters
<T extends Parameters> T newParameters(ParameterKey parameterKey)
-
touchParameters
<T extends Parameters> T touchParameters(java.lang.String name)
-
touchParameters
<T extends Parameters> T touchParameters(ParameterKey parameterKey)
-
updateContainer
void updateContainer(Parameters container)
Updates the holder of the subparameters belonging to this parameter.
-
readFrom
void readFrom(java.lang.String text) throws java.io.IOException- Throws:
java.io.IOException
-
describe
java.lang.String describe()
-
describe
java.lang.String describe(boolean details)
-
-