com.ibm.as400.resource

Class ResourceMetaDataTable

  • java.lang.Object
    • com.ibm.as400.resource.ResourceMetaDataTable
  • All Implemented Interfaces:
    java.io.Serializable

    Deprecated. 
    Use packages com.ibm.as400.access and com.ibm.as400.access.list instead.

    public class ResourceMetaDataTable
    extends java.lang.Object
    implements java.io.Serializable
    The ResourceMetaDataTable class represents a data structure for building and maintaining a list of ResourceMetaData objects. This is intended for use by subclasses of Resource and ResourceList implementations. This information is externalized as an array of ResourceMetaData objects, but this class makes it easier to build this array without knowing the number of elements ahead of time.
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      ResourceMetaData add(java.lang.Object id, java.lang.Class type)
      Deprecated. 
      Creates and adds a ResourceMetaData object to the list.
      ResourceMetaData add(java.lang.Object id, java.lang.Class type, boolean readOnly)
      Deprecated. 
      Creates and adds a ResourceMetaData object to the list.
      ResourceMetaData add(java.lang.Object id, java.lang.Class type, boolean readOnly, java.lang.Object[] possibleValues, java.lang.Object defaultValue, boolean valueLimited)
      Deprecated. 
      Creates and adds a ResourceMetaData object to the list.
      ResourceMetaData add(java.lang.Object id, java.lang.Class type, boolean readOnly, java.lang.Object[] possibleValues, java.lang.Object defaultValue, boolean valueLimited, boolean multipleAllowed)
      Deprecated. 
      Creates and adds a ResourceMetaData object to the list.
      ResourceMetaData add(java.lang.Object id, java.lang.Class type, boolean readOnly, java.lang.Object[] possibleValues, java.lang.Object defaultValue, boolean valueLimited, boolean multipleAllowed, java.lang.String[] possibleValuePresentationKeys)
      Deprecated. 
      Creates and adds a ResourceMetaData object to the list.
      ResourceMetaData add(java.lang.Object id, java.lang.Class type, java.lang.Object defaultValue)
      Deprecated. 
      Creates and adds a ResourceMetaData object to the list.
      ResourceMetaData[] getMetaData()
      Deprecated. 
      Returns the array of ResourceMetaData objects.
      ResourceMetaData getMetaData(java.lang.Object id)
      Deprecated. 
      Returns the meta data for a particular ID.
      ResourceMetaData[] getMetaData(java.lang.String level)
      Deprecated. 
      Returns the array of ResourceMetaData objects.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceMetaDataTable

        public ResourceMetaDataTable()
        Deprecated. 
        Constructs a ResourceMetaDataTable object.
      • ResourceMetaDataTable

        public ResourceMetaDataTable(PresentationLoader presentationLoader,
                             java.lang.String presentationKey)
        Deprecated. 
        Constructs a ResourceMetaDataTable object.
        Parameters:
        presentationLoader - The presentation loader.
        presentationKey - The presentation key.
      • ResourceMetaDataTable

        public ResourceMetaDataTable(ResourceMetaData[] metaData)
        Deprecated. 
        Constructs a ResourceMetaDataTable object.
        Parameters:
        metaData - The meta data, or null if none.
    • Method Detail

      • add

        public ResourceMetaData add(java.lang.Object id,
                           java.lang.Class type)
        Deprecated. 
        Creates and adds a ResourceMetaData object to the list.
        Parameters:
        id - The ID.
        type - The type of value.
        Returns:
        The ResourceMetaData object.
      • add

        public ResourceMetaData add(java.lang.Object id,
                           java.lang.Class type,
                           boolean readOnly)
        Deprecated. 
        Creates and adds a ResourceMetaData object to the list.
        Parameters:
        id - The ID.
        type - The type of value.
        readOnly - true if the value is read-only, false if the value is writable.
        Returns:
        The ResourceMetaData object.
      • add

        public ResourceMetaData add(java.lang.Object id,
                           java.lang.Class type,
                           java.lang.Object defaultValue)
        Deprecated. 
        Creates and adds a ResourceMetaData object to the list.
        Parameters:
        id - The ID.
        type - The type of value.
        defaultValue - The default value.
        Returns:
        The ResourceMetaData object.
      • add

        public ResourceMetaData add(java.lang.Object id,
                           java.lang.Class type,
                           boolean readOnly,
                           java.lang.Object[] possibleValues,
                           java.lang.Object defaultValue,
                           boolean valueLimited)
        Deprecated. 
        Creates and adds a ResourceMetaData object to the list.
        Parameters:
        id - The ID.
        type - The type of value.
        readOnly - true if the value is read-only, false if the value is writable.
        possibleValues - The possible values, or null if there are none. All possible values must be of the correct type.
        defaultValue - The default value, or null if there is no default.
        valueLimited - true if the value is limited to the possible values, false if other values are allowed.
        Returns:
        The ResourceMetaData object.
      • add

        public ResourceMetaData add(java.lang.Object id,
                           java.lang.Class type,
                           boolean readOnly,
                           java.lang.Object[] possibleValues,
                           java.lang.Object defaultValue,
                           boolean valueLimited,
                           boolean multipleAllowed)
        Deprecated. 
        Creates and adds a ResourceMetaData object to the list.
        Parameters:
        id - The ID.
        type - The type of value.
        readOnly - true if the value is read-only, false if the value is writable.
        possibleValues - The possible values, or null if there are none. All possible values must be of the correct type.
        defaultValue - The default value, or null if there is no default.
        valueLimited - true if the value is limited to the possible values, false if other values are allowed.
        multipleAllowed - true if multiple values are allowed.
        Returns:
        The ResourceMetaData object.
      • add

        public ResourceMetaData add(java.lang.Object id,
                           java.lang.Class type,
                           boolean readOnly,
                           java.lang.Object[] possibleValues,
                           java.lang.Object defaultValue,
                           boolean valueLimited,
                           boolean multipleAllowed,
                           java.lang.String[] possibleValuePresentationKeys)
        Deprecated. 
        Creates and adds a ResourceMetaData object to the list.
        Parameters:
        id - The ID.
        type - The type of value.
        readOnly - true if the value is read-only, false if the value is writable.
        possibleValues - The possible values, or null if there are none. All possible values must be of the correct type.
        defaultValue - The default value, or null if there is no default.
        valueLimited - true if the value is limited to the possible values, false if other values are allowed.
        multipleAllowed - true if multiple values are allowed.
        possibleValuePresentationKeys - The possible value presentation keys, or null if there are none.
        Returns:
        The ResourceMetaData object.
      • getMetaData

        public ResourceMetaData[] getMetaData()
        Deprecated. 
        Returns the array of ResourceMetaData objects. This is the externalized data structure.
        Returns:
        The array of ResourceMetaData objects.
      • getMetaData

        public ResourceMetaData[] getMetaData(java.lang.String level)
        Deprecated. 
        Returns the array of ResourceMetaData objects. This is the externalized data structure.
        Parameters:
        level - The current level.
        Returns:
        The array of ResourceMetaData objects.
      • getMetaData

        public ResourceMetaData getMetaData(java.lang.Object id)
        Deprecated. 
        Returns the meta data for a particular ID.
        Parameters:
        id - The ID.
        Returns:
        The meta data.