public class PseudElementDescription extends Object implements FlowElementDescription
| Modifier and Type | Field and Description |
|---|---|
static String |
INPUT_PORT_NAME
The input port name.
|
static String |
OUTPUT_PORT_NAME
The output port name.
|
| Constructor and Description |
|---|
PseudElementDescription(String name,
Type type,
boolean hasInput,
boolean hasOutput,
FlowElementAttribute... attributes)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<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.
|
List<FlowElementPortDescription> |
getInputPorts()
Returns the input ports of this element.
|
FlowElementKind |
getKind()
Returns the kind of this element.
|
String |
getName()
Returns the name of this element.
|
FlowElementDescription |
getOrigin()
Returns the original description.
|
List<FlowElementPortDescription> |
getOutputPorts()
Returns the output ports of this element.
|
List<FlowResourceDescription> |
getResources()
Returns the external resources of this element.
|
void |
setName(String name)
Sets name of this element.
|
String |
toString() |
public static final String INPUT_PORT_NAME
public static final String OUTPUT_PORT_NAME
public PseudElementDescription(String name, Type type, boolean hasInput, boolean hasOutput, FlowElementAttribute... attributes)
name - the element nametype - the data typehasInput - true to provide an input porthasOutput - true to provide an output portattributes - the element attributespublic FlowElementKind getKind()
FlowElementDescriptiongetKind in interface FlowElementDescriptionpublic FlowElementDescription getOrigin()
FlowElementDescriptiongetOrigin in interface FlowElementDescriptionpublic String getName()
FlowElementDescriptiongetName in interface FlowElementDescriptionpublic void setName(String name)
FlowElementDescriptionsetName in interface FlowElementDescriptionname - the namepublic List<FlowElementPortDescription> getInputPorts()
FlowElementDescriptiongetInputPorts in interface FlowElementDescriptionpublic List<FlowElementPortDescription> getOutputPorts()
FlowElementDescriptiongetOutputPorts in interface FlowElementDescriptionpublic List<FlowResourceDescription> getResources()
FlowElementDescriptiongetResources in interface FlowElementDescriptionpublic 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 definedCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.