123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- package javax.naming.directory;
- import javax.naming.Binding;
- public class SearchResult extends Binding
- {
- private static final long serialVersionUID = - 9158063327699723172L;
-
- private Attributes attrs;
- public SearchResult(String name, Object obj, Attributes attrs)
- {
- super(name, obj);
- this.attrs = attrs;
- }
- public SearchResult(String name, Object obj, Attributes attrs,
- boolean isRelative)
- {
- super(name, obj, isRelative);
- this.attrs = attrs;
- }
- public SearchResult(String name, String className, Object obj,
- Attributes attrs)
- {
- super(name, className, obj);
- this.attrs = attrs;
- }
- public SearchResult(String name, String className, Object obj,
- Attributes attrs, boolean isRelative)
- {
- super(name, className, obj, isRelative);
- this.attrs = attrs;
- }
- public Attributes getAttributes()
- {
- return attrs;
- }
- public void setAttributes(Attributes attrs)
- {
- this.attrs = attrs;
- }
- public String toString()
- {
- return super.toString() + ":" + attrs.toString();
- }
- }
|