public class MapConnectorPointRole extends Root implements IPropertyDefinitionOwner
Modifier and Type | Field and Description |
---|---|
static int |
UNLIMITED
Set max input or map output connector count to this value if the number of allowed connectors is unlimited.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyDefinition(PropertyDefinition propDef) |
PropertyDefinition |
findPropertyDefinition(java.lang.String ownerClass, java.lang.String name)
Finds the property definition with the specified name, or null if not found.
|
oracle.odi.domain.mapping.MapAttributeInfo |
getDefaultAttribute(java.lang.String name)
Find a default attribute definition (MapAttributeInfo) owned by this connector point role, with the specified name.
|
int |
getDefaultAttributeCount()
Get the number of default attributes created when a connector point with this role is created.
|
java.util.List |
getDefaultAttributes()
Return the list of default attribute definition objects owned by this connector point role.
|
int |
getDefaultConnectorCount()
Return the number of connector points with this role that are created by default when the component is created.
|
MapConnectorPoint.Direction |
getDirection()
Return the direction of this connector point role, INPUT or OUTPUT.
|
java.lang.String |
getDisplayableTypeName()
Get a displayable type name for the property owner object.
|
int |
getMaxAttributeCount()
Return the maximum number of attributes that can be owned by a connector point with this role.
|
int |
getMaxConnectorCount()
Return the maximum number of connector points with this role that are allowed to be owned by the component.
|
int |
getMaxExpressionCount()
Return the number of expressions that are allowed to be owned by attributes that are owned by a connector point with this role.
|
java.lang.String |
getName()
Get the name for this object.
|
IRoot |
getOwner()
Gets the mapping owner (or parent) of this object.
|
MapComponentType |
getOwningComponentType()
Get the component type object that owns this role.
|
java.util.List |
getPropertyDefinitions()
Get the list of property definitions owned by this connector point role.
|
boolean |
isAttributeBindingSupported()
Return true if attributes owned by a connector point with this role are allowed to be bound to a model object.
|
boolean |
isConnectorPointBindingSupported()
Return true if a connector point associated with this role supports binding to a model object at the connector point level.
|
boolean |
isCreateUnboundAttributeAllowed()
Return true if a connector point with this role is allowed to create a new unbound attribute.
|
boolean |
isDefaultRole()
Return true if this is the default role for it's direction.
|
boolean |
isPassive()
Return true if the output of a connector point with this role is passive.
|
void |
removePropertyDefinition(PropertyDefinition propDef)
Remove the property definition from this owner.
|
java.lang.String |
toString() |
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
dump, dump, getDisplayableObjectName, getGUID, getStrongTypeClassName, validate, validate, validate
getRootContainer
getGlobalId, getInternalId, getSecurityContainer
public static final int UNLIMITED
public MapConnectorPointRole(MapComponentType owner, java.lang.String name, java.lang.String guid, MapConnectorPoint.Direction direction)
owner
-name
-guid
-direction
-public IRoot getOwner()
IRoot
public java.util.List getPropertyDefinitions()
public void addPropertyDefinition(PropertyDefinition propDef)
addPropertyDefinition
in interface IPropertyDefinitionOwner
public void removePropertyDefinition(PropertyDefinition propDef)
IPropertyDefinitionOwner
removePropertyDefinition
in interface IPropertyDefinitionOwner
propDef
- The definition to be removed.public java.lang.String getName()
IRoot
public MapComponentType getOwningComponentType()
public boolean isDefaultRole()
public MapConnectorPoint.Direction getDirection()
public boolean isPassive()
public boolean isConnectorPointBindingSupported()
public int getDefaultConnectorCount()
public int getMaxConnectorCount()
public int getDefaultAttributeCount()
public int getMaxAttributeCount()
public boolean isCreateUnboundAttributeAllowed()
public boolean isAttributeBindingSupported()
public java.util.List getDefaultAttributes()
MapAttributeInfo
objects owned by this role.public oracle.odi.domain.mapping.MapAttributeInfo getDefaultAttribute(java.lang.String name)
name
-public int getMaxExpressionCount()
public PropertyDefinition findPropertyDefinition(java.lang.String ownerClass, java.lang.String name)
IPropertyDefinitionOwner
findPropertyDefinition
in interface IPropertyDefinitionOwner
ownerClass
- the owner class name.name
- the name of the property the property definition defines.public java.lang.String getDisplayableTypeName()
Root
getDisplayableTypeName
in interface IRoot
getDisplayableTypeName
in class Root