com.ibm.ftt.resources.core.factory
Interface IPhysicalResourceFactory

All Known Subinterfaces:
ZOSPhysicalResourceFactory

public interface IPhysicalResourceFactory

Represents a factory for creating physical resources.

See Also:
PhysicalResourceFactoryFactory.getFactory(Class, Class)

Field Summary
static String COPY_RIGHT
           
 
Method Summary
 IPhysicalResource getPhysicalResource(IContainer parent, Class type, String name)
          Returns a physical resource in the model.
 

Field Detail

COPY_RIGHT

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

getPhysicalResource

IPhysicalResource getPhysicalResource(IContainer parent,
                                      Class type,
                                      String name)
Returns a physical resource in the model. If the resource does not exist in the model, creates a new object and returns it. The newly created object exists only in the model but does not exist on the file system. To create actual physical artifact on the file system, use appropriate method of the physical resource object. For example, allocate for data set, create for data set member, etc.

Parameters:
parent - the container which is the parent of resource to be created
type - the Class of the resource to be created
name - the name of the resource to be created
Returns:
the physical resource that was created