API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.directory. Attribute View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.13 05/11/17
Serial
Hierarchy
 Cloneable
      Attribute
Subinterfaces
Description
public interface Attribute
  This interface represents an attribute associated with a named object.
See also:    BasicAttribute
Methods
Hide/Show inherited methods
public void add (int ix, Object attrVal)
  Adds an attribute value to the ordered list of attribute values.
public boolean add (Object attrVal)
  Adds a new value to the attribute.
public void clear ()
Removes all values from this attribute.
public Object clone ()
  Makes a copy of the attribute.
public boolean contains (Object attrVal)
  Determines whether a value is in the attribute.
public Object get () throws NamingException
  Retrieves one of this attribute's values.
public Object get (int ix) throws NamingException
  Retrieves the attribute value from the ordered list of attribute values.
public NamingEnumeration<Object> getAll () throws NamingException
  Retrieves an enumeration of the attribute's values.
public DirContext getAttributeDefinition () throws NamingException
  Retrieves the attribute's schema definition.
public DirContext getAttributeSyntaxDefinition () throws NamingException
  Retrieves the syntax definition associated with the attribute.
public String getID ()
  Retrieves the id of this attribute.
public boolean isOrdered ()
  Determines whether this attribute's values are ordered.
public Object remove (int ix)
  Removes an attribute value from the ordered list of attribute values.
public boolean remove (Object attrval)
  Removes a specified value from the attribute.
public Object set (int ix, Object attrVal)
  Sets an attribute value in the ordered list of attribute values.
public int size ()
  Retrieves the number of values in this attribute.
Fields
Hide/Show inherited fields
publicfinalstatic long serialVersionUID = "8707690322213556804"
Use serialVersionUID from JNDI 1.1.1 for interoperability.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar