Class AttributeKey
java.lang.Object
fr.paris.lutece.plugins.identitystore.business.attribute.AttributeKey
- All Implemented Interfaces:
Serializable
This is the business class for the object AttributeKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the alternative PivotGet the possible values for the attributebooleanReturns the CertifiableReturns the DescriptionintgetId()Returns the IdReturns the KeyNameReturns the KeyTypeintReturns the weight of the attribute for scoring computationgetName()Returns the NamebooleangetPivot()Returns the PivotGets the validation error message to display if the attribute value doesn't match the validation regex.Gets the validation error message key to display if the attribute value doesn't match the validation regex.Gets the validation regex.booleanIs this attribute mandatory for creating a new identityvoidsetAlternativePivot(boolean alternativePivot) Sets the alternative PivotvoidsetAttributeValues(List<AttributeValue> _listAttributeValues) Set the possible values for the attributevoidsetAuthorName(String _strAuthorName) voidsetCertifiable(boolean bCertifiable) Sets the CertifiablevoidsetCommonSearchKeyName(String _strCommonSearchKeyName) voidsetCreationDate(Date creationDate) voidsetDescription(String strDescription) Sets the DescriptionvoidsetId(int nId) Sets the IdvoidsetKeyName(String strKeyName) Sets the KeyNamevoidsetKeyType(KeyType keyType) Sets the KeyTypevoidsetKeyWeight(int _nKeyWeight) Sets the weight of the attribute for scoring computationvoidsetLastUpdateDate(Date lastUpdateDate) voidsetMandatoryForCreation(boolean _bMandatoryForCreation) Sets if this attribute is mandatory for creating a new identityvoidSets the NamevoidsetPivot(boolean bPivot) Sets the PivotvoidsetValidationErrorMessage(String _strValidationErrorMessage) Sets the validation error message to display if the attribute value doesn't match the validation regex.voidsetValidationErrorMessageKey(String _strValidationErrorMessageKey) Sets the validation error message key to display if the attribute value doesn't match the validation regex.voidsetValidationRegex(String _strValidationRegex) Sets the validation regex.
-
Constructor Details
-
AttributeKey
public AttributeKey()
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getKeyName
Returns the KeyName- Returns:
- The KeyName
-
setKeyName
Sets the KeyName- Parameters:
strKeyName- The KeyName
-
getCommonSearchKeyName
-
setCommonSearchKeyName
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the Description- Parameters:
strDescription- The Description
-
getKeyType
Returns the KeyType- Returns:
- The KeyType
-
setKeyType
Sets the KeyType- Parameters:
keyType- The KeyType
-
getCertifiable
public boolean getCertifiable()Returns the Certifiable- Returns:
- The Certifiable
-
setCertifiable
public void setCertifiable(boolean bCertifiable) Sets the Certifiable- Parameters:
bCertifiable- The Certifiable
-
getPivot
public boolean getPivot()Returns the Pivot- Returns:
- The Pivot
-
setPivot
public void setPivot(boolean bPivot) Sets the Pivot- Parameters:
bPivot- The Pivot
-
getAlternativePivot
public boolean getAlternativePivot()Returns the alternative Pivot- Returns:
- The alternative Pivot
-
setAlternativePivot
public void setAlternativePivot(boolean alternativePivot) Sets the alternative Pivot- Parameters:
alternativePivot- The alternative Pivot
-
getKeyWeight
public int getKeyWeight()Returns the weight of the attribute for scoring computation- Returns:
- the weight
-
setKeyWeight
public void setKeyWeight(int _nKeyWeight) Sets the weight of the attribute for scoring computation- Parameters:
_nKeyWeight-
-
isMandatoryForCreation
public boolean isMandatoryForCreation()Is this attribute mandatory for creating a new identity- Returns:
- true or false
-
setMandatoryForCreation
public void setMandatoryForCreation(boolean _bMandatoryForCreation) Sets if this attribute is mandatory for creating a new identity- Parameters:
_bMandatoryForCreation- true or false
-
getValidationRegex
Gets the validation regex.- Returns:
- the regex
-
setValidationRegex
Sets the validation regex.- Parameters:
_strValidationRegex- the regex
-
getValidationErrorMessage
Gets the validation error message to display if the attribute value doesn't match the validation regex.- Returns:
- the validation error message
-
setValidationErrorMessage
Sets the validation error message to display if the attribute value doesn't match the validation regex.- Parameters:
_strValidationErrorMessage- the validation error message
-
getValidationErrorMessageKey
Gets the validation error message key to display if the attribute value doesn't match the validation regex.- Returns:
- the validation error message key
-
setValidationErrorMessageKey
Sets the validation error message key to display if the attribute value doesn't match the validation regex. -
getAttributeValues
Get the possible values for the attribute- Returns:
- a list of values and labels
-
setAttributeValues
Set the possible values for the attribute -
getAuthorName
-
setAuthorName
-
getLastUpdateDate
-
setLastUpdateDate
-
getCreationDate
-
setCreationDate
-