
org.ow2.easywsdl.extensions.sawsdl.impl.OperationImpl Maven / Gradle / Ivy
/**
* Copyright (c) 2008-2012 EBM WebSourcing, 2012-2016 Linagora
*
* This program/library is free software: you can redistribute it and/or modify
* it under the terms of the New BSD License (3-clause license).
*
* This program/library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the New BSD License (3-clause license)
* for more details.
*
* You should have received a copy of the New BSD License (3-clause license)
* along with this program/library; If not, see http://directory.fsf.org/wiki/License:BSD_3Clause/
* for the New BSD License (3-clause license).
*/
package org.ow2.easywsdl.extensions.sawsdl.impl;
import java.net.URI;
import java.util.List;
import org.ow2.easywsdl.extensions.sawsdl.api.AttrExtensions;
import org.ow2.easywsdl.extensions.sawsdl.api.Fault;
import org.ow2.easywsdl.extensions.sawsdl.api.Input;
import org.ow2.easywsdl.extensions.sawsdl.api.Operation;
import org.ow2.easywsdl.extensions.sawsdl.api.Output;
import org.ow2.easywsdl.extensions.sawsdl.api.SAWSDLElement;
import org.ow2.easywsdl.extensions.sawsdl.api.SAWSDLException;
import org.ow2.easywsdl.wsdl.api.WSDLException;
import org.ow2.easywsdl.wsdl.api.abstractItf.AbsItfOperation;
import org.ow2.easywsdl.wsdl.decorator.DecoratorOperationImpl;
/**
* @author Nicolas Salatge - EBM WebSourcing
*/
public class OperationImpl extends DecoratorOperationImpl implements
Operation {
/**
*
*/
private static final long serialVersionUID = 1L;
private SAWSDLElement elmt = null;
@SuppressWarnings("unchecked")
public OperationImpl(final AbsItfOperation operation) throws WSDLException {
super(operation);
this.elmt = new SAWSDLElementImpl(operation);
}
public List getModelReference() throws SAWSDLException {
return this.elmt.getModelReference();
}
public void addModelReference(final URI uri) throws SAWSDLException {
this.elmt.addModelReference(uri);
}
public List removeAllModelReferences() throws SAWSDLException {
return this.elmt.removeAllModelReferences();
}
public URI removeModelReference(final URI uri) throws SAWSDLException {
return this.elmt.removeModelReference(uri);
}
public AttrExtensions getAttrExtensions() throws SAWSDLException {
return this.elmt.getAttrExtensions();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy