|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.filters.impl.SystemFilterContainerReferenceCommonMethods
Both SystemFilter and SystemFilterPool contain filters, so the common methods for filters are abstracted out in SystemFilterContainer, which both classes implement. Both SystemFilterReference and SystemFilterPoolReference hold references to SystemFilterContainer objects (either SystemFilter or SystemFilterPool). There are a couple of methods that are common to both classes, related to getting an array of references to the filters that are held by the referenced object. This class offers an implementation of those common methods, and both SystemFilterReferenceImpl and SystemFilterPoolReferenceImpl use this via containment.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemFilterContainerReferenceCommonMethods(SystemFilterContainerReference parentRef)
Constructor |
Method Summary | |
---|---|
SystemFilterReference |
generateAndRecordFilterReference(SystemFilter filter)
Create a single filter refererence and append it to the end of the list. |
SystemFilterReference |
generateFilterReference(SystemFilter filter)
Create a single filter refererence |
SystemFilterReference |
getExistingSystemFilterReference(SystemFilter filter)
Return an existing reference to a given system filter. |
int |
getFilterCount()
Return count of the number of filters in the referenced pool or filter |
String |
getName()
Return the name of the SystemFilter or SystemFilterPool that we reference. |
SystemFilterReference[] |
getSystemFilterReferences()
Get the list of nested filters referenced by this ISystemFilterContainerReference. |
boolean |
hasFilters()
Return true if the referenced pool or filter has filters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemFilterContainerReferenceCommonMethods(SystemFilterContainerReference parentRef)
parentRef
- the object we are helping.Method Detail |
public String getName()
public boolean hasFilters()
public int getFilterCount()
public SystemFilterReference[] getSystemFilterReferences()
public SystemFilterReference generateFilterReference(SystemFilter filter)
public SystemFilterReference generateAndRecordFilterReference(SystemFilter filter)
public SystemFilterReference getExistingSystemFilterReference(SystemFilter filter)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |