|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
com.ibm.etools.systems.references.impl.SystemReferencingObjectImpl
com.ibm.etools.systems.filters.impl.SystemFilterReferenceImpl
Field Summary | |
---|---|
protected HashMap |
cachedContents
|
static String |
copyright
|
protected boolean |
isStale
|
protected boolean |
persistent
|
static boolean |
PERSISTENT_NO
|
static boolean |
PERSISTENT_YES
|
Fields inherited from class com.ibm.etools.systems.references.impl.SystemReferencingObjectImpl |
---|
helper, referenceBroken |
Constructor Summary | |
---|---|
protected |
SystemFilterReferenceImpl()
Constructor. |
Method Summary | |
---|---|
static SystemFilterReference |
createSystemFilterReference(SystemFilterContainerReference parent,
SystemFilter filter,
boolean persistent)
Create a new instance of this class. |
protected EClass |
eStaticClass()
|
Object |
getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. |
Object[] |
getContents(ISystemContentsType contentsType)
Returns all the contents of the object (combining results of all filters |
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 |
SystemFilterPoolReferenceManager |
getFilterPoolReferenceManager()
Return the reference manager which is managing this filter reference framework object. |
String |
getName()
Return the name of the SystemFilter or SystemFilterPool that we reference. |
SystemFilterContainerReference |
getParent()
The parent will either by a SystemFilterPoolReference or a SystemFilterReference. |
SystemFilterPoolReference |
getParentSystemFilterReferencePool()
If this is a reference to a nested filter, the parent is the reference to the nested filter's parent. |
SystemFilterPoolReferenceManagerProvider |
getProvider()
Return the object which instantiated the pool reference manager object. |
SystemFilter |
getReferencedFilter()
Return the filter to which we reference... |
ISystemReferencedObject |
getReferencedObject()
Get the object which we reference. |
SystemFilterContainer |
getReferencedSystemFilterContainer()
Return the object to which we hold a reference. |
SystemFilterReference |
getSystemFilterReference(SystemFilter filter)
Create a single filter refererence to a given filter. |
SystemFilterReference[] |
getSystemFilterReferences()
Build and return an array of SystemFilterReference objects. |
int |
getSystemFilterStringCount()
Return the number of filter strings in the referenced filter |
SystemFilterStringReference |
getSystemFilterStringReference(SystemFilterString filterString)
Create a single filter string refererence to a given filter string |
SystemFilterStringReference[] |
getSystemFilterStringReferences()
Get the filter strings contained by this filter. |
boolean |
hasContents(ISystemContentsType contentsType)
Returns whether the object has contents of a particular type. |
boolean |
hasFilters()
Return true if the referenced pool or filter has filters. |
boolean |
isStale()
Indicates whether the cached object is stale |
void |
markStale(boolean isStale)
Marks the object as stale or not |
int |
removeReference()
Fastpath to getReferencedObject().removeReference(this). |
void |
setContents(ISystemContentsType type,
Object[] cachedContents)
|
void |
setParent(SystemFilterContainerReference parent)
If this is a reference to a nested filter, the parent is the reference to the nested filter's parent. |
void |
setReferencedFilter(SystemFilter filter)
Set the filter to which we reference... |
void |
setReferencedObject(ISystemReferencedObject obj)
Set the object to which we reference. |
String |
toString()
Override of Object method. |
Methods inherited from class com.ibm.etools.systems.references.impl.SystemReferencingObjectImpl |
---|
isReferenceBroken, setReferenceBroken |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.etools.systems.references.ISystemReferencingObject |
---|
isReferenceBroken, setReferenceBroken |
Field Detail |
protected boolean persistent
protected boolean isStale
protected HashMap cachedContents
public static final String copyright
public static final boolean PERSISTENT_YES
public static final boolean PERSISTENT_NO
Constructor Detail |
protected SystemFilterReferenceImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class SystemReferencingObjectImpl
public static SystemFilterReference createSystemFilterReference(SystemFilterContainerReference parent, SystemFilter filter, boolean persistent)
parent
- The SystemFilterReference or SystemFilterPoolReference object that we are a child of.filter
- The master object to be referenced.persistent
- Whether we should formally register our reference with the target filter or not.public SystemFilterPoolReferenceManager getFilterPoolReferenceManager()
getFilterPoolReferenceManager
in interface SystemFilterReference
public SystemFilterPoolReferenceManagerProvider getProvider()
getProvider
in interface SystemFilterReference
public void setParent(SystemFilterContainerReference parent)
public SystemFilterContainerReference getParent()
getParent
in interface SystemFilterReference
public SystemFilter getReferencedFilter()
getReferencedFilter
in interface SystemFilterReference
public void setReferencedFilter(SystemFilter filter)
setReferencedFilter
in interface SystemFilterReference
public SystemFilterPoolReference getParentSystemFilterReferencePool()
getParentSystemFilterReferencePool
in interface SystemFilterReference
public Object getAdapter(Class adapterType)
getAdapter
in interface IAdaptable
public SystemFilterContainer getReferencedSystemFilterContainer()
Of course, this is a generic method, and in our case it is always true that we only hold a SystemFilter. Hence, this is the same as calling getReferenceFilter and casting the result.
getReferencedSystemFilterContainer
in interface SystemFilterContainerReference
public SystemFilterReference[] getSystemFilterReferences()
getSystemFilterReferences
in interface SystemFilterContainerReference
public SystemFilterReference getSystemFilterReference(SystemFilter filter)
getSystemFilterReference
in interface SystemFilterContainerReference
getExistingSystemFilterReference(SystemFilter)
public SystemFilterReference getExistingSystemFilterReference(SystemFilter filter)
getExistingSystemFilterReference
in interface SystemFilterContainerReference
getSystemFilterReference(SystemFilter)
public boolean hasFilters()
hasFilters
in interface SystemFilterContainerReference
public int getFilterCount()
getFilterCount
in interface SystemFilterContainerReference
public String getName()
getName
in interface SystemFilterContainerReference
public String toString()
public int getSystemFilterStringCount()
getSystemFilterStringCount
in interface SystemFilterReference
public SystemFilterStringReference[] getSystemFilterStringReferences()
getSystemFilterStringReferences
in interface SystemFilterReference
public SystemFilterStringReference getSystemFilterStringReference(SystemFilterString filterString)
getSystemFilterStringReference
in interface SystemFilterReference
public void setReferencedObject(ISystemReferencedObject obj)
setReferencedObject
in interface ISystemReferencingObject
setReferencedObject
in class SystemReferencingObjectImpl
ISystemReferencingObject.setReferencedObject(ISystemReferencedObject)
public ISystemReferencedObject getReferencedObject()
getReferencedObject
in interface ISystemReferencingObject
getReferencedObject
in class SystemReferencingObjectImpl
ISystemReferencingObject.getReferencedObject()
public int removeReference()
removeReference
in interface ISystemReferencingObject
removeReference
in class SystemReferencingObjectImpl
ISystemReferencingObject.removeReference()
public boolean hasContents(ISystemContentsType contentsType)
ISystemContainer
hasContents
in interface ISystemContainer
contentsType
- type of contents
true
if the object has contents, false
otherwise.public Object[] getContents(ISystemContentsType contentsType)
ISystemContainer
getContents
in interface ISystemContainer
contentsType
- type of contents
public void setContents(ISystemContentsType type, Object[] cachedContents)
setContents
in interface SystemFilterReference
public boolean isStale()
ISystemContainer
isStale
in interface ISystemContainer
public void markStale(boolean isStale)
ISystemContainer
markStale
in interface ISystemContainer
isStale
- whether the object is to be marked stale or not
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |