java.lang.Object
fr.paris.lutece.plugins.identitystore.business.attribute.AttributeKey
All Implemented Interfaces:
Serializable

public class AttributeKey extends Object implements Serializable
This is the business class for the object AttributeKey
See Also:
  • 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

      public String getName()
      Returns the Name
      Returns:
      The Name
    • setName

      public void setName(String strName)
      Sets the Name
      Parameters:
      strName - The Name
    • getKeyName

      public String getKeyName()
      Returns the KeyName
      Returns:
      The KeyName
    • setKeyName

      public void setKeyName(String strKeyName)
      Sets the KeyName
      Parameters:
      strKeyName - The KeyName
    • getCommonSearchKeyName

      public String getCommonSearchKeyName()
    • setCommonSearchKeyName

      public void setCommonSearchKeyName(String _strCommonSearchKeyName)
    • getDescription

      public String getDescription()
      Returns the Description
      Returns:
      The Description
    • setDescription

      public void setDescription(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
    • 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

      public String getValidationRegex()
      Gets the validation regex.
      Returns:
      the regex
    • setValidationRegex

      public void setValidationRegex(String _strValidationRegex)
      Sets the validation regex.
      Parameters:
      _strValidationRegex - the regex
    • getValidationErrorMessage

      public 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(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 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(String _strValidationErrorMessageKey)
      Sets the validation error message key to display if the attribute value doesn't match the validation regex.
    • getAttributeValues

      public List<AttributeValue> getAttributeValues()
      Get the possible values for the attribute
      Returns:
      a list of values and labels
    • setAttributeValues

      public void setAttributeValues(List<AttributeValue> _listAttributeValues)
      Set the possible values for the attribute
    • getAuthorName

      public String getAuthorName()
    • setAuthorName

      public void setAuthorName(String _strAuthorName)
    • getLastUpdateDate

      public Date getLastUpdateDate()
    • setLastUpdateDate

      public void setLastUpdateDate(Date lastUpdateDate)
    • getCreationDate

      public Date getCreationDate()
    • setCreationDate

      public void setCreationDate(Date creationDate)