| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.datamodel; |
| | |
| | | * exceptions that most of the methods in SearchResult throw. |
| | | * |
| | | */ |
| | | public class CustomSearchResult implements Comparable<CustomSearchResult> { |
| | | public class CustomSearchResult implements Comparable<CustomSearchResult> |
| | | { |
| | | private String dn; |
| | | private Map<String, List<Object>> attributes; |
| | | private SortedSet<String> attrNames; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public CustomSearchResult clone() |
| | | public CustomSearchResult duplicate() |
| | | { |
| | | CustomSearchResult sr = new CustomSearchResult(dn); |
| | | sr.attributes = new HashMap<String, List<Object>>(attributes); |