|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Transformation interface represents a super interface of function or a procedure. [More functionality description here!]
Method Summary | |
void |
complete() This method should be called after completion of the definition of Standalone Function, Procedure, and Packaged Procedure and Function, since overloaded Functions and Procedures are allowed in the Package, it is important that the signature should be verified to avoid duplication. |
Parameter |
createParameter(java.lang.String name) Creates a parameter as the last parameter (at the end) of function or procedure. |
Parameter |
createParameter(java.lang.String name, int position) Creates a parameter in this function at the specified position, valid positions start with 1 (insert at the beginning) and end with the previous number of parameters plus 1 (insert at the end). |
Parameter |
findParameter(java.lang.String name) Search a parameter by name in the function or procedure. |
java.lang.String |
getFormattedSignature() Returns the function formatted signature which includes parameter name, datatype of Parameter, in/out type and default values in the following format For Function, FUNCTION TEST_FUNCTION( PARAM_1 IN NUMBER DEFAULT 25, PARAM_2 OUT VARCHAR2, PARAM_3 IN OUT VARCHAR2) RETURN NUMBER. |
java.lang.String |
getImplementation() Returns the text implementation of Function or Procedure. |
IntelligenceModule |
getIntelligenceModule() Returns the Intelligence Module this function belongs to (returns null if the Function or Procedure does not belong to an Intelligence Module). |
java.lang.String |
getName() Returns the function Name |
Package |
getPackage() Gets the Package object of the Function or Procedure it belongs to (returns null if the function does not belong to a Package). |
java.lang.String[] |
getParameterNames() Gets the arrary of Names of parameters of this function. |
Parameter[] |
getParameters() Returns the ordered list of parameters of the function or procedure. |
java.lang.String |
getSignature() Returns the function signature in the following format For Function "FUNC_1 MIN(NUMBER, VARACHAR2) return NUMBER" For Procedure "PROC_1 MIN(NUMBER, VARACHAR2)". |
boolean |
isImported() Gets boolean value, true if Function/Procedure is Imported. |
boolean |
isIntelligenceFunction() Gets true if this function or procedure is in an Intelligence Module. |
void |
moveParameter(Parameter param, int newPosition) Moves a parameter to a new position. |
void |
setImplementation(java.lang.String text) Sets the text implementation of Function or Procedure. |
Methods inherited from interface oracle.owb.foundation.OWBNamedObject |
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName |
Methods inherited from interface oracle.owb.compile.ValidatableObject |
validate |
Methods inherited from interface oracle.owb.compile.CompilableObject |
compile |
Methods inherited from interface oracle.owb.reconcile.ReconcileSource |
getReconcileTargetTypes, getType |
Methods inherited from interface oracle.owb.reconcile.ReconcileTarget |
canMatchByPosition, getReconcileSourceTypes, getType |
Method Detail |
public java.lang.String getName() throws OWBException
getName
in interface OWBNamedObject
OWBException
OWBNamedObject.setName(java.lang.String)
public java.lang.String getSignature()
public java.lang.String getFormattedSignature()
public java.lang.String getImplementation()
public void setImplementation(java.lang.String text)
text
- a String object of implementationpublic Package getPackage()
public IntelligenceModule getIntelligenceModule()
public boolean isIntelligenceFunction()
public boolean isImported()
public Parameter[] getParameters()
public Parameter createParameter(java.lang.String name) throws NameSpaceException, InvalidFormatException, OWBException
name
- the String object of parameterNameSpaceException
- if the given name of parameter violets OWB Namespace.InvalidFormatException
- if the given name of parameter represents invalid format.OWBException.
OWBException
public Parameter createParameter(java.lang.String name, int position) throws NameSpaceException, InvalidFormatException, OWBException
name
- the String Object of parameterposition
- the position the parameter should be placed onNameSpaceException
- if the given name of parameter violets OWB Namespace.InvalidFormatException
- if the given name of parameter represents invalid format.OWBException.
OWBException
public Parameter findParameter(java.lang.String name)
name
- the name of the parameter to be foundpublic java.lang.String[] getParameterNames()
public void moveParameter(Parameter param, int newPosition)
param
- the parameter to be movednewPosition
- the new position the parameter will havepublic void complete()
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |