Oracle Business Rules Java API Reference
10g Release 3 (10.1.3)

B19040-01


oracle.rules.sdk.editor.datamodel
Class JavaFactType

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byoracle.rules.sdk.editor.datamodel.ModelComponent
              extended byoracle.rules.sdk.editor.datamodel.FactType
                  extended byoracle.rules.sdk.editor.datamodel.JavaFactType

All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Direct Known Subclasses:
JaxbFactType

public class JavaFactType
extends FactType

public and primary Java Fact Type

See Also:
Serialized Form

Field Summary
static java.lang.String PROP_ARRAY
           
static java.lang.String PROP_ARRAY_COMPONENT_TYPE
           
static java.lang.String PROP_CONSTRUCTOR_TABLE
           
static java.lang.String PROP_METHOD_TABLE
           
static java.lang.String PROP_PROPERTY_TABLE
           
static java.lang.String PROP_STATIC_FIELD_TABLE
           
static java.lang.String PROP_SUPER_CLASS
           
static java.lang.String PROP_SUPPORT_XPATH
           

 

Fields inherited from class oracle.rules.sdk.editor.datamodel.FactType
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, FORMS, INT, JAVA, JAXB, LONG, PRIMITIVE, PROP_FORM, RL, SHORT, STRING, VOID

 

Fields inherited from class oracle.rules.sdk.editor.datamodel.ModelComponent
m_dm, m_parent, PROP_ALIAS, PROP_ID, PROP_NAME, PROP_PROPERTIES, PROP_VISIBLE

 

Method Summary
 java.lang.String getArrayComponentType()
          If the facttype represents an array, what is the component type of the array.
 Property[] getBeanProperties()
          Get all the bean properties inside the java fact type
 Constructor[] getConstructors()
          Get all the constructors inside the java fact type
 ConstructorTable getConstructorTable()
          Only applicable to java fact type.
 boolean getIsArray()
          Whether it is an array
 Method[] getMethods()
          Get all the methods inside the java fact type
 MethodTable getMethodTable()
          Get methods of the java fact type
 java.lang.String getPackageName()
          Get the package name of the fact type.
 PropertyTable getPropertyTable()
          Get all the bean properties of the Java fact type
 Field[] getStaticFields()
          Get all the static fields inside the java fact type
 FieldTable getStaticFieldTable()
          Only applicable to java fact type.
 java.lang.String getSuperClass()
          Get the super class of the current class.
 boolean getSupportXPath()
          Whether the Java class can be used in a XPath Expression
 void validate()
          validate consistency of the Java Fact Type

 

Methods inherited from class oracle.rules.sdk.editor.datamodel.FactType
getForm, getFormOptions, setForm

 

Methods inherited from class oracle.rules.sdk.editor.datamodel.ModelComponent
get, getAlias, getDataModel, getID, getName, getParent, getProperties, getVisible, setAlias, setName, setVisible

 

Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values

 

Methods inherited from class java.util.AbstractMap
equals, hashCode, toString

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.util.Map
equals, hashCode

 

Field Detail

PROP_ARRAY

public static final java.lang.String PROP_ARRAY
See Also:
Constant Field Values

PROP_ARRAY_COMPONENT_TYPE

public static final java.lang.String PROP_ARRAY_COMPONENT_TYPE
See Also:
Constant Field Values

PROP_SUPER_CLASS

public static final java.lang.String PROP_SUPER_CLASS
See Also:
Constant Field Values

PROP_STATIC_FIELD_TABLE

public static final java.lang.String PROP_STATIC_FIELD_TABLE
See Also:
Constant Field Values

PROP_PROPERTY_TABLE

public static final java.lang.String PROP_PROPERTY_TABLE
See Also:
Constant Field Values

PROP_METHOD_TABLE

public static final java.lang.String PROP_METHOD_TABLE
See Also:
Constant Field Values

PROP_CONSTRUCTOR_TABLE

public static final java.lang.String PROP_CONSTRUCTOR_TABLE
See Also:
Constant Field Values

PROP_SUPPORT_XPATH

public static final java.lang.String PROP_SUPPORT_XPATH
See Also:
Constant Field Values

Method Detail

getPackageName

public java.lang.String getPackageName()
Get the package name of the fact type.
Returns:
package name for java fact type, ruleset name for RL fact type

getIsArray

public boolean getIsArray()
Whether it is an array
Returns:
if the facttype is an array type.

getArrayComponentType

public java.lang.String getArrayComponentType()
If the facttype represents an array, what is the component type of the array. Assume that the component type is uniform.
Returns:
array component type

getSuperClass

public java.lang.String getSuperClass()
Get the super class of the current class.
Returns:
the super class of the current java class

getStaticFieldTable

public FieldTable getStaticFieldTable()
Only applicable to java fact type. Get static fields of a java class
Returns:
the static fields of the java class

getStaticFields

public Field[] getStaticFields()
Get all the static fields inside the java fact type
Returns:
all the static fields inside the java fact type as an array

getPropertyTable

public PropertyTable getPropertyTable()
Get all the bean properties of the Java fact type
Returns:
the properties of the Java fact type

getBeanProperties

public Property[] getBeanProperties()
Get all the bean properties inside the java fact type
Returns:
all the bean properties inside the java fact type as an Array

getMethodTable

public MethodTable getMethodTable()
Get methods of the java fact type
Returns:
the mehtods of the java fact type

getMethods

public Method[] getMethods()
Get all the methods inside the java fact type
Returns:
all the methods inside the java fact type as an Array

getConstructorTable

public ConstructorTable getConstructorTable()
Only applicable to java fact type. Get constructors of the java fact type.
Returns:
the constructors of the java fact type

getConstructors

public Constructor[] getConstructors()
Get all the constructors inside the java fact type
Returns:
all the constructors inside the java fact type as an Array

getSupportXPath

public boolean getSupportXPath()
Whether the Java class can be used in a XPath Expression
Returns:
true if the Java fact can be used in the XPath expressions

validate

public void validate()
              throws RulesSDKDMValidationException
validate consistency of the Java Fact Type
Overrides:
validate in class ModelComponent
Throws:
thrown - if validation fails.
RulesSDKDMValidationException

Oracle Business Rules Java API Reference
10g Release 3 (10.1.3)

B19040-01


Copyright © 2006, Oracle. All rights reserved.