public class OutputDescription extends Object implements FlowElementDescription
Modifier and Type | Field and Description |
---|---|
static String |
INPUT_PORT_NAME
The port name.
|
Constructor and Description |
---|
OutputDescription(String name,
ExporterDescription exporter)
Creates a new instance.
|
OutputDescription(String name,
Type type)
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.
|
Type |
getDataType()
Returns the data type of this output.
|
ExporterDescription |
getExporterDescription()
Returns the exporter description of this output.
|
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 newName)
Sets name of this element.
|
String |
toString() |
public static final String INPUT_PORT_NAME
public OutputDescription(String name, Type type)
name
- the output nametype
- the data typeIllegalArgumentException
- if some parameters are null
public OutputDescription(String name, ExporterDescription exporter)
name
- the input nameexporter
- the exporter description of this outputIllegalArgumentException
- if some parameters are null
public String getName()
FlowElementDescription
getName
in interface FlowElementDescription
public void setName(String newName)
FlowElementDescription
setName
in interface FlowElementDescription
newName
- the namepublic FlowElementKind getKind()
FlowElementDescription
getKind
in interface FlowElementDescription
public FlowElementDescription getOrigin()
FlowElementDescription
getOrigin
in interface FlowElementDescription
public Type getDataType()
public ExporterDescription getExporterDescription()
null
if this output is not externalpublic List<FlowElementPortDescription> getInputPorts()
FlowElementDescription
getInputPorts
in interface FlowElementDescription
public List<FlowElementPortDescription> getOutputPorts()
FlowElementDescription
getOutputPorts
in interface FlowElementDescription
public List<FlowResourceDescription> getResources()
FlowElementDescription
getResources
in interface FlowElementDescription
public Set<? extends Class<? extends FlowElementAttribute>> getAttributeTypes()
FlowElementAttributeProvider
getAttributeTypes
in interface FlowElementAttributeProvider
public <T extends FlowElementAttribute> T getAttribute(Class<T> attributeClass)
FlowElementAttributeProvider
getAttribute
in interface FlowElementAttributeProvider
T
- target classattributeClass
- target classnull
if not definedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.