1 17 package org.apache.ldap.server.db; 18 19 20 import javax.naming.directory.Attributes ; 21 import javax.naming.directory.SearchResult ; 22 import java.math.BigInteger ; 23 24 25 33 public class DbSearchResult extends SearchResult 34 { 35 private static final long serialVersionUID = 3976739172700860977L; 36 37 38 private final BigInteger id; 39 40 41 45 46 54 public DbSearchResult( BigInteger id, String name, Object obj, 55 Attributes attrs ) 56 { 57 super( name, obj, attrs ); 58 this.id = id; 59 } 60 61 62 71 public DbSearchResult( BigInteger id, String name, Object obj, 72 Attributes attrs, boolean isRelative ) 73 { 74 super( name, obj, attrs, isRelative ); 75 this.id = id; 76 } 77 78 79 88 public DbSearchResult( BigInteger id, String name, String className, 89 Object obj, Attributes attrs ) 90 { 91 super( name, className, obj, attrs ); 92 this.id = id; 93 } 94 95 96 106 public DbSearchResult( BigInteger id, String name, String className, 107 Object obj, Attributes attrs, boolean isRelative ) 108 { 109 super( name, className, obj, attrs, isRelative ); 110 this.id = id; 111 } 112 113 114 119 public BigInteger getId() 120 { 121 return id; 122 } 123 } 124 | Popular Tags |