com.novell.admin.ns
Class DefaultAttributeDefinition

java.lang.Object
  |
  +--com.novell.admin.ns.AttributeDefinition
        |
        +--com.novell.admin.ns.DefaultAttributeDefinition
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NDSAttributeDefinition

public abstract class DefaultAttributeDefinition
extends AttributeDefinition
implements java.io.Serializable

Default class for attribute definitions.

Objects of this type are immutable, and any extensions to this class must enforce the immutable nature.

Attributes may have lower and upper bounds associated with them. If bounds are applicable, the attribute is sized. The attribute may be hidden, indicating that any class with a hidden attribute will not return a value for such an attribute. If the attribute may contain only a single value it is said to be a single-valued attribute. The attribute may be read-only, indicating that values associated with the attribute cannot be modified.


Fields inherited from class com.novell.admin.ns.AttributeDefinition
lowerBound, name, sized, syntax, upperBound
 
Constructor Summary
DefaultAttributeDefinition(java.lang.String attrName, Syntax syntax)
          Constructor that assumes the attribute is not sized.
DefaultAttributeDefinition(java.lang.String attrName, Syntax syntax, long lowerBound, long upperBound)
          Constructor that assumes the attribute is sized.
 
Methods inherited from class com.novell.admin.ns.AttributeDefinition
createAttribute, equals, getLowerBound, getName, getSyntax, getUpperBound, isAberrant, isHidden, isReadOnly, isSingleValued, isSized, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultAttributeDefinition

public DefaultAttributeDefinition(java.lang.String attrName,
                                  Syntax syntax)
Constructor that assumes the attribute is not sized.
Parameters:
syntax - Syntax for the attribute.
attrName - Name of the attribute.

DefaultAttributeDefinition

public DefaultAttributeDefinition(java.lang.String attrName,
                                  Syntax syntax,
                                  long lowerBound,
                                  long upperBound)
Constructor that assumes the attribute is sized.
Parameters:
attrName - Name of the attribute.
syntax - Syntax for the attribute.
lowerBound - Lower bound for values associated with this attribute.
upperBound - Upper bound for values associated with this attribute.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.