org.apache.tuscany.sca.assembly
Interface AbstractReference

All Superinterfaces:
AbstractContract, Base, Extensible, IntentAttachPoint, OperationsConfigurator
All Known Subinterfaces:
ComponentReference, CompositeReference, Reference, RuntimeComponentReference
All Known Implementing Classes:
AbstractReferenceImpl, ComponentReferenceImpl, CompositeReferenceImpl, ReferenceImpl, RuntimeComponentReferenceImpl

public interface AbstractReference
extends AbstractContract

Represents a reference contract.


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, isCallback, setInterfaceContract, setIsCallback, setName
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 
Methods inherited from interface org.apache.tuscany.sca.assembly.OperationsConfigurator
getConfiguredOperations
 

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