org.systinet.wasp.dd
Interface NamedPart

All Superinterfaces:
DeploymentPart
All Known Subinterfaces:
FaultSerialization, Handler, HeaderProcessor, Interceptor, Listener, Module, Processing, Serialization, ServiceEndpoint, ServiceInstance, ServiceMediator, Transport, TypeMapping

public interface NamedPart
extends DeploymentPart

This interface represents a deployment part of a call mediator.

Since:
4.0
Component:
Core

Method Summary
 QName getName()
          Returns the name of the part.
 void setName(java.lang.String name)
          Sets the name of the part.
 
Methods inherited from interface org.systinet.wasp.dd.DeploymentPart
getDeploymentDescriptor
 

Method Detail

getName

public QName getName()
Returns the name of the part.

Returns:
the name of the part

setName

public void setName(java.lang.String name)
             throws DuplicatedNameException
Sets the name of the part. Throws an exception if deployment part with the same name already exists.

Parameters:
name - the new name of the part
Throws:
DuplicatedNameException - if there is already a part with the same name