com.novell.admin.ns
Class MODObject

java.lang.Object
  |
  +--com.novell.admin.ns.NSObject
        |
        +--com.novell.admin.ns.DefaultNSObject
              |
              +--com.novell.admin.ns.MODObject
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable

public class MODObject
extends DefaultNSObject

Model for property pages to update multiple objects.


Fields inherited from class com.novell.admin.ns.DefaultNSObject
addedAttributeDefinitions, namespace, objectEntry
 
Fields inherited from class com.novell.admin.ns.NSObject
addedAttributes, attributes, classDefinition, deletedAttributes, modifiedAttributes, propertyListeners, revision
 
Constructor Summary
MODObject(com.novell.application.console.snapin.ObjectEntry objEntry)
          Constructor.
 
Method Summary
protected  void checkAdd(ObjectAttribute attr, boolean isForAuxClass)
          Checks to see if an attribute can be added to this object.
 ObjectAttribute getAttribute(java.lang.String attrName)
          Retrieves a specific attribute of this object.
 
Methods inherited from class com.novell.admin.ns.DefaultNSObject
addAttribute, addAuxiliaryClassDefinition, addPropertyChangeListener, clearAddedAttribute, clearAddedAttributeDefinitions, clearDeletedAttribute, clearModifiedAttribute, clone, deleteAttribute, deleteAuxiliaryClassDefinition, getAddedAttributeDefinitions, getAddedAttributes, getAttributes, getClassDefinitions, getDeletedAttributes, getMandatoryAttributes, getModifiedAttributes, getObjectEntry, getOptionalAttributes, getRevision, getUnvaluedAttributes, isAttributeMandatory, isAttributeOptional, isNamedBy, propertyChange, removePropertyChangeListener, setClassDefinition
 
Methods inherited from class com.novell.admin.ns.NSObject
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MODObject

public MODObject(com.novell.application.console.snapin.ObjectEntry objEntry)
Constructor.
Parameters:
objEntry - The object entry representation.
Method Detail

getAttribute

public ObjectAttribute getAttribute(java.lang.String attrName)
Retrieves a specific attribute of this object.
Parameters:
attrName - The name of the attribute to be retrieved.
Returns:
The ObjectAttribute named by 'attrName' if found, null otherwise.
Overrides:
getAttribute in class DefaultNSObject

checkAdd

protected void checkAdd(ObjectAttribute attr,
                        boolean isForAuxClass)
                 throws NamespaceException
Checks to see if an attribute can be added to this object.
Parameters:
attr - The definition of the attribute.
isForAuxClass - Not used at this time.
Throws:
NamespaceException - Thrown if an attribute cannot be added to this object.
Overrides:
checkAdd in class DefaultNSObject


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.