Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


oracle.jbo.common
Class PropertyMetadataType

java.lang.Object
  extended by oracle.jbo.common.PropertyMetadataType


public class PropertyMetadataType
extends java.lang.Object

This class registers the type for BC4J properties. It can be used for validators and editors to ensure the property values as provided by the end user are according to the expectations of the BC4J runtime.

Since:
release 11

Method Summary
 java.lang.String getClassName()
          If a property is of type 'CLASS', then the property represents a class name.
 java.lang.String[] getEnumeration()
           
static PropertyMetadataType getPropertyMetadataType(PropertyMetadata propertyMetadata)
           
 boolean isBoolean()
           
 boolean isClass()
           
 boolean isEnumeration()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getPropertyMetadataType

public static PropertyMetadataType getPropertyMetadataType(PropertyMetadata propertyMetadata)

getClassName

public java.lang.String getClassName()
If a property is of type 'CLASS', then the property represents a class name. The class name can not be an arbitrary class name, it must implement specific functionality for a given property. This method returns the required class or interface name, so validators and editors can filter.
Returns:
name of the base class or interface

getEnumeration

public java.lang.String[] getEnumeration()
Returns:
array of enumerated values

isBoolean

public boolean isBoolean()
Returns:
true if the property represents a boolean value

isEnumeration

public boolean isEnumeration()
Returns:
true if the property values are part of an enumeration

isClass

public boolean isClass()
Returns:
true if the property represents a class

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


Copyright © 1997, 2012, Oracle. All rights reserved.