csdk.v1_0.helper.command.parameters
Class ListParameterValue<T>
java.lang.Object
csdk.v1_0.helper.command.parameters.AbstractParameterValue<List<T>>
csdk.v1_0.helper.command.parameters.ListParameterValue<T>
- Type Parameters:
T - tipo do valor da lista.
- All Implemented Interfaces:
- IParameterValue<List<T>>
- Direct Known Subclasses:
- DoubleListParameterValue, EnumerationListParameterValue, IntegerListParameterValue, TextListParameterValue
public abstract class ListParameterValue<T>
- extends AbstractParameterValue<List<T>>
Valor genérico para parâmetros do tipo List de um tipo .
ListParameterValue
public ListParameterValue()
- Construtor.
ListParameterValue
public ListParameterValue(List<T> values)
- Construtor.
- Parameters:
values - lista de valores.
ListParameterValue
public ListParameterValue(T[] values)
- Construtor.
- Parameters:
values - array de valores.
addValue
public void addValue(T value)
- Adiciona um novo valor à lista.
- Parameters:
value - o valor.
getValueConverter
protected ParameterValueConverter<List<T>> getValueConverter()
- Obtém o conversor do tipo do valor para string.
- Overrides:
getValueConverter in class AbstractParameterValue<List<T>>
- Returns:
- value o conversor.
getSingleValueConverter
protected ParameterValueConverter<T> getSingleValueConverter()
- Obtém o conversor de uma unidade do tipo para string.
- Returns:
- o conversor.
Copyright © 2013–2015 Tecgraf/PUC-Rio. All rights reserved.