| | |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.protocols.ldap.LDAPModification; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.RawModification; |
| | | |
| | | |
| | | |
| | |
| | | /** |
| | | * The modifications for this change record. |
| | | */ |
| | | private final List<LDAPModification> modifications; |
| | | private final List<RawModification> modifications; |
| | | |
| | | |
| | | |
| | |
| | | * not be <CODE>null</CODE>. |
| | | */ |
| | | public ModifyChangeRecordEntry(DN dn, |
| | | Collection<LDAPModification> modifications) |
| | | Collection<RawModification> modifications) |
| | | { |
| | | super(dn); |
| | | |
| | | |
| | | ensureNotNull(modifications); |
| | | |
| | | this.modifications = new ArrayList<LDAPModification>(modifications); |
| | | this.modifications = new ArrayList<RawModification>(modifications); |
| | | } |
| | | |
| | | |
| | |
| | | * |
| | | * @return Returns the unmodifiable list of modifications. |
| | | */ |
| | | public List<LDAPModification> getModifications() |
| | | public List<RawModification> getModifications() |
| | | { |
| | | return Collections.unmodifiableList(modifications); |
| | | } |