Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.perspective.model
Interface IISeriesResourceFactory


public interface IISeriesResourceFactory

This interface can be used to create instances of the iSeries Projects Object model. Some model filtering is done here. Specifically, if a file or folder starts with a ".", then it is filtered out. Also, if a folder does not have the correct metadata folder as a child, it is also filtered out of the model. Clients are typically not expected to use this interface. Clients are not expected to implement this interface.


Field Summary
static String Copyright
           
 
Method Summary
 AbstractISeriesNativeMember createNativeISeriesMember(IResource iresource)
          Returns instances of AbstractISeriesNativeMember that represent the given resource.
If the resource is an IFolder, it is ignored because Objects can not have containers (ie: other objects).
 AbstractISeriesNativeObject createNativeISeriesObject(IResource iresource)
          Returns instances of AbstractISeriesNativeObject with either IFile or IFolder cached.
 

Field Detail

Copyright

static final String Copyright
See Also:
Constant Field Values
Method Detail

createNativeISeriesObject

AbstractISeriesNativeObject createNativeISeriesObject(IResource iresource)
Returns instances of AbstractISeriesNativeObject with either IFile or IFolder cached. Returns null if given resource starts with a ".", or is not an IFile or an IFolder. Returns null if it is an IFolder, but it does not have a metadata folder as a child. The metadata folder is called ".iseries_srcpf_properties" and it is this folder that designates an IFolder as a srcpf.


createNativeISeriesMember

AbstractISeriesNativeMember createNativeISeriesMember(IResource iresource)
Returns instances of AbstractISeriesNativeMember that represent the given resource.
If the resource is an IFolder, it is ignored because Objects can not have containers (ie: other objects). Returns null if given resource is an IFolder. Returns null if given resource starts with a ".".


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.