org.apache.tuscany.sca.binding.notification
Class NotificationBindingImpl

java.lang.Object
  extended by org.apache.tuscany.sca.binding.notification.NotificationBindingImpl
All Implemented Interfaces:
java.lang.Cloneable, Base, Binding, NotificationBinding

public class NotificationBindingImpl
extends java.lang.Object
implements NotificationBinding


Field Summary
protected  java.net.URI notificationType
           
protected  java.lang.String ntmAddress
           
 
Constructor Summary
NotificationBindingImpl()
           
 
Method Summary
 java.lang.Object clone()
          Clone the binding
 java.lang.String getName()
          Returns the binding name.
 java.net.URI getNotificationType()
           
 java.lang.String getNtmAddress()
           
 java.lang.String getURI()
          Returns the binding URI.
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setName(java.lang.String name)
          Sets the binding name.
 void setNotificationType(java.net.URI notificationType)
           
 void setNtmAddress(java.lang.String ntmAddress)
           
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 void setURI(java.lang.String uri)
          Sets the binding URI.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ntmAddress

protected java.lang.String ntmAddress

notificationType

protected java.net.URI notificationType
Constructor Detail

NotificationBindingImpl

public NotificationBindingImpl()
Method Detail

clone

public java.lang.Object clone()
Description copied from interface: Binding
Clone the binding

Specified by:
clone in interface Binding
Overrides:
clone in class java.lang.Object
Returns:

getName

public java.lang.String getName()
Description copied from interface: Binding
Returns the binding name.

Specified by:
getName in interface Binding
Returns:
the binding name

setName

public void setName(java.lang.String name)
Description copied from interface: Binding
Sets the binding name.

Specified by:
setName in interface Binding
Parameters:
name - the binding name

getURI

public java.lang.String getURI()
Description copied from interface: Binding
Returns the binding URI.

Specified by:
getURI in interface Binding
Returns:
the binding URI

setURI

public void setURI(java.lang.String uri)
Description copied from interface: Binding
Sets the binding URI.

Specified by:
setURI in interface Binding
Parameters:
uri - the binding URI

getNtmAddress

public java.lang.String getNtmAddress()
Specified by:
getNtmAddress in interface NotificationBinding

setNtmAddress

public void setNtmAddress(java.lang.String ntmAddress)
Specified by:
setNtmAddress in interface NotificationBinding

getNotificationType

public java.net.URI getNotificationType()
Specified by:
getNotificationType in interface NotificationBinding

setNotificationType

public void setNotificationType(java.net.URI notificationType)
Specified by:
setNotificationType in interface NotificationBinding

setUnresolved

public void setUnresolved(boolean unresolved)
Description copied from interface: Base
Sets whether the model element is unresolved.

Specified by:
setUnresolved in interface Base
Parameters:
unresolved - whether the model element is unresolved

isUnresolved

public boolean isUnresolved()
Description copied from interface: Base
Returns true if the model element is unresolved.

Specified by:
isUnresolved in interface Base
Returns:
true if the model element is unresolved.