Package org.xtreemfs.babudb.pbrpc

Examples of org.xtreemfs.babudb.pbrpc.Replication$ReplicationService$Interface


     */
    public InterfaceFault getInterfaceFault()
    {
        InterfaceFault fault = null;
        Binding binding = (Binding)getParent();
        Interface interfac = binding.getInterface();
        if(interfac != null) {
            fault = interfac.getFromAllInterfaceFaults(fRef);
        }
        return fault;
    }
View Full Code Here


     */
    public InterfaceOperation getInterfaceOperation()
    {
        InterfaceOperation oper = null;
        Binding binding = (Binding)getParent();
        Interface interfac = binding.getInterface();
        if(interfac != null) {
            oper = interfac.getFromAllInterfaceOperations(fRef);
        }
        return oper;
    }
View Full Code Here

    {
        ElementDeclaration elemDecl = null;
       
        if(fElement != null && fElement.isQName()) {
            InterfaceOperation oper = (InterfaceOperation)getParent();
            Interface interfac = (Interface)oper.getParent();
            Description desc = ((InterfaceImpl)interfac).getDescriptionComponent();
            elemDecl = desc.getElementDeclaration(fElement.getQName());
        }
        return elemDecl;
    }
View Full Code Here

     * (non-Javadoc)
     * @see org.apache.woden.wsdl20.WSDLComponent#getFragmentIdentifier()
     */
    public FragmentIdentifier getFragmentIdentifier() {
        InterfaceOperation interfaceOperationComp = (InterfaceOperation)getParent();
        Interface interfaceComp = (Interface)interfaceOperationComp.getParent();
       
        NCName interfaceName = new NCName(interfaceComp.getName().getLocalPart());
        NCName interfaceOperation = new NCName(interfaceOperationComp.getName().getLocalPart());
       
        return new FragmentIdentifier(new InterfaceMessageReferencePart(interfaceName, interfaceOperation, fMessageLabel));
    }
View Full Code Here

    public ElementDeclaration getElementDeclaration()
    {
        ElementDeclaration elemDecl = null;
       
        if(fElement != null && fElement.isQName()) {
            Interface interfac = (Interface)getParent();
            Description desc = ((InterfaceImpl)interfac).getDescriptionComponent();
            elemDecl = desc.getElementDeclaration(fElement.getQName());
        }
        return elemDecl;
    }
View Full Code Here

    /*
     * (non-Javadoc)
     * @see org.apache.woden.wsdl20.WSDLComponent#getFragmentIdentifier()
     */
    public FragmentIdentifier getFragmentIdentifier() {
        Interface interfaceComp = (Interface)getParent();
       
        NCName interfaceName = new NCName(interfaceComp.getName().getLocalPart());
       
        return new FragmentIdentifier(new InterfaceFaultPart(interfaceName, fName));
    }
View Full Code Here

    /*
     * @see org.apache.woden.wsdl20.Interface#getExtendedInterface(javax.xml.namespace.QName)
     */
    public Interface getExtendedInterface(QName qname)
    {
        Interface intface = fDescriptionComponent.getInterface(qname);
        return intface;
    }
View Full Code Here

    {
        List interfaces = new Vector();
        for(Iterator it = fExtends.iterator(); it.hasNext();)
        {
            QName qn = (QName)it.next();
            Interface intface = getExtendedInterface(qn);
            if(intface != null) interfaces.add(intface);
        }
       
        Interface[] array = new Interface[interfaces.size()];
        interfaces.toArray(array);
View Full Code Here

       
        if(!(comp instanceof Interface)) {
            return false;
        }
       
        Interface other = (Interface)comp;
       
        //compare {name}
        QName myName = getName();
        if(myName != null && !myName.equals(other.getName())) return false;
       
        /* To compare {extended interfaces} we cannot just retrieve and compare the two sets
         * of extended Interface components because we'd enter a recursive loop. To get the
         * extended interfaces (i.e. to resolve the qnames in the 'extends' attribute)
         * we need to get the set of interfaces available to the Description, which in turn
View Full Code Here

    /* (non-Javadoc)
     * @see org.apache.woden.wsdl20.Binding#getInterface()
     */
    public Interface getInterface()
    {
        Interface interfac = fDescriptionComponent.getInterface(fInterfaceName);
        return interfac;
    }
View Full Code Here

TOP

Related Classes of org.xtreemfs.babudb.pbrpc.Replication$ReplicationService$Interface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.