javax.naming.directory
Interface Attribute

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
BasicAttribute

public interface Attribute
extends Cloneable, Serializable


Field Summary
static long serialVersionUID
           
 
Method Summary
 void add(int ix, Object attrVal)
           
 boolean add(Object attrVal)
           
 void clear()
           
 Object clone()
           
 boolean contains(Object attrVal)
           
 Object get()
           
 Object get(int ix)
           
 NamingEnumeration<?> getAll()
           
 DirContext getAttributeDefinition()
           
 DirContext getAttributeSyntaxDefinition()
           
 String getID()
           
 boolean isOrdered()
           
 Object remove(int ix)
           
 boolean remove(Object attrval)
           
 Object set(int ix, Object attrVal)
           
 int size()
           
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

getAll

NamingEnumeration<?> getAll()
                            throws NamingException
Throws:
NamingException

get

Object get()
           throws NamingException
Throws:
NamingException

size

int size()

getID

String getID()

contains

boolean contains(Object attrVal)

add

boolean add(Object attrVal)

remove

boolean remove(Object attrval)

clear

void clear()

getAttributeSyntaxDefinition

DirContext getAttributeSyntaxDefinition()
                                        throws NamingException
Throws:
NamingException

getAttributeDefinition

DirContext getAttributeDefinition()
                                  throws NamingException
Throws:
NamingException

clone

Object clone()

isOrdered

boolean isOrdered()

get

Object get(int ix)
           throws NamingException
Throws:
NamingException

remove

Object remove(int ix)

add

void add(int ix,
         Object attrVal)

set

Object set(int ix,
           Object attrVal)