com.ibm.as400.resource
Class ResourceMetaDataTable

java.lang.Object
  extended bycom.ibm.as400.resource.ResourceMetaDataTable
All Implemented Interfaces:
Serializable

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

public class ResourceMetaDataTable
extends Object
implements 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

Constructor Summary
ResourceMetaDataTable()
          Deprecated. Constructs a ResourceMetaDataTable object.
ResourceMetaDataTable(PresentationLoader presentationLoader, String presentationKey)
          Deprecated. Constructs a ResourceMetaDataTable object.
ResourceMetaDataTable(ResourceMetaData[] metaData)
          Deprecated. Constructs a ResourceMetaDataTable object.
 
Method Summary
 ResourceMetaData add(Object id, Class type)
          Deprecated. Creates and adds a ResourceMetaData object to the list.
 ResourceMetaData add(Object id, Class type, boolean readOnly)
          Deprecated. Creates and adds a ResourceMetaData object to the list.
 ResourceMetaData add(Object id, Class type, boolean readOnly, Object[] possibleValues, Object defaultValue, boolean valueLimited)
          Deprecated. Creates and adds a ResourceMetaData object to the list.
 ResourceMetaData add(Object id, Class type, boolean readOnly, Object[] possibleValues, Object defaultValue, boolean valueLimited, boolean multipleAllowed)
          Deprecated. Creates and adds a ResourceMetaData object to the list.
 ResourceMetaData add(Object id, Class type, boolean readOnly, Object[] possibleValues, Object defaultValue, boolean valueLimited, boolean multipleAllowed, String[] possibleValuePresentationKeys)
          Deprecated. Creates and adds a ResourceMetaData object to the list.
 ResourceMetaData add(Object id, Class type, Object defaultValue)
          Deprecated. Creates and adds a ResourceMetaData object to the list.
 ResourceMetaData[] getMetaData()
          Deprecated. Returns the array of ResourceMetaData objects.
 ResourceMetaData getMetaData(Object id)
          Deprecated. Returns the meta data for a particular ID.
 ResourceMetaData[] getMetaData(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,
                             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(Object id,
                            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(Object id,
                            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(Object id,
                            Class type,
                            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(Object id,
                            Class type,
                            boolean readOnly,
                            Object[] possibleValues,
                            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(Object id,
                            Class type,
                            boolean readOnly,
                            Object[] possibleValues,
                            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(Object id,
                            Class type,
                            boolean readOnly,
                            Object[] possibleValues,
                            Object defaultValue,
                            boolean valueLimited,
                            boolean multipleAllowed,
                            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(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(Object id)
Deprecated. 
Returns the meta data for a particular ID.

Parameters:
id - The ID.
Returns:
The meta data.