public class DistinctComponent extends DefaultDelegate
DefaultDelegate.DefaultAttributeDelegate, DefaultDelegate.DefaultConnectorPointDelegate
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENT_TYPE_NAME
The component type name.
|
VARIABLE_COMPONENT_TYPE_NAME
Constructor and Description |
---|
DistinctComponent(MapComponentOwner owner,
java.lang.String name)
Constructs a new persistent distinct 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 distinct component.
|
boolean |
isValidForTechnology(ITechnology techno,
java.util.List issues) |
customInvalidateExpressions, customSyncComponent, getBlockExpressionReferencedAttributes, getBlockExpressionReferencedAttributesWithPath, getExecuteOnHint, getExecuteOnHintString, getIntegrationType, getNextAvailableInput, getNextAvailableInput, getNextAvailableOutput, isAddInputConnectorPointAllowed, isAddOutputConnectorPointAllowed, isPassive, setExecuteOnHint, setExecuteOnHintByString
public static final java.lang.String COMPONENT_TYPE_NAME
public DistinctComponent(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.MappingException
AdapterException
public 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 attributepExpressionText
- the expression text for this attributepDataType
- the data type of this attributepSize
- the length of this attributepScale
- the scale of this attribute (for numerics)MappingException
AdapterException
public boolean isValidForTechnology(ITechnology techno, java.util.List issues) throws MappingException
isValidForTechnology
in class DefaultDelegate
MappingException