Class AttributeKey
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.business.attribute.AttributeKey
-
- All Implemented Interfaces:
java.io.Serializable
public class AttributeKey extends java.lang.Object implements java.io.SerializableThis is the business class for the object AttributeKey- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AttributeValue>getAttributeValues()Get the possible values for the attributejava.lang.StringgetAuthorName()booleangetCertifiable()Returns the Certifiablejava.lang.StringgetCommonSearchKeyName()java.sql.DategetCreationDate()java.lang.StringgetDescription()Returns the DescriptionintgetId()Returns the Idjava.lang.StringgetKeyName()Returns the KeyNameKeyTypegetKeyType()Returns the KeyTypeintgetKeyWeight()Returns the weight of the attribute for scoring computationjava.sql.DategetLastUpdateDate()java.lang.StringgetName()Returns the NamebooleangetPivot()Returns the Pivotjava.lang.StringgetValidationErrorMessage()Gets the validation error message to display if the attribute value doesn't match the validation regex.java.lang.StringgetValidationErrorMessageKey()Gets the validation error message key to display if the attribute value doesn't match the validation regex.java.lang.StringgetValidationRegex()Gets the validation regex.booleanisMandatoryForCreation()Is this attribute mandatory for creating a new identityvoidsetAttributeValues(java.util.List<AttributeValue> _listAttributeValues)Set the possible values for the attributevoidsetAuthorName(java.lang.String _strAuthorName)voidsetCertifiable(boolean bCertifiable)Sets the CertifiablevoidsetCommonSearchKeyName(java.lang.String _strCommonSearchKeyName)voidsetCreationDate(java.sql.Date creationDate)voidsetDescription(java.lang.String strDescription)Sets the DescriptionvoidsetId(int nId)Sets the IdvoidsetKeyName(java.lang.String strKeyName)Sets the KeyNamevoidsetKeyType(KeyType keyType)Sets the KeyTypevoidsetKeyWeight(int _nKeyWeight)Sets the weight of the attribute for scoring computationvoidsetLastUpdateDate(java.sql.Date lastUpdateDate)voidsetMandatoryForCreation(boolean _bMandatoryForCreation)Sets if this attribute is mandatory for creating a new identityvoidsetName(java.lang.String strName)Sets the NamevoidsetPivot(boolean bPivot)Sets the PivotvoidsetValidationErrorMessage(java.lang.String _strValidationErrorMessage)Sets the validation error message to display if the attribute value doesn't match the validation regex.voidsetValidationErrorMessageKey(java.lang.String _strValidationErrorMessageKey)Sets the validation error message key to display if the attribute value doesn't match the validation regex.voidsetValidationRegex(java.lang.String _strValidationRegex)Sets the validation regex.
-
-
-
Method Detail
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getName
public java.lang.String getName()
Returns the Name- Returns:
- The Name
-
setName
public void setName(java.lang.String strName)
Sets the Name- Parameters:
strName- The Name
-
getKeyName
public java.lang.String getKeyName()
Returns the KeyName- Returns:
- The KeyName
-
setKeyName
public void setKeyName(java.lang.String strKeyName)
Sets the KeyName- Parameters:
strKeyName- The KeyName
-
getCommonSearchKeyName
public java.lang.String getCommonSearchKeyName()
-
setCommonSearchKeyName
public void setCommonSearchKeyName(java.lang.String _strCommonSearchKeyName)
-
getDescription
public java.lang.String getDescription()
Returns the Description- Returns:
- The Description
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the Description- Parameters:
strDescription- The Description
-
getKeyType
public KeyType getKeyType()
Returns the KeyType- Returns:
- The KeyType
-
setKeyType
public void setKeyType(KeyType keyType)
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
-
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
public java.lang.String getValidationRegex()
Gets the validation regex.- Returns:
- the regex
-
setValidationRegex
public void setValidationRegex(java.lang.String _strValidationRegex)
Sets the validation regex.- Parameters:
_strValidationRegex- the regex
-
getValidationErrorMessage
public java.lang.String getValidationErrorMessage()
Gets the validation error message to display if the attribute value doesn't match the validation regex.- Returns:
- the validation error message
-
setValidationErrorMessage
public void setValidationErrorMessage(java.lang.String _strValidationErrorMessage)
Sets the validation error message to display if the attribute value doesn't match the validation regex.- Parameters:
_strValidationErrorMessage- the validation error message
-
getValidationErrorMessageKey
public java.lang.String 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
public void setValidationErrorMessageKey(java.lang.String _strValidationErrorMessageKey)
Sets the validation error message key to display if the attribute value doesn't match the validation regex.
-
getAttributeValues
public java.util.List<AttributeValue> getAttributeValues()
Get the possible values for the attribute- Returns:
- a list of values and labels
-
setAttributeValues
public void setAttributeValues(java.util.List<AttributeValue> _listAttributeValues)
Set the possible values for the attribute
-
getAuthorName
public java.lang.String getAuthorName()
-
setAuthorName
public void setAuthorName(java.lang.String _strAuthorName)
-
getLastUpdateDate
public java.sql.Date getLastUpdateDate()
-
setLastUpdateDate
public void setLastUpdateDate(java.sql.Date lastUpdateDate)
-
getCreationDate
public java.sql.Date getCreationDate()
-
setCreationDate
public void setCreationDate(java.sql.Date creationDate)
-
-