org.apache.tuscany.sca.assembly.impl
Class AbstractReferenceImpl

java.lang.Object
  extended by org.apache.tuscany.sca.assembly.impl.BaseImpl
      extended by org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
          extended by org.apache.tuscany.sca.assembly.impl.ContractImpl
              extended by org.apache.tuscany.sca.assembly.impl.AbstractReferenceImpl
All Implemented Interfaces:
AbstractContract, AbstractReference, Base, Extensible, OperationsConfigurator, IntentAttachPoint
Direct Known Subclasses:
ReferenceImpl

public class AbstractReferenceImpl
extends ContractImpl
implements AbstractReference

Represents an abstract reference


Constructor Summary
protected AbstractReferenceImpl()
          Constructs a new abstract reference.
 
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 class org.apache.tuscany.sca.assembly.impl.ContractImpl
getConfiguredOperations, getInterfaceContract, getName, getRequiredIntents, getType, isCallback, setConfiguredOperations, setInterfaceContract, setIsCallback, setName, setRequiredIntents, setType
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
getExtensions
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl
isUnresolved, setUnresolved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

AbstractReferenceImpl

protected AbstractReferenceImpl()
Constructs a new abstract reference.

Method Detail

getMultiplicity

public Multiplicity getMultiplicity()
Description copied from interface: AbstractReference
Returns the multiplicity allowed for wires connected to this reference.

Specified by:
getMultiplicity in interface AbstractReference
Returns:
the multiplicity allowed for wires connected to this reference

setMultiplicity

public void setMultiplicity(Multiplicity multiplicity)
Description copied from interface: AbstractReference
Sets the multiplicity allowed for wires connected to this reference.

Specified by:
setMultiplicity in interface AbstractReference
Parameters:
multiplicity - the multiplicity allowed for wires connected to this reference