Class RegularExpression


  • public class RegularExpression
    extends Object
    RegularExpression
    • Constructor Detail

      • RegularExpression

        public RegularExpression()
    • Method Detail

      • getIdExpression

        public int getIdExpression()
        return the id of the regular expression
        Returns:
        the id of the regular expression
      • setIdExpression

        public void setIdExpression​(int idExpression)
        set the id of the regular expression
        Parameters:
        idExpression - the id of the regular expression
      • getErrorMessage

        public String getErrorMessage()
        return the error message
        Returns:
        the error message
      • setErrorMessage

        public void setErrorMessage​(String errorMessage)
        set the error message
        Parameters:
        errorMessage - the error message
      • getValidExemple

        public String getValidExemple()
        return a valid exemple which is validate by the regular expression
        Returns:
        a valid exemple
      • setValidExemple

        public void setValidExemple​(String exempleValide)
        set a valid exemple which is validate by the regular expression
        Parameters:
        exempleValide - a valid exemple
      • getInformationMessage

        public String getInformationMessage()
        return the information message
        Returns:
        the information message
      • setInformationMessage

        public void setInformationMessage​(String informationMessage)
        set the information message
        Parameters:
        informationMessage - the information message
      • getTitle

        public String getTitle()
        return the title of the regular expression
        Returns:
        the title of the regular expression
      • setTitle

        public void setTitle​(String title)
        set the title of the regular expression
        Parameters:
        title - the title of the regular expression
      • getValue

        public String getValue()
        return the value of the regular expression
        Returns:
        the value of the regular expression
      • setValue

        public void setValue​(String value)
        set the value of the regular expression
        Parameters:
        value - the value of the regular expression
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Object
        Parameters:
        obj - the object to compare
        Returns:
        true if the regularExpression in parameter is the same regularExpression
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
        Returns:
        the id of the expression