Class CustomPasswordData
java.lang.Object
eirb.pub.app.display.javafx.view.vault.viewer.CustomPasswordData
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCustomPasswordData(int numberSymbol, boolean majus, boolean minus, boolean num, boolean specialSymbol) Constructor to initialize the custom password data configuration. -
Method Summary
Modifier and TypeMethodDescriptionintGetter for the number of symbols.booleanisMajus()Getter for the uppercase letter inclusion flag.booleanisMinus()Getter for the lowercase letter inclusion flag.booleanisNum()Getter for the number inclusion flag.booleanGetter for the special symbol inclusion flag.voidsetMajus(boolean majus) Setter for the uppercase letter inclusion flag.voidsetMinus(boolean minus) Setter for the lowercase letter inclusion flag.voidsetNumberSymbole(int numberSymbol) Setter for the number of symbols.voidsetSpecialSymbol(boolean specialSymbol) Setter for the special symbol inclusion flag.toString()Provides a string representation of the custom password data configuration.
-
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
Provides a string representation of the custom password data configuration.
-