public class TableFunctionComponent extends DefaultDelegate
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegate| Modifier and Type | Field and Description |
|---|---|
static java.util.Collection |
ALL_PARAMETER_TYPES |
static java.lang.String |
COMPONENT_TYPE_NAME
The component type name for this component.
|
static java.lang.String |
FUNCTION_NAME
Property key name for the function name property.
|
static java.lang.String |
PARAMETER_TYPE
Property key name for the parameter type property.
|
static java.lang.String |
REF_CURSOR_TYPE
Property value for the parameter type property.
|
static java.lang.String |
SCALAR_TYPE
Property value for the parameter type property.
|
VARIABLE_COMPONENT_TYPE_NAME| Constructor and Description |
|---|
TableFunctionComponent(MapComponentOwner owner,
java.lang.String name)
Construct a new persistent table function component.
|
| Modifier and Type | Method and Description |
|---|---|
MapConnectorPoint |
createInputConnectorPoint(java.lang.String name) |
java.lang.String |
getFunctionName()
Gets the table function name.
|
java.lang.String |
getParameterType(MapConnectorPoint CP)
Gets the value of the parameter type property of the specified input connector point.
|
boolean |
isTargetLoadingSupported(MapPhysicalNode node) |
boolean |
isValidForTechnology(ITechnology techno,
java.util.List issues) |
void |
setFunctionName(java.lang.String value)
Sets the table function name, the value should be the function name in database.
|
void |
setParameterType(MapConnectorPoint CP,
java.lang.String parameterTypeValue)
Sets the parameter type property for input connector point of table function component .
|
customInvalidateExpressions, customSyncComponent, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getIntegrationType, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHint, setExecuteOnHintByStringpublic static final java.lang.String COMPONENT_TYPE_NAME
public static final java.lang.String PARAMETER_TYPE
public static final java.lang.String REF_CURSOR_TYPE
public static final java.lang.String SCALAR_TYPE
public static final java.lang.String FUNCTION_NAME
public static java.util.Collection ALL_PARAMETER_TYPES
public TableFunctionComponent(MapComponentOwner owner,
java.lang.String name)
throws MappingException,
AdapterException
owner - the component owner that will own the new component.name - the name for the new component.PropertyExceptionMapComponentExceptionAdapterExceptionMappingExceptionpublic void setParameterType(MapConnectorPoint CP, java.lang.String parameterTypeValue) throws PropertyException
CP - the input connector point.SparameterTypeValue - value of the parameter type, the value should only be REF_CURSOR or SCALAR.PropertyExceptionpublic java.lang.String getParameterType(MapConnectorPoint CP) throws PropertyException
CP - the input connector point.PropertyExceptionpublic java.lang.String getFunctionName()
throws PropertyException
PropertyExceptionpublic void setFunctionName(java.lang.String value)
throws PropertyException
value - table function name.PropertyExceptionpublic boolean isTargetLoadingSupported(MapPhysicalNode node)
public MapConnectorPoint createInputConnectorPoint(java.lang.String name) throws MappingException
MappingExceptionpublic boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
isValidForTechnology in class DefaultDelegateMappingException