public abstract class FlowElementPort extends Object implements FlowElementAttributeProvider
FlowElement.
Application developers should not use this class directly.| Constructor and Description |
|---|
FlowElementPort(FlowElementPortDescription description,
FlowElement owner)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Collection<? extends FlowElementPort> |
disconnectAll()
Removes all connections for this port.
|
<T extends FlowElementAttribute> |
getAttribute(Class<T> attributeClass)
Returns the attribute of this.
|
Set<? extends Class<? extends FlowElementAttribute>> |
getAttributeTypes()
Returns the all available attribute types of this.
|
Set<PortConnection> |
getConnected()
Returns the set of connections into this port.
|
FlowElementPortDescription |
getDescription()
Returns the description of this port.
|
FlowElement |
getOwner()
Returns the owner of this port.
|
public FlowElementPort(FlowElementPortDescription description, FlowElement owner)
description - the description of this portowner - the owner elementIllegalArgumentException - if some parameters are nullpublic FlowElement getOwner()
public FlowElementPortDescription getDescription()
public Set<? extends Class<? extends FlowElementAttribute>> getAttributeTypes()
FlowElementAttributeProvidergetAttributeTypes in interface FlowElementAttributeProviderpublic <T extends FlowElementAttribute> T getAttribute(Class<T> attributeClass)
FlowElementAttributeProvidergetAttribute in interface FlowElementAttributeProviderT - target classattributeClass - target classnull if not definedpublic Set<PortConnection> getConnected()
public abstract Collection<? extends FlowElementPort> disconnectAll()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.