com.novell.admin.rbs
Class RBSObject
java.lang.Object
|
+--com.novell.admin.rbs.RBSObject
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- RBSAssociatedObject, RBSExternalScope, RBSModule, RBSRole, RBSTask
- public class RBSObject
- extends java.lang.Object
- implements java.io.Serializable
Class that represents the base object for all RBS objects
|
Method Summary |
java.lang.String |
getDescription()
Returns the description of the object |
ObjectEntry |
getObjectEntry()
Returns the object entry |
void |
setDescription(java.lang.String description)
Sets the description of the object. |
void |
setNSObject(NSObject newObj)
Allows the setting of the NSObject by an external method. |
void |
update()
Writes the NSObject to NDS. |
void |
verifyNSObject()
Called by all derived methods to make sure that nsObj has been initialized
before it is used. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
oe
public ObjectEntry oe
ns
public NDSNamespace ns
nsObj
public NSObject nsObj
RBSObject
public RBSObject(ObjectEntry objectOE)
- Constructor.
- Parameters:
objectOE - ObjectEntry representing a RBS object
RBSObject
public RBSObject(NSObject obj)
- Constructor.
- Parameters:
obj - NSObject representing a RBS object
setNSObject
public void setNSObject(NSObject newObj)
- Allows the setting of the NSObject by an external method. This is most
useful in cases where the RBS object are being used for modeling purposes
but later need to actually be used to access NDS.
- Parameters:
newObj - The new NSObject
verifyNSObject
public void verifyNSObject()
throws SPIException
- Called by all derived methods to make sure that nsObj has been initialized
before it is used. Again, this is when you model with this class and later
wish to use it for actually NDS operations.
- Throws:
- SPIException -
update
public void update()
throws SPIException,
SnapinVetoException
- Writes the NSObject to NDS.
- Throws:
- SPIException -
- SnapinVetoException -
getObjectEntry
public ObjectEntry getObjectEntry()
- Returns the object entry
- Returns:
- The ObjectEntry representing the name of the object.
getDescription
public java.lang.String getDescription()
throws SPIException,
NamespaceException
- Returns the description of the object
- Returns:
- The String representing the description of the object.
- Throws:
- SPIException -
- NamespaceException -
setDescription
public void setDescription(java.lang.String description)
throws NamespaceException,
SPIException,
SnapinVetoException,
ComponentCreationException
- Sets the description of the object.
- Parameters:
description - The String representing the description of the object.- Throws:
- SPIException -
- SnapinVetoException -
- NamespaceException -
- ComponentCreationException -
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.