Package co.dapi.types

Class ValidatorProps

java.lang.Object
co.dapi.types.ValidatorProps

public class ValidatorProps
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    ValidatorProps​(boolean required, int length, java.lang.String allowedCharacters, java.lang.Object[] attributes)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.lang.String> getAllowedCharacters()  
    java.util.Optional<java.lang.Object[]> getAttributes()  
    int getLength()  
    boolean isRequired()  

    Methods inherited from class java.lang.Object

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

    • ValidatorProps

      public ValidatorProps​(boolean required, int length, java.lang.String allowedCharacters, java.lang.Object[] attributes)
  • Method Details

    • isRequired

      public boolean isRequired()
    • getLength

      public int getLength()
    • getAllowedCharacters

      public java.util.Optional<java.lang.String> getAllowedCharacters()
    • getAttributes

      public java.util.Optional<java.lang.Object[]> getAttributes()