Tuscany Assembly Model

org.apache.tuscany.model.assembly
Interface Reference

All Superinterfaces:
AssemblyObject, Port
All Known Implementing Classes:
ReferenceImpl

public interface Reference
extends Port

The association of a port with a requestor.


Method Summary
 Multiplicity getMultiplicity()
          Returns the multiplicity allowed for wires connected to this reference.
 void setMultiplicity(Multiplicity multiplicity)
          Sets the multiplicity allowed for wires connected to this reference.
 
Methods inherited from interface org.apache.tuscany.model.assembly.Port
getName, getServiceContract, setName, setServiceContract
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze, initialize
 

Method Detail

getMultiplicity

Multiplicity getMultiplicity()
Returns the multiplicity allowed for wires connected to this reference.

Returns:
the multiplicity allowed for wires connected to this reference

setMultiplicity

void setMultiplicity(Multiplicity multiplicity)
Sets the multiplicity allowed for wires connected to this reference.

Parameters:
multiplicity - the multiplicity allowed for wires connected to this reference

Tuscany Assembly Model

-