Class CustomPasswordData

java.lang.Object
eirb.pub.app.display.javafx.view.vault.viewer.CustomPasswordData
All Implemented Interfaces:
Serializable

public class CustomPasswordData extends Object implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomPasswordData(int numberSymbol, boolean majus, boolean minus, boolean num, boolean specialSymbol)
    Constructor to initialize the custom password data configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Getter for the number of symbols.
    boolean
    Getter for the uppercase letter inclusion flag.
    boolean
    Getter for the lowercase letter inclusion flag.
    boolean
    Getter for the number inclusion flag.
    boolean
    Getter for the special symbol inclusion flag.
    void
    setMajus(boolean majus)
    Setter for the uppercase letter inclusion flag.
    void
    setMinus(boolean minus)
    Setter for the lowercase letter inclusion flag.
    void
    setNumberSymbole(int numberSymbol)
    Setter for the number of symbols.
    void
    setSpecialSymbol(boolean specialSymbol)
    Setter for the special symbol inclusion flag.
    Provides a string representation of the custom password data configuration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CustomPasswordData

      public CustomPasswordData(int numberSymbol, boolean majus, boolean minus, boolean num, boolean specialSymbol)
      Constructor to initialize the custom password data configuration.
      Parameters:
      numberSymbol - The number of symbols to be used in the password.
      majus - Indicates if uppercase letters should be included.
      minus - Indicates if lowercase letters should be included.
      num - Indicates if numbers should be included.
      specialSymbol - Indicates if special symbols should be included.
  • Method Details

    • getNumberSymbol

      public int getNumberSymbol()
      Getter for the number of symbols.
      Returns:
      The number of symbols in the password configuration.
    • isMajus

      public boolean isMajus()
      Getter for the uppercase letter inclusion flag.
      Returns:
      true if uppercase letters are included, false otherwise.
    • isMinus

      public boolean isMinus()
      Getter for the lowercase letter inclusion flag.
      Returns:
      true if lowercase letters are included, false otherwise.
    • isNum

      public boolean isNum()
      Getter for the number inclusion flag.
      Returns:
      true if numbers are included, false otherwise.
    • isSpecialSymbol

      public boolean isSpecialSymbol()
      Getter for the special symbol inclusion flag.
      Returns:
      true if special symbols are included, false otherwise.
    • setNumberSymbole

      public void setNumberSymbole(int numberSymbol)
      Setter for the number of symbols.
      Parameters:
      numberSymbol - The new number of symbols to be used.
    • setMajus

      public void setMajus(boolean majus)
      Setter for the uppercase letter inclusion flag.
      Parameters:
      majus - true if uppercase letters should be included, false otherwise.
    • setMinus

      public void setMinus(boolean minus)
      Setter for the lowercase letter inclusion flag.
      Parameters:
      minus - true if lowercase letters should be included, false otherwise.
    • setSpecialSymbol

      public void setSpecialSymbol(boolean specialSymbol)
      Setter for the special symbol inclusion flag.
      Parameters:
      specialSymbol - true if special symbols should be included, false otherwise.
    • toString

      public String toString()
      Provides a string representation of the custom password data configuration.
      Overrides:
      toString in class Object
      Returns:
      A formatted string describing the custom password configuration.