Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

oracle.owb.foundation.reflection
Interface ClassDefinition

All Superinterfaces:
OWBNamedObject, ReferenceType, ScalarType, Type

public interface ClassDefinition
extends ReferenceType

This class represents the definition of a class in our metadata API model.

Author:
Xiaoge Zhang

Method Summary
 PropertyDefinition[] getAllDeclaredPropertyDefinitions()
          Return all property definitions defined on this class.
 PropertyDefinition[] getAllPropertyDefinitions()
          Return all property definitions defined on this class and all property definitions on the superclasses.
 PropertyDefinition[] getConfigurationPropertyDefinitions()
          Return configuration property definitions on this class and all configuration property definitions inherted from superclasses.
 PropertyDefinition[] getCorePropertyDefinitions()
          Return core property definitions on this class and all core property definitions inherted from superclasses.
 PropertyDefinition[] getDeclaredConfigurationPropertyDefinitions()
          Return configuration property definitions on this class.
 PropertyDefinition[] getDeclaredCorePropertyDefinitions()
          Return core property definitions on this class.
 PropertyDefinition[] getDeclaredLogicalPropertyDefinitions()
          Return logical property definitions on this class.
 PropertyDefinition getDeclaredPropertyDefinition(java.lang.String name)
          Get declared property definitions.
 RoleDefinition[] getDeclaredRoleDefinitions()
          Return the roles defined on this class.
 PropertyDefinition[] getDeclaredUserDefinedPropertyDefinitions()
          Return User-defined property definitions on this class.
 ClassDefinition[] getImplementedInterfaces()
          Return the interfaces implemented by this class.
 PropertyDefinition[] getLogicalPropertyDefinitions()
          Return logical property definitions on this class and all logical property definitions inherted from superclasses.
 java.lang.String getPackageName()
          Return the name of the package for this class.
 PropertyDefinition getPropertyDefinition(java.lang.String name)
          Get property definition by name.
 RoleDefinition[] getRoleDefinitions()
          Return the roles defined on this class and roles inherited from superclasses.
 java.lang.String getScriptingName()
          Return the script name - the name used in scripting such as TABLE, VIEW etc.
 java.lang.String getSimplifiedName()
          Return simplified name of the class.
 ClassDefinition[] getSubclasses()
          Return subclasses inherited from this class.
 ClassDefinition[] getSuperclasses()
          Return superclasses of this class.
 PropertyDefinition[] getUserDefinedPropertyDefinitions()
          Return User-defined property definitions on this class and all User-defined property definitions inherted from superclasses.
 boolean isAbstract()
          Return true if it is abstract class.
 boolean isClass()
          Return true if it's a class instead of interface.
 boolean isExtensible()
          Return true if this class is extensible - can have physical/logical/UDP defined.
 boolean isInterface()
          Return true if it is interface.
 boolean isWeaklyTyped()
          Return true if this class is weakly typed - no java class exist.
 void removePropertyDefinition(java.lang.String name)
          Remove the property definition on this class.

 

Methods inherited from interface oracle.owb.foundation.domain.Type
compare, equals, validate

 

Methods inherited from interface oracle.owb.foundation.OWBNamedObject
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName

 

Method Detail

getSimplifiedName

public java.lang.String getSimplifiedName()
Return simplified name of the class. Simplified name is the name without the package prefix.
Returns:
the simple name.

isExtensible

public boolean isExtensible()
Return true if this class is extensible - can have physical/logical/UDP defined.
Returns:
if this class is extensible.

isWeaklyTyped

public boolean isWeaklyTyped()
Return true if this class is weakly typed - no java class exist.
Returns:
if this class is weakly typed.

isClass

public boolean isClass()
Return true if it's a class instead of interface.
Returns:
if this is a class.

isInterface

public boolean isInterface()
Return true if it is interface.
Returns:
if this is an interface.

isAbstract

public boolean isAbstract()
Return true if it is abstract class.
Returns:
if it's abstract class.

getScriptingName

public java.lang.String getScriptingName()
Return the script name - the name used in scripting such as TABLE, VIEW etc.
Returns:
the name used in scripting.

getPackageName

public java.lang.String getPackageName()
Return the name of the package for this class.
Returns:
the package name.

getImplementedInterfaces

public ClassDefinition[] getImplementedInterfaces()
Return the interfaces implemented by this class.
Returns:
array of interfaces implemented.

getSuperclasses

public ClassDefinition[] getSuperclasses()
Return superclasses of this class. Interface can have more than one superclass.
Returns:
array of super classes.

getAllPropertyDefinitions

public PropertyDefinition[] getAllPropertyDefinitions()
Return all property definitions defined on this class and all property definitions on the superclasses.
Returns:
array of property definitions.

getAllDeclaredPropertyDefinitions

public PropertyDefinition[] getAllDeclaredPropertyDefinitions()
Return all property definitions defined on this class.
Returns:
array of declared property definitions.

getCorePropertyDefinitions

public PropertyDefinition[] getCorePropertyDefinitions()
Return core property definitions on this class and all core property definitions inherted from superclasses.
Returns:
array of core property definitions.

getDeclaredCorePropertyDefinitions

public PropertyDefinition[] getDeclaredCorePropertyDefinitions()
Return core property definitions on this class.
Returns:
array of declared core property definitions.

getLogicalPropertyDefinitions

public PropertyDefinition[] getLogicalPropertyDefinitions()
Return logical property definitions on this class and all logical property definitions inherted from superclasses.
Returns:
array of logical property definitions.

getDeclaredLogicalPropertyDefinitions

public PropertyDefinition[] getDeclaredLogicalPropertyDefinitions()
Return logical property definitions on this class.
Returns:
array of declared logical property definitions.

getConfigurationPropertyDefinitions

public PropertyDefinition[] getConfigurationPropertyDefinitions()
Return configuration property definitions on this class and all configuration property definitions inherted from superclasses.
Returns:
array of configuration property definitions.

getDeclaredConfigurationPropertyDefinitions

public PropertyDefinition[] getDeclaredConfigurationPropertyDefinitions()
Return configuration property definitions on this class.
Returns:
array of declared configuration property definitions.

getUserDefinedPropertyDefinitions

public PropertyDefinition[] getUserDefinedPropertyDefinitions()
Return User-defined property definitions on this class and all User-defined property definitions inherted from superclasses.
Returns:
array of UDPs.

getDeclaredUserDefinedPropertyDefinitions

public PropertyDefinition[] getDeclaredUserDefinedPropertyDefinitions()
Return User-defined property definitions on this class.
Returns:
array of declared UPDs.

getSubclasses

public ClassDefinition[] getSubclasses()
Return subclasses inherited from this class.
Returns:
array of subclasses.

getDeclaredPropertyDefinition

public PropertyDefinition getDeclaredPropertyDefinition(java.lang.String name)
Get declared property definitions.
Parameters:
name - is the name of the target property definition.
Returns:
PropertyDefinition

getPropertyDefinition

public PropertyDefinition getPropertyDefinition(java.lang.String name)
Get property definition by name.
Parameters:
name - is the name of the target property definition.
Returns:
PropertyDefinition

removePropertyDefinition

public void removePropertyDefinition(java.lang.String name)
Remove the property definition on this class.
Parameters:
name - is the name of the property definition to be deleted.

getRoleDefinitions

public RoleDefinition[] getRoleDefinitions()
Return the roles defined on this class and roles inherited from superclasses.
Returns:
array of roles owned by this class.

getDeclaredRoleDefinitions

public RoleDefinition[] getDeclaredRoleDefinitions()
Return the roles defined on this class.
Returns:
array of declared roles.

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.