com.pcbsys.nirvana.nAdminAPI.nConfigGroup Class Reference

This class manages a group of nConfigEntry objects that are related. More...

Inheritance diagram for com.pcbsys.nirvana.nAdminAPI.nConfigGroup:
com.pcbsys.nirvana.client.Observable

Public Member Functions

bool Equals (long aLong)
 Compares this object with the passed object. More...
 
override bool Equals (object item)
 Compares this object with the passed object. More...
 
virtual nConfigEntry find (string itemName)
 Finds a nConfigEntry that matches the name specified from within this group More...
 
virtual
System.Collections.IEnumerator 
getItems ()
 Returns the group as an IEnumerator of all the nConfigEntry objects that the group consists of More...
 
virtual bool isReadOnly ()
 Returns whether this config group is read only More...
 
virtual int Length ()
 Returns the length of the configureation group, ie the number of items More...
 
virtual bool lessThan (long aLong)
 Compares this object with the passed object. More...
 
virtual bool lessThan (object item)
 Compares this object with the passed object. More...
 
- Public Member Functions inherited from com.pcbsys.nirvana.client.Observable
void addObserver (IObserver o)
 Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set. More...
 
int countObservers ()
 Returns the number of observers of this Observable object. More...
 
void deleteObserver (IObserver o)
 Deletes an observer from the set of observers of this object. More...
 
void deleteObservers ()
 Clears the observer list so that this object no longer has any observers. More...
 
bool hasChanged ()
 Tests if this object has changed. More...
 
void notifyObservers ()
 If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed. More...
 
void notifyObservers (Object arg)
 If this object has changed, as indicated by the More...
 
 Observable ()
 Construct an Observable with zero Observers. More...
 

Properties

virtual string Description [get]
 Retrieves the description of this group More...
 
virtual string Name [get]
 Retrieve this groups unique name More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.pcbsys.nirvana.client.Observable
void clearChanged ()
 Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change, so that the hasChanged method will now return false. More...
 
void setChanged ()
 Marks this Observable object as having been changed; the hasChanged method will now return true. More...
 

Detailed Description

This class manages a group of nConfigEntry objects that are related.

This class extends Observable so that if new nConfigEntry objects are added to this group the Observer will be notified with the new nConfigEntry

Member Function Documentation

bool com.pcbsys.nirvana.nAdminAPI.nConfigGroup.Equals ( long  aLong)

Compares this object with the passed object.

For internal use only

Parameters
aLonglong to compare against
Returns
True if this object is equal to the passed long
override bool com.pcbsys.nirvana.nAdminAPI.nConfigGroup.Equals ( object  item)

Compares this object with the passed object.

For internal use only

Parameters
itemObject to compare against
Returns
True if this object is equal to the passed object
virtual nConfigEntry com.pcbsys.nirvana.nAdminAPI.nConfigGroup.find ( string  itemName)
virtual

Finds a nConfigEntry that matches the name specified from within this group

nConfigEntry

Parameters
itemNameName of the nConfigEntry to find as a String
Returns
the nConfigEntry object found or null if the name does not exist within the group
Exceptions
nAdminIllegalArgumentExceptionis thrown if itemName is null
virtual System.Collections.IEnumerator com.pcbsys.nirvana.nAdminAPI.nConfigGroup.getItems ( )
virtual

Returns the group as an IEnumerator of all the nConfigEntry objects that the group consists of

Returns
An IEnumerator of all the nConfigEntry objects that the group consists of
virtual bool com.pcbsys.nirvana.nAdminAPI.nConfigGroup.isReadOnly ( )
virtual

Returns whether this config group is read only

Returns
boolean value representing if it's read only
virtual int com.pcbsys.nirvana.nAdminAPI.nConfigGroup.Length ( )
virtual

Returns the length of the configureation group, ie the number of items

Returns
The number of config entries in this group
virtual bool com.pcbsys.nirvana.nAdminAPI.nConfigGroup.lessThan ( long  aLong)
virtual

Compares this object with the passed object.

For internal use only

Parameters
aLonglong to compare against
Returns
True if this object is less than the passed long
virtual bool com.pcbsys.nirvana.nAdminAPI.nConfigGroup.lessThan ( object  item)
virtual

Compares this object with the passed object.

For internal use only

Parameters
itemObject to compare against
Returns
True if this object is less than the passed object

Property Documentation

virtual string com.pcbsys.nirvana.nAdminAPI.nConfigGroup.Description
get

Retrieves the description of this group

Returns
the description of this config group as a String
virtual string com.pcbsys.nirvana.nAdminAPI.nConfigGroup.Name
get

Retrieve this groups unique name

Returns
String name