| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.sdk.requests; |
| | |
| | | |
| | | |
| | | /** |
| | | * Creates a new modify request that is an exact copy of the provided |
| | | * request. |
| | | * |
| | | * @param modifyRequest |
| | | * The modify request to be copied. |
| | | * @throws NullPointerException |
| | | * If {@code modifyRequest} was {@code null} . |
| | | */ |
| | | ModifyRequestImpl(final ModifyRequest modifyRequest) |
| | | throws NullPointerException |
| | | { |
| | | super(modifyRequest); |
| | | this.name = modifyRequest.getName(); |
| | | this.changes.addAll(modifyRequest.getModifications()); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public <R, P> R accept(final ChangeRecordVisitor<R, P> v, final P p) |