com.novell.admin.ns
Class MODObject

java.lang.Object
  extended bycom.novell.admin.ns.NSObject
      extended bycom.novell.admin.ns.DefaultNSObject
          extended bycom.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.

See Also:
Serialized Form

Field Summary
 
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(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(ObjectEntry objEntry)
Constructor.

Parameters:
objEntry - The object entry representation.
Method Detail

checkAdd

protected void checkAdd(ObjectAttribute attr,
                        boolean isForAuxClass)
                 throws NamespaceException
Checks to see if an attribute can be added to this object.

Overrides:
checkAdd in class DefaultNSObject
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.

getAttribute

public ObjectAttribute getAttribute(java.lang.String attrName)
Retrieves a specific attribute of this object.

Overrides:
getAttribute in class DefaultNSObject
Parameters:
attrName - The name of the attribute to be retrieved.
Returns:
The ObjectAttribute named by 'attrName' if found, null otherwise.


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.