|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.multiplexer.Attachment
This class defines an Attachement.
Field Summary | |
protected int |
id
The id of the attachment. |
protected Map[] |
inputContexts
The context to be passed to inputs when they are used. |
protected String[] |
inputNames
The name of attached inputs. |
protected Pull[] |
inputs
The attached inputs. |
protected Map[] |
outputContexts
The context to be passed to outputs when they are used. |
protected String[] |
outputNames
The name of the outputs to which inputs are attached. |
protected Push[] |
outputs
The outputs to which inputs are attached. |
Constructor Summary | |
Attachment(int id,
String[] inputNames,
Pull[] inputs,
Map[] inputContexts,
String[] outputNames,
Push[] outputs,
Map[] outputContexts)
Creates a new Attachment object |
Method Summary | |
Object |
clone()
Returns a clone of this attachment. |
boolean |
equals(Object obj)
Returns true iff the specified object is an Attachment with
the same id. |
int |
getId()
|
Map[] |
getInputContexts()
|
String[] |
getInputNames()
|
Pull[] |
getInputs()
|
Map[] |
getOutputContexts()
|
String[] |
getOutputNames()
|
Push[] |
getOutputs()
|
int |
hashCode()
|
void |
setInputContexts(Map[] inputContexts)
|
void |
setInputNames(String[] inputNames)
|
void |
setInputs(Pull[] inputs)
|
void |
setOutputContexts(Map[] outputContexts)
|
void |
setOutputNames(String[] outputNames)
|
void |
setOutputs(Push[] outputs)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int id
protected String[] inputNames
protected Pull[] inputs
protected Map[] inputContexts
protected String[] outputNames
protected Push[] outputs
protected Map[] outputContexts
Constructor Detail |
public Attachment(int id, String[] inputNames, Pull[] inputs, Map[] inputContexts, String[] outputNames, Push[] outputs, Map[] outputContexts)
Attachment
object
id
- the id of the attachment.inputNames
- the names of the attached inputs.inputs
- the attached inputs.inputContexts
- the context associated with attached inputs.outputNames
- the names of the attached outputs.outputs
- the attached outputs.outputContexts
- the context associated with attached outputs.Method Detail |
public int getId()
public Map[] getInputContexts()
public void setInputContexts(Map[] inputContexts)
inputContexts
- the inputContexts to set.public String[] getInputNames()
public void setInputNames(String[] inputNames)
inputNames
- the inputNames to set.public Map[] getOutputContexts()
public void setOutputContexts(Map[] outputContexts)
outputContexts
- the outputContexts to set.public String[] getOutputNames()
public void setOutputNames(String[] outputNames)
outputNames
- the outputNames to set.public Pull[] getInputs()
public void setInputs(Pull[] inputs)
inputs
- the inputs to set.public Push[] getOutputs()
public void setOutputs(Push[] outputs)
outputs
- the outputs to set.public int hashCode()
Object.hashCode()
public boolean equals(Object obj)
true
iff the specified object is an Attachment with
the same id.
Object.equals(java.lang.Object)
public Object clone()
Notes: inputs, inputContexts, outputs, and outputs are set to
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |