Remote Systems
v6.4.1

com.ibm.etools.systems.filters.impl
Class SystemFilterStringReferenceImpl

java.lang.Object
  extended bycom.ibm.etools.systems.filters.impl.SystemFilterStringReferenceImpl
All Implemented Interfaces:
IAdaptable, ISystemReferencingObject, SystemFilterStringReference

public class SystemFilterStringReferenceImpl
extends Object
implements SystemFilterStringReference, IAdaptable

A reference to a system filter string.


Field Summary
static String copyright
           
protected  SystemReferencingObjectHelper helper
           
protected  SystemFilterReference parent
           
protected  SystemFilter parentFilter
           
protected  boolean referenceBroken
           
 
Constructor Summary
  SystemFilterStringReferenceImpl(SystemFilterReference parentRef, SystemFilterString referencedString)
          Constructor for SystemFilterStringReferenceImpl
protected SystemFilterStringReferenceImpl(SystemFilter parentFilter, SystemFilterString referencedString)
          Constructor for SystemFilterStringReferenceImpl when starting with filter vs filter reference parent we are not yet ready to make this available.
 
Method Summary
 Object getAdapter(Class adapterType)
          This is the method required by the IAdaptable interface.
 SystemFilterPoolReferenceManager getFilterPoolReferenceManager()
          Return the reference manager which is managing this filter reference framework object.
 SystemFilterReference getParent()
          Get the referenced filter that contains this filter string reference.
 SystemFilter getParentSystemFilter()
          Get the actual filter that contain the actual filter string we reference
 SystemFilterPoolReferenceManagerProvider getProvider()
          Return the object which instantiated the pool reference manager object.
 SystemFilterString getReferencedFilterString()
          Get the master filter string
 ISystemReferencedObject getReferencedObject()
          Get the object which we reference
 String getString()
          Same as getReferencedFilterString().getString()
 boolean isReferenceBroken()
          Return true if this reference is currently broken/unresolved
 int removeReference()
          Fastpath to getReferencedObject().removeReference(this).
 void setReferenceBroken(boolean broken)
          Set to true if this reference is currently broken/unresolved
 void setReferencedObject(ISystemReferencedObject obj)
          Set the object to which we reference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected SystemFilterReference parent

parentFilter

protected SystemFilter parentFilter

helper

protected SystemReferencingObjectHelper helper

referenceBroken

protected boolean referenceBroken

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemFilterStringReferenceImpl

public SystemFilterStringReferenceImpl(SystemFilterReference parentRef,
                                       SystemFilterString referencedString)
Constructor for SystemFilterStringReferenceImpl

Parameters:
parentRef - The parent filter reference for this filter string reference.
referencedString - The filter string we reference

SystemFilterStringReferenceImpl

protected SystemFilterStringReferenceImpl(SystemFilter parentFilter,
                                          SystemFilterString referencedString)
Constructor for SystemFilterStringReferenceImpl when starting with filter vs filter reference parent

we are not yet ready to make this available.

Parameters:
parentFilter - The parent filter for this filter string reference.
referencedString - The filter string we reference
Method Detail

getFilterPoolReferenceManager

public SystemFilterPoolReferenceManager getFilterPoolReferenceManager()
Return the reference manager which is managing this filter reference framework object.

Specified by:
getFilterPoolReferenceManager in interface SystemFilterStringReference

getProvider

public SystemFilterPoolReferenceManagerProvider getProvider()
Return the object which instantiated the pool reference manager object. Makes it easy to get back to the point of origin, given any filter reference framework object

Specified by:
getProvider in interface SystemFilterStringReference

getReferencedFilterString

public SystemFilterString getReferencedFilterString()
Description copied from interface: SystemFilterStringReference
Get the master filter string

Specified by:
getReferencedFilterString in interface SystemFilterStringReference
See Also:
SystemFilterStringReference.getReferencedFilterString()

getString

public String getString()
Same as getReferencedFilterString().getString()

Specified by:
getString in interface SystemFilterStringReference

getParent

public SystemFilterReference getParent()
Description copied from interface: SystemFilterStringReference
Get the referenced filter that contains this filter string reference.

Specified by:
getParent in interface SystemFilterStringReference
See Also:
SystemFilterStringReference.getParent()

getParentSystemFilter

public SystemFilter getParentSystemFilter()
Description copied from interface: SystemFilterStringReference
Get the actual filter that contain the actual filter string we reference

Specified by:
getParentSystemFilter in interface SystemFilterStringReference
See Also:
SystemFilterStringReference.getParentSystemFilter()

getAdapter

public Object getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. Given an adapter class type, return an object castable to the type, or null if this is not possible. By default this returns Platform.getAdapterManager().getAdapter(this, adapterType); This in turn results in the default subsystem adapter SystemViewSubSystemAdapter, in package com.ibm.etools.systems.core.ui.view.

Specified by:
getAdapter in interface IAdaptable

setReferencedObject

public void setReferencedObject(ISystemReferencedObject obj)
Description copied from interface: ISystemReferencingObject
Set the object to which we reference

Specified by:
setReferencedObject in interface ISystemReferencingObject
See Also:
ISystemReferencingObject.setReferencedObject(ISystemReferencedObject)

getReferencedObject

public ISystemReferencedObject getReferencedObject()
Description copied from interface: ISystemReferencingObject
Get the object which we reference

Specified by:
getReferencedObject in interface ISystemReferencingObject
See Also:
ISystemReferencingObject.getReferencedObject()

removeReference

public int removeReference()
Description copied from interface: ISystemReferencingObject
Fastpath to getReferencedObject().removeReference(this).

Specified by:
removeReference in interface ISystemReferencingObject
Returns:
new reference count of master object
See Also:
ISystemReferencingObject.removeReference()

setReferenceBroken

public void setReferenceBroken(boolean broken)
Set to true if this reference is currently broken/unresolved

Specified by:
setReferenceBroken in interface ISystemReferencingObject

isReferenceBroken

public boolean isReferenceBroken()
Return true if this reference is currently broken/unresolved

Specified by:
isReferenceBroken in interface ISystemReferencingObject

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.