blob: 5c2b933871c722e31204e9507a80d89a161b81a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* Copyright (C) 2001 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
package javax.naming.directory;
import javax.naming.*;
import java.io.Serializable;
/**
* @author Warren Levy <warrenl@redhat.com>
* @date June 14, 2001
*/
public interface Attribute extends Cloneable, Serializable
{
// FIXME: Need to set value from JNDI 1.1.1 fro interoperability.
// public static final long serialVersionUID = ;
public NamingEnumeration getAll() throws NamingException;
public Object get() throws NamingException;
public int size();
public String getID();
public boolean contains(Object attrVal);
public boolean add(Object attrVal);
public boolean remove(Object attrval);
public void clear();
public DirContext getAttributeSyntaxDefinition() throws NamingException;
public DirContext getAttributeDefinition() throws NamingException;
public Object clone();
public boolean isOrdered();
public Object get(int ix) throws NamingException;
public Object remove(int ix);
public void add(int ix, Object attrVal);
public Object set(int ix, Object attrVal);
}
|