Remote Systems
v6.4.1

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

java.lang.Object
  extended byEObjectImpl
      extended bycom.ibm.etools.systems.filters.impl.SystemFilterStringImpl
All Implemented Interfaces:
IAdaptable, ISystemReferencedObject, SystemFilterString

public class SystemFilterStringImpl
extends EObjectImpl
implements SystemFilterString, IAdaptable

See Also:
Serialized Form

Field Summary
static String copyright
           
protected  boolean default_
           
protected static boolean DEFAULT_EDEFAULT
          The default value of the 'Default' attribute
protected  SystemReferencedObjectHelper helper
           
protected  String string
           
protected static String STRING_EDEFAULT
          The default value of the 'String' attribute
protected  String type
           
protected static String TYPE_EDEFAULT
          The default value of the 'Type' attribute
 
Constructor Summary
protected SystemFilterStringImpl()
          Constructor.
 
Method Summary
 int addReference(ISystemReferencingObject ref)
          Add a reference, increment reference count, return new count
 void clone(SystemFilterString targetString)
          Clones this filter string's attributes into the given filter string
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(EStructuralFeature eFeature)
           
 Object getAdapter(Class adapterType)
          This is the method required by the IAdaptable interface.
 SystemFilter getParentSystemFilter()
          Get the parent filter that contains this filter string.
 SystemFilterPoolManagerProvider getProvider()
          Return the caller which instantiated the filter pool manager overseeing this filter framework instance
 int getReferenceCount()
          Return a count of how many referencing objects reference this object.
 ISystemReferencingObject[] getReferencingObjects()
          Return a list of all referencing objects of this object
 String getString()
           
 SystemFilterPoolManager getSystemFilterPoolManager()
          Return the filter pool manager managing this collection of filter pools and their filters and their filter strings.
 String getType()
          Returns the type attribute.
 String getTypeGen()
           
 boolean isChangable()
          Is this filter string changable?
 boolean isDefault()
           
 void removeAllReferences()
          Clear the list of referenced objects.
 int removeReference(ISystemReferencingObject ref)
          Remove a reference, decrement reference count, return new count
 void setDefault(boolean newDefault)
           
 void setParentSystemFilter(SystemFilter filter)
          Set the transient parent back-pointer.
 void setString(String newString)
           
 void setType(String newType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

helper

protected SystemReferencedObjectHelper helper

copyright

public static final String copyright
See Also:
Constant Field Values

STRING_EDEFAULT

protected static final String STRING_EDEFAULT
The default value of the 'String' attribute.

See Also:
getString()

string

protected String string

TYPE_EDEFAULT

protected static final String TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected String type

DEFAULT_EDEFAULT

protected static final boolean DEFAULT_EDEFAULT
The default value of the 'Default' attribute.

See Also:
isDefault(), Constant Field Values

default_

protected boolean default_
Constructor Detail

SystemFilterStringImpl

protected SystemFilterStringImpl()
Constructor. Do not instantiate yourself! Let MOF do it!

Method Detail

eStaticClass

protected EClass eStaticClass()


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.

Specified by:
getAdapter in interface IAdaptable

setParentSystemFilter

public void setParentSystemFilter(SystemFilter filter)
Set the transient parent back-pointer. Called by framework at restore/create time.

Specified by:
setParentSystemFilter in interface SystemFilterString

getParentSystemFilter

public SystemFilter getParentSystemFilter()
Get the parent filter that contains this filter string.

Specified by:
getParentSystemFilter in interface SystemFilterString

getProvider

public SystemFilterPoolManagerProvider getProvider()
Return the caller which instantiated the filter pool manager overseeing this filter framework instance

Specified by:
getProvider in interface SystemFilterString

getSystemFilterPoolManager

public SystemFilterPoolManager getSystemFilterPoolManager()
Return the filter pool manager managing this collection of filter pools and their filters and their filter strings.

Specified by:
getSystemFilterPoolManager in interface SystemFilterString

getType

public String getType()
Returns the type attribute. Intercepted to return SystemFilterConstants.DEFAULT_TYPE if it is currently null

Specified by:
getType in interface SystemFilterString
Returns:
The value of the Type attribute Allows tools to have typed filter strings

clone

public void clone(SystemFilterString targetString)
Clones this filter string's attributes into the given filter string

Specified by:
clone in interface SystemFilterString

isChangable

public boolean isChangable()
Is this filter string changable? Depends on mof attributes of parent filter

Specified by:
isChangable in interface SystemFilterString

addReference

public int addReference(ISystemReferencingObject ref)
Add a reference, increment reference count, return new count

Specified by:
addReference in interface ISystemReferencedObject
Returns:
new count of how many referencing objects reference this object.

removeReference

public int removeReference(ISystemReferencingObject ref)
Remove a reference, decrement reference count, return new count

Specified by:
removeReference in interface ISystemReferencedObject
Returns:
new count of how many referencing objects reference this object.

getReferenceCount

public int getReferenceCount()
Return a count of how many referencing objects reference this object.

Specified by:
getReferenceCount in interface ISystemReferencedObject

removeAllReferences

public void removeAllReferences()
Clear the list of referenced objects.

Specified by:
removeAllReferences in interface ISystemReferencedObject

getReferencingObjects

public ISystemReferencingObject[] getReferencingObjects()
Return a list of all referencing objects of this object

Specified by:
getReferencingObjects in interface ISystemReferencedObject

getString

public String getString()
Specified by:
getString in interface SystemFilterString
Returns:
The value of the String attribute

setString

public void setString(String newString)
Specified by:
setString in interface SystemFilterString
Parameters:
newString - The new value of the String attribute

setType

public void setType(String newType)
Specified by:
setType in interface SystemFilterString
Parameters:
newType - The new value of the Type attribute

isDefault

public boolean isDefault()
Specified by:
isDefault in interface SystemFilterString
Returns:
The value of the Default attribute Is this a vendor-supplied filter string versus a user-defined filter string

setDefault

public void setDefault(boolean newDefault)
Specified by:
setDefault in interface SystemFilterString
Parameters:
newDefault - The new value of the Default attribute

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)


eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)

eUnset

public void eUnset(EStructuralFeature eFeature)

toString

public String toString()

getTypeGen

public String getTypeGen()

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.