Class PropertyMap

java.lang.Object
oracle.forms.jdapi.PropertyMap

public class PropertyMap extends 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 Details

    • PropertyMap

      public PropertyMap()
  • Method Details

    • getPropertyTypes

      public static 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 Class[] getPropertyTypes(Class objClass, int propertyTypeId)