org.apache.tuscany.sca.assembly
Interface AbstractReference

All Superinterfaces:
AbstractContract, Base, IntentAttachPoint
All Known Subinterfaces:
ComponentReference, CompositeReference, Reference, RuntimeComponentReference

public interface AbstractReference
extends AbstractContract

Represents a reference contract.

Version:
$Rev: 537384 $ $Date: 2007-05-12 12:02:56 +0100 (Sat, 12 May 2007) $

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.sca.assembly.AbstractContract
getInterfaceContract, getName, setInterfaceContract, setName
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
getExtensions, isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents
 

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