fr.paris.lutece.plugins.form.business
Class RegularExpression

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.RegularExpression
All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACResource

public class RegularExpression
extends java.lang.Object
implements fr.paris.lutece.portal.service.rbac.RBACResource

RegularExpression


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
RegularExpression()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getErrorMessage()
           
 int getIdExpression()
           
 java.lang.String getInformationMessage()
           
 java.lang.String getResourceId()
          RBAC resource implmentation
 java.lang.String getResourceTypeCode()
          RBAC resource implmentation
 java.lang.String getTitle()
           
 java.lang.String getValidExemple()
           
 java.lang.String getValue()
           
 int hashCode()
           
 boolean isMatches(java.lang.String strValueToTest)
          return true if the value in parameter verify regular expression
 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
 void setValue(java.lang.String value)
          set the value of the regular expression
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

RegularExpression

public RegularExpression()
Method Detail

getIdExpression

public int getIdExpression()
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()
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()
Returns:
a valid exemple

setValidExemple

public void setValidExemple(java.lang.String exempleValide)
set a valid exemple

Parameters:
exempleValide - a valid exemple

getInformationMessage

public java.lang.String getInformationMessage()
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()
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()
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

isMatches

public boolean isMatches(java.lang.String strValueToTest)
return true if the value in parameter verify regular expression

Parameters:
strValueToTest - the value to test
Returns:
true if the value in parameter verify regular expression

getResourceTypeCode

public java.lang.String getResourceTypeCode()
RBAC resource implmentation

Specified by:
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resource type code

getResourceId

public java.lang.String getResourceId()
RBAC resource implmentation

Specified by:
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
Returns:
The resourceId

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


Copyright © 2008 Mairie de Paris. All Rights Reserved.