Enum BioMatchType
- java.lang.Object
-
- java.lang.Enum<BioMatchType>
-
- io.mosip.authentication.common.service.impl.match.BioMatchType
-
- All Implemented Interfaces:
MatchType,Serializable,Comparable<BioMatchType>
public enum BioMatchType extends Enum<BioMatchType> implements MatchType
Match type for Bio Entity- Author:
- Rakesh Roshan, Dinesh Karuppiah.T
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.mosip.authentication.core.spi.indauth.match.MatchType
MatchType.Category
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<MatchingStrategy>getAllowedMatchingStrategy(MatchingStrategyType matchStrategyType)Gets the allowed matching strategy.MatchType.CategorygetCategory()CbeffDocType[]getCbeffDocTypes()Gets the cbeff doc type.BiFunction<Map<String,String>,Map<String,Object>,Map<String,String>>getEntityInfoMapper()Gets the entity info.Function<RequestDTO,Map<String,List<IdentityInfoDTO>>>getIdentityInfoFunction()IdMappinggetIdMapping()static Map<String,List<IdentityInfoDTO>>getIdValuesMap(RequestDTO identityDto, BioMatchType... bioMatchTypes)Gets the id values map.BioMatchType[]getMatchTypesForSubIdMappings(Set<IdMapping> subIdMappings)Gets the match types for sub id mappings.io.mosip.kernel.biometrics.entities.SingleAnySubtypeTypegetSingleAnySubtype()Gets the single any subtype.io.mosip.kernel.biometrics.entities.SingleAnySubtypeTypegetSubType()Gets the sub type.Map<String,Map.Entry<String,List<IdentityInfoDTO>>>mapEntityInfo(Map<String,List<IdentityInfoDTO>> idEntity, IdInfoFetcher idinfoFetcher)static BioMatchTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BioMatchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface io.mosip.authentication.core.spi.indauth.match.MatchType
getIdentityInfoList, getReqestInfoFunction, hasIdEntityInfo, hasRequestEntityInfo, isDynamic, isMultiLanguage, isMultiLanguage, isPropMultiLang
-
-
-
-
Enum Constant Detail
-
FGRMIN_LEFT_THUMB
public static final BioMatchType FGRMIN_LEFT_THUMB
-
FGRMIN_LEFT_INDEX
public static final BioMatchType FGRMIN_LEFT_INDEX
-
FGRMIN_LEFT_MIDDLE
public static final BioMatchType FGRMIN_LEFT_MIDDLE
-
FGRMIN_LEFT_RING
public static final BioMatchType FGRMIN_LEFT_RING
-
FGRMIN_LEFT_LITTLE
public static final BioMatchType FGRMIN_LEFT_LITTLE
-
FGRMIN_RIGHT_THUMB
public static final BioMatchType FGRMIN_RIGHT_THUMB
-
FGRMIN_RIGHT_INDEX
public static final BioMatchType FGRMIN_RIGHT_INDEX
-
FGRMIN_RIGHT_MIDDLE
public static final BioMatchType FGRMIN_RIGHT_MIDDLE
-
FGRMIN_RIGHT_RING
public static final BioMatchType FGRMIN_RIGHT_RING
-
FGRMIN_RIGHT_LITTLE
public static final BioMatchType FGRMIN_RIGHT_LITTLE
-
FGRMIN_UNKNOWN
public static final BioMatchType FGRMIN_UNKNOWN
-
FGRIMG_LEFT_THUMB
public static final BioMatchType FGRIMG_LEFT_THUMB
-
FGRIMG_LEFT_INDEX
public static final BioMatchType FGRIMG_LEFT_INDEX
-
FGRIMG_LEFT_MIDDLE
public static final BioMatchType FGRIMG_LEFT_MIDDLE
-
FGRIMG_LEFT_RING
public static final BioMatchType FGRIMG_LEFT_RING
-
FGRIMG_LEFT_LITTLE
public static final BioMatchType FGRIMG_LEFT_LITTLE
-
FGRIMG_RIGHT_THUMB
public static final BioMatchType FGRIMG_RIGHT_THUMB
-
FGRIMG_RIGHT_INDEX
public static final BioMatchType FGRIMG_RIGHT_INDEX
-
FGRIMG_RIGHT_MIDDLE
public static final BioMatchType FGRIMG_RIGHT_MIDDLE
-
FGRIMG_RIGHT_RING
public static final BioMatchType FGRIMG_RIGHT_RING
-
FGRIMG_RIGHT_LITTLE
public static final BioMatchType FGRIMG_RIGHT_LITTLE
-
FGRIMG_UNKNOWN
public static final BioMatchType FGRIMG_UNKNOWN
-
FGRMIN_COMPOSITE
public static final BioMatchType FGRMIN_COMPOSITE
-
FGRMIN_MULTI
public static final BioMatchType FGRMIN_MULTI
-
FGRIMG_COMPOSITE
public static final BioMatchType FGRIMG_COMPOSITE
-
FGRIMG_MULTI
public static final BioMatchType FGRIMG_MULTI
-
RIGHT_IRIS
public static final BioMatchType RIGHT_IRIS
-
LEFT_IRIS
public static final BioMatchType LEFT_IRIS
-
IRIS_COMP
public static final BioMatchType IRIS_COMP
-
IRIS_UNKNOWN
public static final BioMatchType IRIS_UNKNOWN
-
FACE
public static final BioMatchType FACE
-
MULTI_MODAL
public static final BioMatchType MULTI_MODAL
-
-
Method Detail
-
values
public static BioMatchType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BioMatchType c : BioMatchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BioMatchType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMatchTypesForSubIdMappings
public BioMatchType[] getMatchTypesForSubIdMappings(Set<IdMapping> subIdMappings)
Gets the match types for sub id mappings.- Parameters:
subIdMappings- the sub id mappings- Returns:
- the match types for sub id mappings
-
getAllowedMatchingStrategy
public Optional<MatchingStrategy> getAllowedMatchingStrategy(MatchingStrategyType matchStrategyType)
Gets the allowed matching strategy.- Specified by:
getAllowedMatchingStrategyin interfaceMatchType- Parameters:
matchStrategyType- the match strategy type- Returns:
- the allowed matching strategy
-
getEntityInfoMapper
public BiFunction<Map<String,String>,Map<String,Object>,Map<String,String>> getEntityInfoMapper()
Gets the entity info.- Specified by:
getEntityInfoMapperin interfaceMatchType- Returns:
- the entity info
-
getIdMapping
public IdMapping getIdMapping()
- Specified by:
getIdMappingin interfaceMatchType
-
getIdentityInfoFunction
public Function<RequestDTO,Map<String,List<IdentityInfoDTO>>> getIdentityInfoFunction()
- Specified by:
getIdentityInfoFunctionin interfaceMatchType
-
getCategory
public MatchType.Category getCategory()
- Specified by:
getCategoryin interfaceMatchType
-
mapEntityInfo
public Map<String,Map.Entry<String,List<IdentityInfoDTO>>> mapEntityInfo(Map<String,List<IdentityInfoDTO>> idEntity, IdInfoFetcher idinfoFetcher) throws IdAuthenticationBusinessException
- Specified by:
mapEntityInfoin interfaceMatchType- Throws:
IdAuthenticationBusinessException
-
getCbeffDocTypes
public CbeffDocType[] getCbeffDocTypes()
Gets the cbeff doc type.- Returns:
- the cbeff doc type
-
getIdValuesMap
public static Map<String,List<IdentityInfoDTO>> getIdValuesMap(RequestDTO identityDto, BioMatchType... bioMatchTypes)
Gets the id values map.- Parameters:
identityDto- the identity dtobioMatchTypes- the bio match types- Returns:
- the id values map
-
getSubType
public io.mosip.kernel.biometrics.entities.SingleAnySubtypeType getSubType()
Gets the sub type.- Returns:
- the sub type
-
getSingleAnySubtype
public io.mosip.kernel.biometrics.entities.SingleAnySubtypeType getSingleAnySubtype()
Gets the single any subtype.- Returns:
- the single any subtype
-
-