public class PivotComponent extends DefaultDelegate
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegate| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE_NAME
The component type name for this component.
|
static java.lang.String |
PROPKEY_AGGREGATE_FUNCTION
Property key name for the aggregate function property.
|
static java.lang.String |
PROPKEY_ROW_LOCATOR
Property key name for the row locator property.
|
static java.lang.String |
PROPKEY_ROW_LOCATOR_VALUES
Property key name for the row locator values property.
|
VARIABLE_COMPONENT_TYPE_NAME| Constructor and Description |
|---|
PivotComponent(MapComponentOwner owner,
java.lang.String name)
Construct a new persistent pivot component.
|
| Modifier and Type | Method and Description |
|---|---|
MapAttribute |
addAttribute(java.lang.String name,
java.lang.String pExpressionText,
IDataType pDataType,
java.lang.Integer pSize,
java.lang.Integer pScale)
Adds a new attribute to the pivot component.
|
void |
addRowLocatorValue(java.lang.String value)
Adds a value into row locator values property.
|
java.lang.String |
getAggregateFunction()
Gets the aggregate function
|
MapExpression |
getRowLocator()
Gets the expression value for the row locator property.
|
java.lang.String |
getRowLocatorValues()
Gets the row locator values string property value.
|
java.lang.String[] |
getRowLocatorValuesArray()
Gets the value of property row locator values as array.
|
boolean |
isValidForTechnology(ITechnology techno,
java.util.List issues) |
void |
setAggregateFunction(java.lang.String value)
Sets the aggregate function
|
void |
setRowLocator(java.lang.String text)
Sets the row locator property with string value, the value should be an
in-scope attribute name in the form of componentName.attributeName
|
void |
setRowLocatorValues(java.lang.String value)
Sets the value for property row locator values.
|
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 PROPKEY_ROW_LOCATOR
public static final java.lang.String PROPKEY_ROW_LOCATOR_VALUES
public static final java.lang.String PROPKEY_AGGREGATE_FUNCTION
public PivotComponent(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 MapAttribute addAttribute(java.lang.String name, java.lang.String pExpressionText, IDataType pDataType, java.lang.Integer pSize, java.lang.Integer pScale) throws MappingException, AdapterException
name - the name of the attribute.pExpressionText - the expression text for this attribute.pDataType - the data type of this attribute.pSize - the length of this attribute.pScale - the scale of this attribute (for numerics).MappingExceptionAdapterExceptionpublic MapExpression getRowLocator() throws PropertyException
PropertyExceptionpublic void setRowLocator(java.lang.String text)
throws MappingException,
AdapterException
text - the row locator string value.MappingExceptionAdapterExceptionpublic java.lang.String getRowLocatorValues()
throws PropertyException
PropertyExceptionpublic void setRowLocatorValues(java.lang.String value)
throws PropertyException
value - string value for row locator values property.PropertyExceptionpublic void addRowLocatorValue(java.lang.String value)
throws PropertyException
value - the row locator value.PropertyExceptionpublic java.lang.String[] getRowLocatorValuesArray()
throws PropertyException
PropertyExceptionpublic void setAggregateFunction(java.lang.String value)
throws PropertyException
value - the aggregate functionPropertyExceptionpublic java.lang.String getAggregateFunction()
throws PropertyException
PropertyExceptionpublic boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
isValidForTechnology in class DefaultDelegateMappingException