| | |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013-2014 ForgeRock, AS. |
| | | * Portions Copyright 2015 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.replication.plugin; |
| | | |
| | |
| | | public static AttrHistorical createAttributeHistorical( |
| | | AttributeType type) |
| | | { |
| | | if (type.isSingleValue()) |
| | | return new AttrHistoricalSingle(); |
| | | else |
| | | return new AttrHistoricalMultiple(); |
| | | return type.isSingleValue() ? new AttrHistoricalSingle() : new AttrHistoricalMultiple(); |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return the List of ValueInfo |
| | | */ |
| | | public abstract Map<AttrValueHistorical,AttrValueHistorical> |
| | | getValuesHistorical(); |
| | | public abstract Map<AttrValueHistorical, AttrValueHistorical> getValuesHistorical(); |
| | | |
| | | |
| | | /** |