Class RegularExpression


  • public class RegularExpression
    extends java.lang.Object
    RegularExpression
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getErrorMessage()
      return the error message
      int getIdExpression()
      return the id of the regular expression
      java.lang.String getInformationMessage()
      return the information message
      java.lang.String getTitle()
      return the title of the regular expression
      java.lang.String getValidExemple()
      return a valid exemple which is validate by the regular expression
      java.lang.String getValue()
      return the value of the regular expression
      int hashCode()  
      void setErrorMessage​(java.lang.String errorMessage)
      set the error message
      void setIdExpression​(int idExpression)
      set the id of the regular expression
      void setInformationMessage​(java.lang.String informationMessage)
      set the information message
      void setTitle​(java.lang.String title)
      set the title of the regular expression
      void setValidExemple​(java.lang.String exempleValide)
      set a valid exemple which is validate by the regular expression
      void setValue​(java.lang.String value)
      set the value of the regular expression
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • 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 java.lang.String getErrorMessage()
        return the error message
        Returns:
        the error message
      • setErrorMessage

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

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

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

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

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

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

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

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

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.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 java.lang.Object
        Returns:
        the id of the expression