com.ibm.as400.resource

Class RSoftwareResource

    • Field Detail

      • LEVEL

        public static final java.lang.String LEVEL
        Deprecated. 
        Attribute ID for level. This identifies a read-only String attribute, which represents the level identifier of the product. The format is Lxx for the operating system and Licensed Internal Code, or "" for all other products.
        See Also:
        Constant Field Values
      • LOAD_ERROR_INDICATOR

        public static final java.lang.String LOAD_ERROR_INDICATOR
        Deprecated. 
        Attribute ID for load error indicator. This identifies a read-only String attribute, which indicates if there is a known error for this load. Possible values are:
        See Also:
        Constant Field Values
      • LOAD_ERROR_INDICATOR_ERROR

        public static final java.lang.String LOAD_ERROR_INDICATOR_ERROR
        Deprecated. 
        Attribute value indicating that an error was found the last time that the state of this load was checked or updated.
        See Also:
        LOAD_ERROR_INDICATOR_ERROR, Constant Field Values
      • LOAD_ERROR_INDICATOR_NONE

        public static final java.lang.String LOAD_ERROR_INDICATOR_NONE
        Deprecated. 
        Attribute value indicating that no error was found the last time that the state of this load was checked or updated.
        See Also:
        LOAD_ERROR_INDICATOR_NONE, Constant Field Values
      • LOAD_ID

        public static final java.lang.String LOAD_ID
        Deprecated. 
        Attribute ID for load ID. This identifies a read-only String attribute, which represents the load ID of the product load for which information was returned. Possible values are:
        • "5050" - The code load.
        • A load ID.
        See Also:
        Constant Field Values
      • LOAD_ID_CODE

        public static final java.lang.String LOAD_ID_CODE
        Deprecated. 
        Attribute value indicating the code load.
        See Also:
        LOAD_ID, Constant Field Values
      • LOAD_STATE

        public static final java.lang.String LOAD_STATE
        Deprecated. 
        Attribute ID for load state. This identifies a read-only String attribute, which represents the state of the load.
        See Also:
        Constant Field Values
      • LOAD_TYPE

        public static final java.lang.String LOAD_TYPE
        Deprecated. 
        Attribute ID for load type. This identifies a read-only String attribute, which represents the type of the load. Possible values are:
        See Also:
        Constant Field Values
      • LOAD_TYPE_CODE

        public static final java.lang.String LOAD_TYPE_CODE
        Deprecated. 
        Attribute value indicating that the load is a code load.
        See Also:
        LOAD_TYPE, Constant Field Values
      • LOAD_TYPE_LANGUAGE

        public static final java.lang.String LOAD_TYPE_LANGUAGE
        Deprecated. 
        Attribute value indicating that the load is a language load.
        See Also:
        LOAD_TYPE, Constant Field Values
      • MINIMUM_BASE_VRM

        public static final java.lang.String MINIMUM_BASE_VRM
        Deprecated. 
        Attribute ID for minimum base VRM. This identifies a read-only String attribute, which represents the minimum release level that is allowed for the *BASE option that will run with the current level of the option for the product. Possible values are:
        • MINIMUM_BASE_VRM_MATCH - The release of the option matches that of the base.
        • The release value in the form VxRxMx.
        See Also:
        Constant Field Values
      • MINIMUM_BASE_VRM_MATCH

        public static final java.lang.String MINIMUM_BASE_VRM_MATCH
        Deprecated. 
        Attribute value indicating the release of the option matches that of the base.
        See Also:
        MINIMUM_BASE_VRM, Constant Field Values
      • MINIMUM_TARGET_RELEASE

        public static final java.lang.String MINIMUM_TARGET_RELEASE
        Deprecated. 
        Attribute ID for minimum target release. This identifies a read-only String attribute, which represents the minimum release of the operating system to which the Save Licensed Program (SAVLICPGM) command will allow the product to be saved, in the form VxRxMx.
        See Also:
        Constant Field Values
      • PRIMARY_LANGUAGE_LOAD_ID

        public static final java.lang.String PRIMARY_LANGUAGE_LOAD_ID
        Deprecated. 
        Attribute ID for primary language load ID. This identifies a read-only String attribute, which represents the primary language of the product option for code loads, or "" if no language is installed, or for language loads.
        See Also:
        Constant Field Values
      • PRODUCT_ID

        public static final java.lang.String PRODUCT_ID
        Deprecated. 
        Attribute ID for product ID. This identifies a read-only String attribute, which represents the product ID.
        See Also:
        Constant Field Values
      • PRODUCT_ID_OPERATING_SYSTEM

        public static final java.lang.String PRODUCT_ID_OPERATING_SYSTEM
        Deprecated. 
        Attribute value indicating the product ID for the operating system.
        See Also:
        PRODUCT_ID, Constant Field Values
      • PRODUCT_OPTION

        public static final java.lang.String PRODUCT_OPTION
        Deprecated. 
        Attribute ID for product option. This identifies a read-only String attribute, which represents the product option. Possible values are:
        See Also:
        Constant Field Values
      • PRODUCT_OPTION_BASE

        public static final java.lang.String PRODUCT_OPTION_BASE
        Deprecated. 
        Attribute value indicating the base option.
        See Also:
        PRODUCT_OPTION, Constant Field Values
      • REGISTRATION_TYPE

        public static final java.lang.String REGISTRATION_TYPE
        Deprecated. 
        Attribute ID for registration type. This identifies a read-only String attribute, which represents the registration type, which makes up part of the registration ID of the product.
        See Also:
        Constant Field Values
      • REGISTRATION_VALUE

        public static final java.lang.String REGISTRATION_VALUE
        Deprecated. 
        Attribute ID for registration value. This identifies a read-only String attribute, which represents the registration value, which makes up part of the registration ID of the product.
        See Also:
        Constant Field Values
      • RELEASE_LEVEL

        public static final java.lang.String RELEASE_LEVEL
        Deprecated. 
        Attribute ID for release level. This identifies a read-only String attribute, which represents the release level.
        See Also:
        Constant Field Values
      • RELEASE_LEVEL_CURRENT

        public static final java.lang.String RELEASE_LEVEL_CURRENT
        Deprecated. 
        Attribute value indicating the release level of the currently installed operating system.
        See Also:
        RELEASE_LEVEL, Constant Field Values
      • RELEASE_LEVEL_ONLY

        public static final java.lang.String RELEASE_LEVEL_ONLY
        Deprecated. 
        Attribute value indicating the only release level for which a product load is found.
        See Also:
        RELEASE_LEVEL, Constant Field Values
      • RELEASE_LEVEL_PREVIOUS

        public static final java.lang.String RELEASE_LEVEL_PREVIOUS
        Deprecated. 
        Attribute value indicating the previous release with modification level 0 of the operating system.
        See Also:
        RELEASE_LEVEL, Constant Field Values
      • REQUIREMENTS_MET_UNKNOWN

        public static final java.lang.String REQUIREMENTS_MET_UNKNOWN
        Deprecated. 
        Attribute value indicating that not enough information is available to determine if the release requirements have been met.
        See Also:
        REQUIREMENTS_MET, Constant Field Values
      • REQUIREMENTS_MET_ALL

        public static final java.lang.String REQUIREMENTS_MET_ALL
        Deprecated. 
        Attribute value indicating that the releases of the base and option meet all requirements.
        See Also:
        REQUIREMENTS_MET, Constant Field Values
      • REQUIREMENTS_MET_TOO_OLD_COMPARED_TO_BASE

        public static final java.lang.String REQUIREMENTS_MET_TOO_OLD_COMPARED_TO_BASE
        Deprecated. 
        Attribute value indicating that the release of the option is too old compared to the base.
        See Also:
        REQUIREMENTS_MET, Constant Field Values
      • REQUIREMENTS_MET_TOO_OLD_COMPARED_TO_OPTION

        public static final java.lang.String REQUIREMENTS_MET_TOO_OLD_COMPARED_TO_OPTION
        Deprecated. 
        Attribute value indicating that the release of the base is too old compared to the option.
        See Also:
        REQUIREMENTS_MET, Constant Field Values
      • SUPPORTED_FLAG

        public static final java.lang.String SUPPORTED_FLAG
        Deprecated. 
        Attribute ID for requirements met. This identifies a read-only Boolean attribute, which indicates whether this load is currently supported.
        See Also:
        Constant Field Values
      • SYMBOLIC_LOAD_STATE_DEFINED

        public static final java.lang.String SYMBOLIC_LOAD_STATE_DEFINED
        Deprecated. 
        Attribute value indicating that the load is defined. The product load object for this load does not exist.
        See Also:
        SYMBOLIC_LOAD_STATE, Constant Field Values
      • SYMBOLIC_LOAD_STATE_CREATED

        public static final java.lang.String SYMBOLIC_LOAD_STATE_CREATED
        Deprecated. 
        Attribute value indicating that the product load object for this load exists.
        See Also:
        SYMBOLIC_LOAD_STATE, Constant Field Values
      • SYMBOLIC_LOAD_STATE_PACKAGED

        public static final java.lang.String SYMBOLIC_LOAD_STATE_PACKAGED
        Deprecated. 
        Attribute value indicating that the product load object has been packaged.
        See Also:
        SYMBOLIC_LOAD_STATE, Constant Field Values
      • SYMBOLIC_LOAD_STATE_DAMAGED

        public static final java.lang.String SYMBOLIC_LOAD_STATE_DAMAGED
        Deprecated. 
        Attribute value indicating that the product load object has been damaged.
        See Also:
        SYMBOLIC_LOAD_STATE, Constant Field Values
      • SYMBOLIC_LOAD_STATE_LOADED

        public static final java.lang.String SYMBOLIC_LOAD_STATE_LOADED
        Deprecated. 
        Attribute value indicating that the product load object is being loaded or deleted.
        See Also:
        SYMBOLIC_LOAD_STATE, Constant Field Values
      • SYMBOLIC_LOAD_STATE_INSTALLED

        public static final java.lang.String SYMBOLIC_LOAD_STATE_INSTALLED
        Deprecated. 
        Attribute value indicating that the product load object was loaded.
        See Also:
        SYMBOLIC_LOAD_STATE, Constant Field Values
    • Constructor Detail

      • RSoftwareResource

        public RSoftwareResource()
        Deprecated. 
        Constructs an RSoftwareResource object.
      • RSoftwareResource

        public RSoftwareResource(AS400 system,
                         java.lang.String productID)
        Deprecated. 
        Constructs an RSoftwareResource object.
        Parameters:
        system - The system.
        productID - The product ID, or PRODUCT_ID_OPERATING_SYSTEM to refer to the operating system.
      • RSoftwareResource

        public RSoftwareResource(AS400 system,
                         java.lang.String productID,
                         java.lang.String releaseLevel,
                         java.lang.String productOption)
        Deprecated. 
        Constructs an RSoftwareResource object.
        Parameters:
        system - The system.
        productID - The product ID, or PRODUCT_ID_OPERATING_SYSTEM to refer to the operating system.
        releaseLevel - The release level. Possible values are:
        • RELEASE_LEVEL_CURRENT - Use the release level of the currently installed operating system.
        • RELEASE_LEVEL_ONLY - Use the only release level for which a product load is found.
        • RELEASE_LEVEL_PREVIOUS - Use the previous release with modification level 0 of the operating system.
        • A release level, in the form VxRxMx.
        productOption - The option number for which is being requested, or PRODUCT_OPTION_BASE for the base option.
      • RSoftwareResource

        public RSoftwareResource(AS400 system,
                         java.lang.String productID,
                         java.lang.String releaseLevel,
                         java.lang.String productOption,
                         java.lang.String loadID)
        Deprecated. 
        Constructs an RSoftwareResource object.
        Parameters:
        system - The system.
        productID - The product ID, or PRODUCT_ID_OPERATING_SYSTEM to refer to the operating system.
        releaseLevel - The release level. Possible values are:
        • RELEASE_LEVEL_CURRENT - Use the release level of the currently installed operating system.
        • RELEASE_LEVEL_ONLY - Use the only release level for which a product load is found.
        • RELEASE_LEVEL_PREVIOUS - Use the previous release with modification level 0 of the operating system.
        • A release level, in the form VxRxMx.
        productOption - The option number for which is being requested, or PRODUCT_OPTION_BASE for the base option.
        loadID - The load ID, or LOAD_ID_CODE for the code load.
    >
    • Method Detail

      • establishConnection

        protected void establishConnection()
                                    throws ResourceException
        Deprecated. 
        Establishes the connection to the system.

        The method is called by the resource framework automatically when the connection needs to be established.

        Overrides:
        establishConnection in class Resource
        Throws:
        ResourceException - If an error occurs.
      • freezeProperties

        protected void freezeProperties()
                                 throws ResourceException
        Deprecated. 
        Freezes any property changes. After this is called, property changes should not be made. Properties are not the same thing as attributes. Properties are basic pieces of information which must be set to make the object usable, such as the system and path.

        The method is called by the resource framework automatically when the properties need to be frozen.

        Overrides:
        freezeProperties in class Resource
        Throws:
        ResourceException - If an error occurs.
      • getAttributeUnchangedValue

        public java.lang.Object getAttributeUnchangedValue(java.lang.Object attributeID)
                                                    throws ResourceException
        Deprecated. 
        Returns the unchanged value of an attribute. If the attribute value has a uncommitted change, this returns the unchanged value. If the attribute value does not have a uncommitted change, this returns the same value as getAttributeValue().
        Overrides:
        getAttributeUnchangedValue in class ChangeableResource
        Parameters:
        attributeID - Identifies the attribute.
        Returns:
        The attribute value, or null if the attribute value is not available.
        Throws:
        ResourceException - If an error occurs.
        See Also:
        Subclass notes
      • getLoadID

        public java.lang.String getLoadID()
        Deprecated. 
        Returns the load ID.
        Returns:
        The load ID.
      • getProductID

        public java.lang.String getProductID()
        Deprecated. 
        Returns the product ID.
        Returns:
        The product ID.
      • getProductOption

        public java.lang.String getProductOption()
        Deprecated. 
        Returns the product option.
        Returns:
        The product option.
      • getReleaseLevel

        public java.lang.String getReleaseLevel()
        Deprecated. 
        Returns the release level.
        Returns:
        The release level.
      • setLoadID

        public void setLoadID(java.lang.String loadID)
        Deprecated. 
        Sets the load ID. This does not change the software product on the system. Instead, it changes the software product to which this object references.

        The default value is LOAD_ID_CODE.

        Parameters:
        loadID - The load ID, or LOAD_ID_CODE for the code load.
      • setProductID

        public void setProductID(java.lang.String productID)
        Deprecated. 
        Sets the product ID. This does not change the software product on the system. Instead, it changes the software product to which this object references.

        The default value is PRODUCT_ID_OPERATING_SYSTEM.

        Parameters:
        productID - The product ID, or PRODUCT_ID_OPERATING_SYSTEM to refer to the operating system.
      • setProductOption

        public void setProductOption(java.lang.String productOption)
        Deprecated. 
        Sets the product option. This does not change the software product on the system. Instead, it changes the software product to which this object references.

        The default value is PRODUCT_OPTION_BASE.

        Parameters:
        productOption - The option number for which is being requested, or PRODUCT_OPTION_BASE for the base option.
      • setReleaseLevel

        public void setReleaseLevel(java.lang.String releaseLevel)
        Deprecated. 
        Sets the release level. This does not change the software product on the system. Instead, it changes the software product to which this object references.

        The default value is RELEASE_LEVEL_CURRENT.

        Parameters:
        releaseLevel - The release level. Possible values are:
        • RELEASE_LEVEL_CURRENT - Use the release level of the currently installed operating system.
        • RELEASE_LEVEL_ONLY - Use the only release level for which a product load is found.
        • RELEASE_LEVEL_PREVIOUS - Use the previous release with modification level 0 of the operating system.
        • A release level, in the form VxRxMx.