| | |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.Iterator; |
| | | import java.util.Map; |
| | | |
| | | import org.opends.server.replication.common.ChangeNumber; |
| | | import org.opends.server.types.Attribute; |
| | |
| | | */ |
| | | public class AttrHistoricalSingle extends AttrHistorical |
| | | { |
| | | private ChangeNumber deleteTime = null; // last time when the attribute was |
| | | // deleted |
| | | private ChangeNumber addTime = null; // last time when a value was added |
| | | private AttributeValue value = null; // last added value |
| | | /** Last time when the attribute was deleted */ |
| | | private ChangeNumber deleteTime = null; |
| | | /** Last time when a value was added */ |
| | | private ChangeNumber addTime = null; |
| | | /** Last added value */ |
| | | private AttributeValue value = null; |
| | | |
| | | // last operation applied. This is only used for multiple mods on the same |
| | | // single valued attribute in the same modification. |
| | | /** |
| | | * last operation applied. This is only used for multiple mods on the same |
| | | * single valued attribute in the same modification. |
| | | */ |
| | | private HistAttrModificationKey lastMod = null; |
| | | |
| | | /** |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public HashMap<AttrValueHistorical,AttrValueHistorical> getValuesHistorical() |
| | | public Map<AttrValueHistorical, AttrValueHistorical> getValuesHistorical() |
| | | { |
| | | if (addTime == null) |
| | | { |