Tuscany Assembly Model

org.apache.tuscany.model.assembly.impl
Class ReferenceImpl

java.lang.Object
  extended by org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
      extended by org.apache.tuscany.model.assembly.impl.PortImpl
          extended by org.apache.tuscany.model.assembly.impl.ReferenceImpl
All Implemented Interfaces:
AssemblyObject, Port, Reference

public class ReferenceImpl
extends PortImpl
implements Reference

An implementation of Reference.


Constructor Summary
protected ReferenceImpl()
           
 
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.model.assembly.impl.PortImpl
accept, freeze, getName, getServiceContract, initialize, setName, setServiceContract
 
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized
 
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.model.assembly.Port
getName, getServiceContract, setName, setServiceContract
 
Methods inherited from interface org.apache.tuscany.model.assembly.AssemblyObject
accept, freeze, initialize
 

Constructor Detail

ReferenceImpl

protected ReferenceImpl()
Method Detail

getMultiplicity

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

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

setMultiplicity

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

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

Tuscany Assembly Model

-