com.novell.admin.ns.nds
Class NDSObjectAttribute

java.lang.Object
  extended bycom.novell.admin.ns.ObjectAttribute
      extended bycom.novell.admin.ns.nds.NDSObjectAttribute
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable

public final class NDSObjectAttribute
extends ObjectAttribute

Attribute implementation specific to Novell Directory Services.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.novell.admin.ns.ObjectAttribute
ObjectAttribute.ModifyValue
 
Field Summary
 
Fields inherited from class com.novell.admin.ns.ObjectAttribute
addedValues, attrDefinition, deletedValues, modifiedValues, values
 
Constructor Summary
NDSObjectAttribute(AttributeDefinition attrDef, ValueComponent[] comps)
          Constructor that initializes its list of values.
NDSObjectAttribute(NDSAttributeDefinition def)
          Constructor that does not initialize its list of values.
 
Method Summary
 NDSAttributeDefinition getNDSAttributeDefinition()
          Returns the attribute definition.
 
Methods inherited from class com.novell.admin.ns.ObjectAttribute
addComponent, addComponents, addPropertyChangeListener, clearAddedAttributeValues, clearDeletedAttributeValues, clearModifiedAttributeValues, clone, contains, getAddedComponents, getAttributeDefinition, getBeginingComponents, getBeginningComponents, getComponentCount, getDeletedComponents, getModifiedComponents, getName, getValueComponents, notifyPropertyChangeListeners, propertyChange, removeAllComponents, removeComponent, removePropertyChangeListener, replaceComponent, resetBeginingAttributeValues, resetBeginningAttributeValues, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NDSObjectAttribute

public NDSObjectAttribute(AttributeDefinition attrDef,
                          ValueComponent[] comps)
                   throws NamespaceException
Constructor that initializes its list of values.

This constructor may be used for attributes including read-only attributes. It ensures that only one value is added for single-valued attributes, as determined by the attribute's syntax. This method also ensures that sized values will only be added to the attribute if the values are within the limits.

Parameters:
attrDef - The attribute definition.
comps -
Throws:
NamespaceException - A condition occured which disallowed the add.

One of the following conditions:


NDSObjectAttribute

public NDSObjectAttribute(NDSAttributeDefinition def)
Constructor that does not initialize its list of values.

Do not use this constructor if this is a read-only attribute because the attribute value(s) will not be initialized.

Parameters:
def - An object attribute definition.
Method Detail

getNDSAttributeDefinition

public NDSAttributeDefinition getNDSAttributeDefinition()
Returns the attribute definition.

Returns:
The associated NDS attribute definition.


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.