Class AbstractParameters

java.lang.Object
com.aspectran.utils.apon.AbstractParameters
All Implemented Interfaces:
Parameters
Direct Known Subclasses:
ActionParameters, AdviceActionParameters, AdviceParameters, AppendParameters, ArrayParameters, AspectParameters, AspectranConfig, AspectranParameters, BeanParameters, ChooseWhenParameters, CommandParameters, ContentParameters, ContentsParameters, ContextAutoReloadConfig, ContextConfig, ContextProfilesConfig, DaemonConfig, DaemonExecutorConfig, DaemonPollingConfig, DescriptionParameters, DispatchParameters, EmbedConfig, EntryParameters, EnvironmentParameters, ExceptionParameters, ExceptionThrownParameters, ExposalsConfig, FilterParameters, ForwardParameters, ItemHolderParameters, ItemParameters, JoinpointParameters, PointcutParameters, PointcutQualifierParameters, RedirectParameters, RequestParameters, ResourcePathPatterns, ResponseParameters, RootParameters, ScheduledJobParameters, ScheduleParameters, SchedulerConfig, SchedulerParameters, SessionFileStoreConfig, SessionManagerConfig, SettingParameters, SettingsParameters, ShellConfig, ShellStyleConfig, SystemConfig, TemplateParameters, TransformParameters, TransletParameters, TriggerExpressionParameters, TriggerParameters, TypeAliasesParameters, TypeAliasParameters, VariableParameters, WebConfig

public abstract class AbstractParameters extends Object implements Parameters
  • Constructor Details

    • AbstractParameters

      protected AbstractParameters(ParameterKey[] parameterKeys)
  • Method Details

    • isStructureFixed

      public boolean isStructureFixed()
      Description copied from interface: Parameters
      Returns whether the parameter can be added after the parameters instance is created.
      Specified by:
      isStructureFixed in interface Parameters
      Returns:
      true if the parameter can be added after the parameters instance is created, otherwise false
    • getProprietor

      public Parameter getProprietor()
      Description copied from interface: Parameters
      Returns the owner of this Parameters.
      Specified by:
      getProprietor in interface Parameters
      Returns:
      the owner of this Parameters
    • setProprietor

      public void setProprietor(Parameter proprietor)
      Description copied from interface: Parameters
      Specifies the owner of this Parameters.
      Specified by:
      setProprietor in interface Parameters
      Parameters:
      proprietor - the owner of this Parameters
    • getParent

      public Parameter getParent()
      Description copied from interface: Parameters
      Returns the parent of the proprietor of this Parameters.
       proprietor --> container --> proprietor == parent
       
      Specified by:
      getParent in interface Parameters
      Returns:
      a Parameter
    • getActualName

      public String getActualName()
      Description copied from interface: Parameters
      Returns its real name. If no name is given, it returns the name given by the owner.
      Specified by:
      getActualName in interface Parameters
      Returns:
      the actual name of this Parameters
    • setActualName

      public void setActualName(String actualName)
      Description copied from interface: Parameters
      Specifies the actual name of this Parameters.
      Specified by:
      setActualName in interface Parameters
      Parameters:
      actualName - the actual name of this Parameters
    • getQualifiedName

      public String getQualifiedName()
      Description copied from interface: Parameters
      Returns the qualified name.
      Specified by:
      getQualifiedName in interface Parameters
      Returns:
      the qualified name
    • getParameterValue

      public ParameterValue getParameterValue(String name)
      Specified by:
      getParameterValue in interface Parameters
    • getParameterValueMap

      @NonNull public Map<String,ParameterValue> getParameterValueMap()
      Description copied from interface: Parameters
      Returns a map of the ParameterValues.
      Specified by:
      getParameterValueMap in interface Parameters
      Returns:
      a map of the ParameterValues
    • getParameterNames

      @NonNull public String[] getParameterNames()
      Description copied from interface: Parameters
      Returns all the parameter names associated with this Parameters.
      Specified by:
      getParameterNames in interface Parameters
      Returns:
      an array of all parameter names associated with this Parameters
    • getParameterNameSet

      @NonNull public Set<String> getParameterNameSet()
      Description copied from interface: Parameters
      Returns all the parameter names associated with this Parameters.
      Specified by:
      getParameterNameSet in interface Parameters
      Returns:
      the Set with all parameter names associated with this Parameters
    • hasParameter

      public boolean hasParameter(String name)
      Description copied from interface: Parameters
      Returns whether this parameter exists.
      Specified by:
      hasParameter in interface Parameters
      Parameters:
      name - the name of the parameter to check
      Returns:
      true if the specified parameter exists; false otherwise
    • hasParameter

      public boolean hasParameter(ParameterKey key)
      Description copied from interface: Parameters
      Returns whether the specified parameter exists.
      Specified by:
      hasParameter in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      true if the specified parameter exists; false otherwise
    • isAssigned

      public boolean isAssigned(String name)
      Description copied from interface: Parameters
      Returns whether a value is assigned to the specified parameter. Even if a null is assigned, it is valid.
      Specified by:
      isAssigned in interface Parameters
      Parameters:
      name - the name of the parameter to check
      Returns:
      true if a parameter is assigned a value; false otherwise
    • isAssigned

      public boolean isAssigned(ParameterKey key)
      Description copied from interface: Parameters
      Returns whether a value is assigned to the specified parameter. Even if a null is assigned, it is valid.
      Specified by:
      isAssigned in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      true if a parameter is assigned a value; false otherwise
    • hasValue

      public boolean hasValue(String name)
      Description copied from interface: Parameters
      Returns whether a non-null value is assigned to the specified parameter.
      Specified by:
      hasValue in interface Parameters
      Parameters:
      name - the name of the parameter to check
      Returns:
      true if a non-null value is assigned a value; false otherwise
    • hasValue

      public boolean hasValue(ParameterKey key)
      Description copied from interface: Parameters
      Returns whether a non-null value is assigned to the specified parameter.
      Specified by:
      hasValue in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      true if a non-null value is assigned a value; false otherwise
    • getParameter

      public Parameter getParameter(String name)
      Description copied from interface: Parameters
      Returns the Parameter with the specified name.
      Specified by:
      getParameter in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the Parameter with the specified name, or null if it does not exist
    • getParameter

      public Parameter getParameter(ParameterKey key)
      Description copied from interface: Parameters
      Returns the Parameter corresponding to the specified parameter definition.
      Specified by:
      getParameter in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the Parameter corresponding to the specified parameter definition, or null if it does not exist
    • getValue

      public Object getValue(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getValue in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getValue

      public Object getValue(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getValue in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • setValue

      public void setValue(String name, Object value)
      Description copied from interface: Parameters
      Put a value into the Parameter with the specified name. If there is an existing value, remove it and put it.
      Specified by:
      setValue in interface Parameters
      Parameters:
      name - the parameter name
      value - the value of parameter
    • setValue

      public void setValue(ParameterKey key, Object value)
      Description copied from interface: Parameters
      Put a value into the Parameter with the specified parameter definition. If there is an existing value, remove it and put it.
      Specified by:
      setValue in interface Parameters
      Parameters:
      key - the parameter definition
      value - the value of parameter
    • putAll

      public void putAll(Parameters parameters)
      Specified by:
      putAll in interface Parameters
    • putValue

      public void putValue(String name, Object value)
      Description copied from interface: Parameters
      Put a value into the Parameter with the specified name.
      Specified by:
      putValue in interface Parameters
      Parameters:
      name - the parameter name
      value - the value of parameter
    • putValue

      public void putValue(ParameterKey key, Object value)
      Description copied from interface: Parameters
      Put a value into the Parameter with the specified parameter definition.
      Specified by:
      putValue in interface Parameters
      Parameters:
      key - the parameter definition
      value - the value of parameter
    • putValueNonNull

      public void putValueNonNull(String name, Object value)
      Description copied from interface: Parameters
      Put a value of the parameter corresponding to the given name. If the value is null, ignore it.
      Specified by:
      putValueNonNull in interface Parameters
      Parameters:
      name - the parameter name
      value - the value of parameter
    • putValueNonNull

      public void putValueNonNull(ParameterKey key, Object value)
      Description copied from interface: Parameters
      Put a value of the parameter corresponding to the given parameter definition. If the value is null, ignore it.
      Specified by:
      putValueNonNull in interface Parameters
      Parameters:
      key - the parameter definition
      value - the value of parameter
    • removeValue

      public void removeValue(String name)
      Description copied from interface: Parameters
      Remove the value of this parameter.
      Specified by:
      removeValue in interface Parameters
      Parameters:
      name - the parameter name
    • removeValue

      public void removeValue(ParameterKey key)
      Description copied from interface: Parameters
      Remove the value of this parameter.
      Specified by:
      removeValue in interface Parameters
      Parameters:
      key - the parameter key
    • getString

      public String getString(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getString in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getString

      public String getString(String name, String defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getString in interface Parameters
      Parameters:
      name - the parameter name
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getString

      public String getString(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getString in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getString

      public String getString(ParameterKey key, String defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getString in interface Parameters
      Parameters:
      key - the parameter definition
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getStringArray

      public String[] getStringArray(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getStringArray in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getStringArray

      public String[] getStringArray(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getStringArray in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getStringList

      public List<String> getStringList(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getStringList in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getStringList

      public List<String> getStringList(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getStringList in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getInt

      public Integer getInt(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getInt in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getInt

      public int getInt(String name, int defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getInt in interface Parameters
      Parameters:
      name - the parameter name
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getIntArray

      public Integer[] getIntArray(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getIntArray in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getInt

      public Integer getInt(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getInt in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getInt

      public int getInt(ParameterKey key, int defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getInt in interface Parameters
      Parameters:
      key - the parameter definition
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getIntArray

      public Integer[] getIntArray(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getIntArray in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getIntList

      public List<Integer> getIntList(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getIntList in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getIntList

      public List<Integer> getIntList(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getIntList in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getLong

      public Long getLong(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getLong in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getLong

      public long getLong(String name, long defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getLong in interface Parameters
      Parameters:
      name - the parameter name
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getLong

      public Long getLong(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getLong in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getLong

      public long getLong(ParameterKey key, long defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getLong in interface Parameters
      Parameters:
      key - the parameter definition
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getLongArray

      public Long[] getLongArray(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getLongArray in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getLongArray

      public Long[] getLongArray(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getLongArray in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getLongList

      public List<Long> getLongList(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getLongList in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getLongList

      public List<Long> getLongList(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getLongList in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getFloat

      public Float getFloat(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getFloat in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getFloat

      public float getFloat(String name, float defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getFloat in interface Parameters
      Parameters:
      name - the parameter name
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getFloat

      public Float getFloat(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getFloat in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getFloat

      public float getFloat(ParameterKey key, float defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getFloat in interface Parameters
      Parameters:
      key - the parameter definition
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getFloatArray

      public Float[] getFloatArray(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getFloatArray in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getFloatArray

      public Float[] getFloatArray(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getFloatArray in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getFloatList

      public List<Float> getFloatList(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getFloatList in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getFloatList

      public List<Float> getFloatList(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getFloatList in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getDouble

      public Double getDouble(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getDouble in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getDouble

      public double getDouble(String name, double defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getDouble in interface Parameters
      Parameters:
      name - the parameter name
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getDouble

      public Double getDouble(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getDouble in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getDouble

      public double getDouble(ParameterKey key, double defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getDouble in interface Parameters
      Parameters:
      key - the parameter definition
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getDoubleArray

      public Double[] getDoubleArray(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getDoubleArray in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getDoubleArray

      public Double[] getDoubleArray(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getDoubleArray in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getDoubleList

      public List<Double> getDoubleList(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getDoubleList in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getDoubleList

      public List<Double> getDoubleList(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getDoubleList in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getBoolean

      public Boolean getBoolean(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getBoolean in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getBoolean

      public boolean getBoolean(String name, boolean defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getBoolean in interface Parameters
      Parameters:
      name - the parameter name
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getBoolean

      public Boolean getBoolean(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getBoolean in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getBoolean

      public boolean getBoolean(ParameterKey key, boolean defaultValue)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or defaultValue if the parameter does not exist.
      Specified by:
      getBoolean in interface Parameters
      Parameters:
      key - the parameter definition
      defaultValue - the default value to return if no value is found
      Returns:
      the value for the specified parameter, or defaultValue
    • getBooleanArray

      public Boolean[] getBooleanArray(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getBooleanArray in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getBooleanArray

      public Boolean[] getBooleanArray(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getBooleanArray in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getBooleanList

      public List<Boolean> getBooleanList(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getBooleanList in interface Parameters
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getBooleanList

      public List<Boolean> getBooleanList(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getBooleanList in interface Parameters
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getParameters

      public <T extends Parameters> T getParameters(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getParameters in interface Parameters
      Type Parameters:
      T - the type parameter
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getParameters

      public <T extends Parameters> T getParameters(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getParameters in interface Parameters
      Type Parameters:
      T - the type parameter
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getParametersArray

      public <T extends Parameters> T[] getParametersArray(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getParametersArray in interface Parameters
      Type Parameters:
      T - the type parameter
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getParametersArray

      public <T extends Parameters> T[] getParametersArray(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getParametersArray in interface Parameters
      Type Parameters:
      T - the type parameter
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • getParametersList

      public <T extends Parameters> List<T> getParametersList(String name)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getParametersList in interface Parameters
      Type Parameters:
      T - the type parameter
      Parameters:
      name - the parameter name
      Returns:
      the value for the specified parameter, or null
    • getParametersList

      public <T extends Parameters> List<T> getParametersList(ParameterKey key)
      Description copied from interface: Parameters
      Return the value for the specified parameter, or null if the parameter does not exist.
      Specified by:
      getParametersList in interface Parameters
      Type Parameters:
      T - the type parameter
      Parameters:
      key - the parameter definition
      Returns:
      the value for the specified parameter, or null
    • newParameterValue

      public ParameterValue newParameterValue(String name, ValueType valueType)
      Specified by:
      newParameterValue in interface Parameters
    • newParameterValue

      public ParameterValue newParameterValue(String name, ValueType valueType, boolean array)
      Specified by:
      newParameterValue in interface Parameters
    • newParameters

      public <T extends Parameters> T newParameters(String name)
      Specified by:
      newParameters in interface Parameters
    • newParameters

      public <T extends Parameters> T newParameters(ParameterKey key)
      Specified by:
      newParameters in interface Parameters
    • touchParameters

      public <T extends Parameters> T touchParameters(String name)
      Specified by:
      touchParameters in interface Parameters
    • touchParameters

      public <T extends Parameters> T touchParameters(ParameterKey key)
      Specified by:
      touchParameters in interface Parameters
    • updateContainer

      public void updateContainer(@NonNull Parameters container)
      Description copied from interface: Parameters
      Updates the holder of the subparameters belonging to this parameter.
      Specified by:
      updateContainer in interface Parameters
    • readFrom

      public void readFrom(String apon) throws AponParseException
      Specified by:
      readFrom in interface Parameters
      Throws:
      AponParseException
    • readFrom

      public void readFrom(VariableParameters parameters) throws AponParseException
      Specified by:
      readFrom in interface Parameters
      Throws:
      AponParseException
    • readFrom

      public void readFrom(File file) throws AponParseException
      Specified by:
      readFrom in interface Parameters
      Throws:
      AponParseException
    • readFrom

      public void readFrom(File file, String encoding) throws AponParseException
      Specified by:
      readFrom in interface Parameters
      Throws:
      AponParseException
    • readFrom

      public void readFrom(Reader reader) throws AponParseException
      Specified by:
      readFrom in interface Parameters
      Throws:
      AponParseException
    • describe

      public String describe()
      Specified by:
      describe in interface Parameters
    • describe

      public String describe(boolean details)
      Specified by:
      describe in interface Parameters
    • toString

      public String toString()
      Overrides:
      toString in class Object