org.eclipse.swordfish.registry.domain
Class DefinitionImpl

java.lang.Object
  extended by org.eclipse.swordfish.registry.domain.DefinitionImpl
All Implemented Interfaces:
Definition

public class DefinitionImpl
extends java.lang.Object
implements Definition


Constructor Summary
DefinitionImpl(java.lang.String id, javax.wsdl.Definition wsdl4j)
           
 
Method Summary
 void deregister(InMemoryRepository repository)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.Iterable<PortType> getAllPortTypes()
           
 java.lang.Iterable<Binding> getBindingsWithType(javax.xml.namespace.QName portTypeName)
           
 java.lang.String getId()
           
 java.lang.Iterable<PolicyResource> getPoliciesForBinding(javax.xml.namespace.QName bindingName)
           
 PortType getPortType(javax.xml.namespace.QName portTypeName)
           
 java.lang.Iterable<Service> getServicesWithBinding(javax.xml.namespace.QName bindingName)
           
 int hashCode()
           
 void register(InMemoryRepository repository)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefinitionImpl

public DefinitionImpl(java.lang.String id,
                      javax.wsdl.Definition wsdl4j)
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface Definition

getAllPortTypes

public java.lang.Iterable<PortType> getAllPortTypes()
Specified by:
getAllPortTypes in interface Definition

getPortType

public PortType getPortType(javax.xml.namespace.QName portTypeName)
Specified by:
getPortType in interface Definition

getBindingsWithType

public java.lang.Iterable<Binding> getBindingsWithType(javax.xml.namespace.QName portTypeName)
Specified by:
getBindingsWithType in interface Definition

getServicesWithBinding

public java.lang.Iterable<Service> getServicesWithBinding(javax.xml.namespace.QName bindingName)
Specified by:
getServicesWithBinding in interface Definition

getPoliciesForBinding

public java.lang.Iterable<PolicyResource> getPoliciesForBinding(javax.xml.namespace.QName bindingName)
Specified by:
getPoliciesForBinding in interface Definition

register

public void register(InMemoryRepository repository)
Specified by:
register in interface Definition

deregister

public void deregister(InMemoryRepository repository)
Specified by:
deregister in interface Definition

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object