Modifier and Type | Class and Description |
---|---|
static class |
PortInfo.Direction
Represents a port direction.
|
Constructor and Description |
---|
PortInfo(PortInfo.Direction direction,
String name,
Type type)
Creates a new instance.
|
PortInfo(PortInfo.Direction direction,
String name,
Type type,
List<? extends FlowElementAttribute> attributes)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<FlowElementAttribute> |
getAttributes()
Returns the attributes.
|
PortInfo.Direction |
getDirection()
Returns the port direction.
|
String |
getName()
Returns the port name.
|
protected PortInfo |
getSelf()
Returns this.
|
Type |
getType()
Returns the data type on the port.
|
getExtern, getKey, getParameterIndex, withExtern, withKey, withParameterIndex
public PortInfo(PortInfo.Direction direction, String name, Type type)
direction
- the port directionname
- the port nametype
- the data type on the portpublic PortInfo(PortInfo.Direction direction, String name, Type type, List<? extends FlowElementAttribute> attributes)
direction
- the port directionname
- the port nametype
- the data type on the portattributes
- the port attributespublic PortInfo.Direction getDirection()
public String getName()
public Type getType()
public List<FlowElementAttribute> getAttributes()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.