com.ibm.ftt.resources.core.physical
Interface IContainer

All Superinterfaces:
IAdaptable
All Known Subinterfaces:
ILogicalContainer, ILogicalProject, ILogicalSubProject, IPhysicalContainer, IRemoteProject, IRemoteSubProject, IResourceRoot, LZOSPartitionedDataSet, LZOSProject, LZOSSubProject, ZOSCatalog, ZOSGenerationDataGroup, ZOSPartitionedDataSet

public interface IContainer
extends IAdaptable

The IContainer is an interface for a container object in the resource model.


Field Summary
static String COPY_RIGHT
           
 
Method Summary
 boolean exists(IPath path)
          Determines whether this container contains a member object represented by the specified path.
 IAdaptable findMember(IPath path)
          Finds the member object contained by this container specified by the given path.
 IAdaptable findMember(String name)
          Finds the member object contained by this container with the given name.
 List getMembers()
          Deprecated. Use IContainer.members() instead.
 IAdaptable[] members()
          Returns an array of objects that are members of this container.
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

COPY_RIGHT

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

exists

boolean exists(IPath path)
Determines whether this container contains a member object represented by the specified path.

Parameters:
path - the relative path from the container to the member object of interest
Returns:
true if this container contains the object; false otherwise

findMember

IAdaptable findMember(IPath path)
Finds the member object contained by this container specified by the given path.

Parameters:
path - the relative path from the container to the member object to find
Returns:
a member object represented by the path

findMember

IAdaptable findMember(String name)
Finds the member object contained by this container with the given name.

Parameters:
name - the name of a member object to find
Returns:
a member object that has the specified name

getMembers

List getMembers()
Deprecated. Use IContainer.members() instead.

Returns a list of objects that are members of this container.

Use IContainer.members() instead.

Returns:
a list of all the members of this container
See Also:
IContainer.members()

members

IAdaptable[] members()
Returns an array of objects that are members of this container.

Returns:
array of all the members of this container
See Also:
IContainer.getMembers()