1 7 8 package javax.naming.directory; 9 10 import java.util.Vector ; 11 import java.util.Enumeration ; 12 import java.util.NoSuchElementException ; 13 14 import javax.naming.NamingException ; 15 import javax.naming.NamingEnumeration ; 16 import javax.naming.OperationNotSupportedException ; 17 18 58 public interface Attribute extends Cloneable , java.io.Serializable { 59 78 NamingEnumeration <?> getAll() throws NamingException ; 79 80 96 Object get() throws NamingException ; 97 98 103 int size(); 104 105 110 String getID(); 111 112 123 boolean contains(Object attrVal); 124 138 boolean add(Object attrVal); 139 140 156 boolean remove(Object attrval); 157 158 161 void clear(); 162 163 192 193 DirContext getAttributeSyntaxDefinition() throws NamingException ; 194 195 217 DirContext getAttributeDefinition() throws NamingException ; 218 219 227 Object clone(); 228 229 231 242 boolean isOrdered(); 243 244 258 Object get(int ix) throws NamingException ; 259 260 275 Object remove(int ix); 276 277 295 void add(int ix, Object attrVal); 296 297 298 317 Object set(int ix, Object attrVal); 318 319 322 static final long serialVersionUID = 8707690322213556804L; 323 } 324 | Popular Tags |