oracle.forms.jdapi
Class PropertyMap

java.lang.Object
  |
  +--oracle.forms.jdapi.PropertyMap

public class PropertyMap
extends java.lang.Object

This class provides the mapping information between a Forms object property and the class that represents it. It maps a X_PTID property ID to Java classes. This can be used in conjunction with JdapiMetadata to dynamically look up the properties of an object.


Constructor Summary
PropertyMap()
           
 
Method Summary
static java.lang.Class[] getPropertyTypes(java.lang.Class objClass, int propertyTypeId)
           
static java.lang.Class[] getPropertyTypes(JdapiObject obj, int propertyTypeId)
          Gets the classes that may implement an object for the specified property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyMap

public PropertyMap()
Method Detail

getPropertyTypes

public static java.lang.Class[] getPropertyTypes(JdapiObject obj,
                                                 int propertyTypeId)
Gets the classes that may implement an object for the specified property. This is done in respect to an object, as the same property can return different types based on the object it is a property of.
Parameters:
obj - Object on which this property you want to know about
propertyTypeId - X_PTID property ID
Returns:
Array of Class objects that this property could return, of null if none.

getPropertyTypes

public static java.lang.Class[] getPropertyTypes(java.lang.Class objClass,
                                                 int propertyTypeId)