Package uk.co.jemos.podam.api
Class MapArguments
- java.lang.Object
-
- uk.co.jemos.podam.api.AbstractMapArguments
-
- uk.co.jemos.podam.api.MapArguments
-
- All Implemented Interfaces:
Serializable
public class MapArguments extends AbstractMapArguments implements Serializable
Pojo which contains the arguments required to fill a Map as a POJO attribute- Author:
- Marco Tedone
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Class<?>elementClassThe type of the Map element.private Type[]elementGenericTypeArgsThe generic type arguments for the current element generic class instance.private Type[]keyGenericTypeArgsThe generic type arguments for the current key generic class instance.private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description MapArguments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getElementClass()Type[]getElementGenericTypeArgs()Type[]getKeyGenericTypeArgs()voidsetElementClass(Class<?> elementClass)voidsetElementGenericTypeArgs(Type[] elementGenericTypeArgs)voidsetKeyGenericTypeArgs(Type[] keyGenericTypeArgs)-
Methods inherited from class uk.co.jemos.podam.api.AbstractMapArguments
getAnnotations, getAttributeName, getKeyOrValueType, getMapToBeFilled, setAttributeName, setKeyOrValueType, setMapToBeFilled
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
elementClass
private Class<?> elementClass
The type of the Map element.
-
keyGenericTypeArgs
private Type[] keyGenericTypeArgs
The generic type arguments for the current key generic class instance.
-
elementGenericTypeArgs
private Type[] elementGenericTypeArgs
The generic type arguments for the current element generic class instance.
-
-
Method Detail
-
getElementClass
public Class<?> getElementClass()
- Returns:
- the elementClass
-
setElementClass
public void setElementClass(Class<?> elementClass)
- Parameters:
elementClass- the elementClass to set
-
getKeyGenericTypeArgs
public Type[] getKeyGenericTypeArgs()
- Returns:
- the keyGenericTypeArgs
-
setKeyGenericTypeArgs
public void setKeyGenericTypeArgs(Type[] keyGenericTypeArgs)
- Parameters:
keyGenericTypeArgs- the keyGenericTypeArgs to set
-
getElementGenericTypeArgs
public Type[] getElementGenericTypeArgs()
- Returns:
- the elementGenericTypeArgs
-
setElementGenericTypeArgs
public void setElementGenericTypeArgs(Type[] elementGenericTypeArgs)
- Parameters:
elementGenericTypeArgs- the elementGenericTypeArgs to set
-
-