| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.util; |
| | | |
| | | |
| | | |
| | | import static org.opends.server.loggers.Debug.debugConstructor; |
| | | import static org.opends.server.loggers.Debug.debugEnter; |
| | | import static org.opends.server.util.Validator.*; |
| | | |
| | | import java.util.ArrayList; |
| | |
| | | */ |
| | | public final class AddChangeRecordEntry extends ChangeRecordEntry |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.util.AddChangeRecordEntry"; |
| | | |
| | | |
| | | /** |
| | | * The entry attributes for this operation. |
| | |
| | | { |
| | | super(dn); |
| | | |
| | | assert debugConstructor(CLASS_NAME, String.valueOf(dn), |
| | | String.valueOf(attributes)); |
| | | |
| | | ensureNotNull(attributes); |
| | | |
| | |
| | | */ |
| | | public ChangeOperationType getChangeOperationType() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getChangeOperationType"); |
| | | |
| | | return ChangeOperationType.ADD; |
| | | } |
| | |
| | | */ |
| | | public List<Attribute> getAttributes() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getAttributes"); |
| | | |
| | | return Collections.unmodifiableList(attributes); |
| | | } |