Class TransformationSpec


  • public class TransformationSpec
    extends Object
    Data class used by TransformationMapper instances to return desired mapping data.
    Author:
    Peter Skopek
    • Field Detail

      • HIGH_STRENGTH

        public static int HIGH_STRENGTH
      • MEDIUM_STRENGTH

        public static int MEDIUM_STRENGTH
      • LOW_STRENGTH

        public static int LOW_STRENGTH
      • NO_KEY

        public static int NO_KEY
      • transformation

        private String transformation
      • provider

        private String provider
      • strength

        private int strength
      • keyLength

        private int keyLength
    • Constructor Detail

      • TransformationSpec

        public TransformationSpec​(String token,
                                  String transformation,
                                  int keyLength,
                                  int strength,
                                  String provider)
        Parameters:
        token -
        transformation -
        strength -
        provider -
    • Method Detail

      • getKeyLength

        public int getKeyLength()
        Returns:
        the keyLength
      • getToken

        public String getToken()
        Returns:
        the token
      • getTransformation

        public String getTransformation()
        Returns:
        the transformation
      • getProvider

        public String getProvider()
        Returns:
        the provider
      • getStrength

        public int getStrength()
        Returns:
        the strength