1 /* Copyright (C) 2001 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9 package javax.naming.directory;
10 import javax.naming.*;
11 import java.io.Serializable;
14 * @author Warren Levy <warrenl@redhat.com>
18 public class SearchResult extends Binding
21 private Attributes attrs;
23 public SearchResult(String name, Object obj, Attributes attrs)
29 public SearchResult(String name, Object obj, Attributes attrs,
32 super(name, obj, isRelative);
36 public SearchResult(String name, String className, Object obj,
39 super(name, className, obj);
43 public SearchResult(String name, String className, Object obj,
44 Attributes attrs, boolean isRelative)
46 super(name, className, obj, isRelative);
50 public Attributes getAttributes()
55 public void setAttributes(Attributes attrs)
60 public String toString()
62 return super.toString() + ":" + attrs.toString();