Class RegularExpression
- java.lang.Object
-
- fr.paris.lutece.portal.business.regularexpression.RegularExpression
-
public class RegularExpression extends java.lang.ObjectRegularExpression
-
-
Constructor Summary
Constructors Constructor Description RegularExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetErrorMessage()return the error messageintgetIdExpression()return the id of the regular expressionjava.lang.StringgetInformationMessage()return the information messagejava.lang.StringgetTitle()return the title of the regular expressionjava.lang.StringgetValidExemple()return a valid exemple which is validate by the regular expressionjava.lang.StringgetValue()return the value of the regular expressioninthashCode()voidsetErrorMessage(java.lang.String errorMessage)set the error messagevoidsetIdExpression(int idExpression)set the id of the regular expressionvoidsetInformationMessage(java.lang.String informationMessage)set the information messagevoidsetTitle(java.lang.String title)set the title of the regular expressionvoidsetValidExemple(java.lang.String exempleValide)set a valid exemple which is validate by the regular expressionvoidsetValue(java.lang.String value)set the value of the regular expression
-
-
-
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:
equalsin classjava.lang.Object- Parameters:
obj- the object to compare- Returns:
- true if the regularExpression in parameter is the same regularExpression
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- Returns:
- the id of the expression
-
-