Class INamedParameters.NamedPair
- java.lang.Object
-
- org.apache.wicket.request.mapper.parameter.INamedParameters.NamedPair
-
- All Implemented Interfaces:
Serializable
,IClusterable
- Enclosing interface:
- INamedParameters
public static class INamedParameters.NamedPair extends Object implements IClusterable
Represents a named parameter entry. There can be multipleINamedParameters.NamedPair
s inPageParameters
that have same key.- Author:
- Matej Knopp
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getKey()
INamedParameters.Type
getType()
String
getValue()
int
hashCode()
-
-
-
Constructor Detail
-
NamedPair
public NamedPair(String key, String value)
Creates a named parameter entry that is set manually in the application code.- Parameters:
key
-value
-
-
NamedPair
public NamedPair(String key, String value, INamedParameters.Type type)
Creates a named parameter entry- Parameters:
key
-value
-type
-
-
-
Method Detail
-
getType
public INamedParameters.Type getType()
- Returns:
- type
-
-