com.ibm.as400.access
Class ProductDirectoryInformation

java.lang.Object
  extended by com.ibm.as400.access.ProductDirectoryInformation

public class ProductDirectoryInformation
extends Object

Represents product directory information for a specific licensed product. Use the Product.getDirectoryInformation method to retrieve the product directory information for a product.

See Also:
Product

Method Summary
Modifier and Type Method and Description
 String getInstalledPath()
          The installed full path name for the product directory.
 String getPrimaryPath()
          The primary full path name for the product directory.
 String getPublicDataAuthority()
          The public data authority given to the directory by the Restore Licensed Program (RSTLICPGM) command when this product is installed if the directory does not exist.
 String[] getPublicObjectAuthorities()
          The public object authorities given to the directory by the Restore Licensed Program (RSTLICPGM) command when this product is installed if the directory does not exist.
 String toString()
          Returns the string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstalledPath

public String getInstalledPath()
The installed full path name for the product directory. This is the installed product home directory concatenated with the installed product directory name.

Returns:
The installed full path name of the product directory.

getPrimaryPath

public String getPrimaryPath()
The primary full path name for the product directory. This is the primary product home directory concatenated with the primary product directory name.

Returns:
The primary full path name of the product directory.

getPublicDataAuthority

public String getPublicDataAuthority()
The public data authority given to the directory by the Restore Licensed Program (RSTLICPGM) command when this product is installed if the directory does not exist. If the product load has not been successfully packaged, this field is blank. Other possible values are:

Returns:
The public data authority for this product directory.
See Also:
UserPermission

getPublicObjectAuthorities

public String[] getPublicObjectAuthorities()
The public object authorities given to the directory by the Restore Licensed Program (RSTLICPGM) command when this product is installed if the directory does not exist. If the product load has not been successfully packaged, the number of public object authorities will be 0 and this method will return an empty String array. Possible public object authorities are:

Returns:
The public object authorities for this product directory.
See Also:
UserPermission

toString

public String toString()
Returns the string representation of this object.

Overrides:
toString in class Object
Returns:
The primary full path name of this product directory.