[Package Index] [Index] [Users' Guide] [SVAPI Home Page]

Class COM.novell.SVAPI.EnginePropertiesList

public class EnginePropertiesList

The EnginePropertiesList class is a container for EngineProperties objects. It provides convenience methods to remove EngineProperties objects on the basis of defined properties.

See Also: EngineProperties


Constructor Index

EnginePropertiesList()
Creates an empty EnginePropertiesList object.


Method Index

addElement(EngineProperties)
Adds an EngineProperties to the list.
clone()
Clones this EnginePropertiesList.
elementAt(int)
Returns a EngineProperties from the list.
ensure(Properties)
Ensure that all EngineProperties descriptions in the list match all properties defined in Props.
ensure(String, String)
Ensure that all EngineProperties descriptions in the list match the property defined by Key and Value.
ensureOneOf(Properties)
Ensure that all EngineProperties descriptions in the list match at least one property defined in Props.
firstElement()
Returns the first EngineProperties in the list.
isEmpty()
Returns true if the list is empty
reject(Properties)
Reject (remove) any EngineProperties descriptions in the list which match all the properties defined in Props.
reject(String, String)
Reject (remove) any EngineProperties descriptions in the list which match the property defined by Key and Value.
rejectOneOf(Properties)
Reject (remove) any EngineProperties descriptions in the list which match at least one of the properties defined in Props.
removeElementAt(int)
Removes a EngineProperties from the list.
size()
Returns the number of EngineProperties objects in the list.
toString()
Converts the list to a string.


Constructors

EnginePropertiesList

public EnginePropertiesList()
Creates an empty EnginePropertiesList object.


Methods



size

public int size()
Returns the number of EngineProperties objects in the list.


isEmpty

public boolean isEmpty()
Returns true if the list is empty.


addElement

public void addElement(EngineProperties Desc)
Adds an EngineProperties to the list.


removeElementAt

public void removeElementAt(int index)
Removes a EngineProperties from the list.
Exceptions:


elementAt

public EngineProperties elementAt(int index)
Returns a EngineProperties from the list.
Exceptions:


firstElement

public EngineProperties firstElement()
Returns the first EngineProperties in the list. Note that the EngineProperties objects are ordered in order.
Exceptions:


toString

public String toString()
Converts the list to a string. Useful for debugging.
Overrides: toString in class Object


clone

public synchronized Object clone()
Clones this EnginePropertiesList. The descriptions are not cloned.
Overrides: clone in class Object


ensure

public synchronized void ensure(String Key, String Value)
Ensure that all EngineProperties descriptions in the list match the property defined by Key and Value. Any descriptions which do not match are removed from the list.


ensure

public synchronized void ensure(Properties Props)
Ensure that all EngineProperties descriptions in the list match all properties defined in Props. Any descriptions which do not match are removed from the list.


ensureOneOf

public synchronized void ensureOneOf(Properties Props)
Ensure that all EngineProperties descriptions in the list match at least one property defined in Props. Any descriptions which do not match are removed from the list.


reject

public synchronized void reject(String Key, String Value)
Reject (remove) any EngineProperties descriptions in the list which match the property defined by Key and Value.


reject

public synchronized void reject(Properties Props)
Reject (remove) any EngineProperties descriptions in the list which match all the properties defined in Props.


rejectOneOf

public synchronized void rejectOneOf(Properties Props)
Reject (remove) any EngineProperties descriptions in the list which match at least one of the properties defined in Props.



[Package Index] [Index] [Users' Guide] [SVAPI Home Page]

rwille@novell.com