Uses of Interface
uk.co.jemos.podam.common.AttributeStrategy
-
Packages that use AttributeStrategy Package Description uk.co.jemos.podam.api This package contains PODAM main APIsuk.co.jemos.podam.common This package contains PODAM common APIsuk.co.jemos.podam.typeManufacturers Contains Type Manufacturers. -
-
Uses of AttributeStrategy in uk.co.jemos.podam.api
Classes in uk.co.jemos.podam.api that implement AttributeStrategy Modifier and Type Class Description classObjectStrategyA default Object strategy, just to provide a default toPodamCollection.collectionElementStrategy().Fields in uk.co.jemos.podam.api declared as AttributeStrategy Modifier and Type Field Description private AttributeStrategy<?>MapKeyOrElementsArguments. elementStrategyThe strategy to use to fill the Map key or value element.Fields in uk.co.jemos.podam.api with type parameters of type AttributeStrategy Modifier and Type Field Description private Map<Class<?>,Map<String,AttributeStrategy<?>>>AbstractRandomDataProviderStrategy. attributeClassStrategiesMapping between attributes and attribute strategiesprivate Map<Class<? extends Annotation>,AttributeStrategy<?>>AbstractRandomDataProviderStrategy. attributeStrategiesMapping between annotations and attribute strategiesMethods in uk.co.jemos.podam.api that return AttributeStrategy Modifier and Type Method Description AttributeStrategy<?>MapKeyOrElementsArguments. getElementStrategy()AttributeStrategy<?>AbstractRandomDataProviderStrategy. getStrategyForAnnotation(Class<? extends Annotation> annotationClass)Finds attribute strategies for annotations.AttributeStrategy<?>DataProviderStrategy. getStrategyForAnnotation(Class<? extends Annotation> annotationClass)Finds attribute strategies for annotations.AttributeStrategy<?>AbstractRandomDataProviderStrategy. getStrategyForAttribute(ClassAttribute attribute)Finds attribute strategies for attribute.AttributeStrategy<?>DataProviderStrategy. getStrategyForAttribute(ClassAttribute attribute)Finds attribute strategies for attribute.Methods in uk.co.jemos.podam.api with parameters of type AttributeStrategy Modifier and Type Method Description RandomDataProviderStrategyAbstractRandomDataProviderStrategy. addOrReplaceAttributeStrategy(Class<?> type, String attributeName, AttributeStrategy<?> attributeStrategy)Registers @AttributeStrategy implementation, which will be used to instantiate objects of a specified type.RandomDataProviderStrategyAbstractRandomDataProviderStrategy. addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass, AttributeStrategy<?> attributeStrategy)Bind an annotation to attribute strategy class.DataProviderStrategyDataProviderStrategy. addOrReplaceAttributeStrategy(Class<?> type, String attributeName, AttributeStrategy<?> attributeStrategy)Registers @AttributeStrategy implementation, which will be used to instantiate objects of a specified type.RandomDataProviderStrategyRandomDataProviderStrategy. addOrReplaceAttributeStrategy(Class<? extends Annotation> annotationClass, AttributeStrategy<?> attributeStrategy)Bind an annotation to attribute strategy class.voidMapKeyOrElementsArguments. setElementStrategy(AttributeStrategy<?> elementStrategy) -
Uses of AttributeStrategy in uk.co.jemos.podam.common
Classes in uk.co.jemos.podam.common that implement AttributeStrategy Modifier and Type Class Description classBeanValidationStrategyThis strategy fills attributes and parameters annotated with Java bean validation annotationsMethods in uk.co.jemos.podam.common that return types with arguments of type AttributeStrategy Modifier and Type Method Description Class<? extends AttributeStrategy<?>>collectionElementStrategy()The strategy that will populate the annotated attribute.Class<? extends AttributeStrategy<?>>mapElementStrategy()The strategy that will populate a map element on an attribute of type Map.Class<? extends AttributeStrategy<?>>mapKeyStrategy()The strategy that will populate a map key on an attribute of type Map.Class<? extends AttributeStrategy<?>>value()The strategy that will populate the annotated attribute -
Uses of AttributeStrategy in uk.co.jemos.podam.typeManufacturers
Methods in uk.co.jemos.podam.typeManufacturers that return AttributeStrategy Modifier and Type Method Description static AttributeStrategy<?>TypeManufacturerUtil. findAttributeStrategy(DataProviderStrategy strategy, List<Annotation> annotations, Class<?> attributeType)It returns aAttributeStrategyif one was specified in annotations, ornullotherwise.Methods in uk.co.jemos.podam.typeManufacturers with parameters of type AttributeStrategy Modifier and Type Method Description static ObjectTypeManufacturerUtil. returnAttributeDataStrategyValue(Class<?> attributeType, List<Annotation> annotations, AttributeStrategy<?> attributeStrategy)It retrieves the value for thePodamStrategyValueannotation with which the attribute was annotatedMethod parameters in uk.co.jemos.podam.typeManufacturers with type arguments of type AttributeStrategy Modifier and Type Method Description static IntegerTypeManufacturerUtil. findCollectionSize(DataProviderStrategy strategy, List<Annotation> annotations, Class<?> collectionElementType, Holder<AttributeStrategy<?>> elementStrategyHolder, Holder<AttributeStrategy<?>> keyStrategyHolder)Searches for annotation with information about collection/map size and filling strategies
-