com.novell.admin.ns.fs.nw
Class NWFSObjectAttribute

java.lang.Object
  |
  +--com.novell.admin.ns.ObjectAttribute
        |
        +--com.novell.admin.ns.fs.FSObjectAttribute
              |
              +--com.novell.admin.ns.fs.nw.NWFSObjectAttribute
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable

public final class NWFSObjectAttribute
extends FSObjectAttribute

NetWare File System specific Attribute implementation.


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

Constructor Detail

NWFSObjectAttribute

public NWFSObjectAttribute(NWFSAttributeDefinition def)
Constructor which 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:
attrDef - Attribute definition.

NWFSObjectAttribute

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

This constructor may be used for attributes including read-only. It makes sure that only one value gets added for single valued attributes determined by the attributes syntax. This method also makes sure that if the values are sized that they will only be added to the attribute if the values are withing the limits.

Parameters:
attrDef - Attribute definition.
Throws:
NamespaceException - A condition occured which disallowed the add.

One of the following conditions.

  • NamespaceException.READONLY_ATTRIBUTE
  • NamespaceException.WRONG_SYNTAX
  • NamespaceException.VALUE_NOT_WITHIN_BOUNDS
  • NamespaceException.SINGLE_VALUED_ATTRIBUTE
  • NamespaceException.DUPLICATE_VALUE
  • Method Detail

    getNWFSAttributeDefinition

    public NWFSAttributeDefinition getNWFSAttributeDefinition()
    Get the attribute definition.
    Returns:
    The associated NetWare File System attribute definition.


    API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
    ConsoleOne is a registered trademark of Novell Inc.
    Generated December 9 2003 1727.