public class DuplicateRule extends Object implements Serializable
AttributeKey that are checked by the rule_listCheckedAttributes && _nNbFilledAttribute
_listCheckedAttributes && _nNbEqualAttributes && _nNbMissingAttributes && (_listAttributeTreatments[0] || _listAttributeTreatments[1] || ... || _listAttributeTreatments[n])
E.g:
| checked | filled | equal | missing | treatments | result | |---------|--------|-------|---------|-------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 7 | 7 | 7 | 0 | empty | Every Identity that matches exactly the given attributes | | 7 | 7 | 6 | 0 | empty | Every Identity that have 6 matching attributes over the 7 required, the 7th must exist but its value is discarded | | 7 | 7 | 6 | 1 | empty | Every Identity that have 6 matching attributes over the 7 required, the 7th can be missing | | 7 | 7 | 6 | 0 | attribute_key_a : DIFFERENT, attribute_key_b : APPROXIMATED | Every Identity that have 6 matching attributes over the 7 required, the 7th can be attribute_key_a with a different value OR attribute_key_b with an approximated value |
| Constructor and Description |
|---|
DuplicateRule() |
public void validate()
throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionpublic int getId()
public void setId(int _nId)
public String getName()
public void setName(String _strName)
public String getCode()
public void setCode(String _strCode)
public String getDescription()
public void setDescription(String _strDescription)
public List<AttributeKey> getCheckedAttributes()
public void setCheckedAttributes(List<AttributeKey> _listCheckedAttributes)
public int getNbFilledAttributes()
public void setNbFilledAttributes(int _nNbFilledAttributes)
public int getNbEqualAttributes()
public void setNbEqualAttributes(int _nNbEqualAttributes)
public int getNbMissingAttributes()
public void setNbMissingAttributes(int _nNbMissingAttributes)
public List<DuplicateRuleAttributeTreatment> getAttributeTreatments()
public void setAttributeTreatments(List<DuplicateRuleAttributeTreatment> _listAttributeTreatments)
public int getPriority()
public void setPriority(int _priority)
public boolean isActive()
public void setActive(boolean _bActive)
public boolean isDaemon()
public void setDaemon(boolean _bDaemon)
public Timestamp getDaemonLastExecDate()
public void setDaemonLastExecDate(Timestamp _dateDaemonLastExecDate)
Copyright © 2024 City of Paris. All rights reserved.