WSDLOperationRefImpl.java revision 2
/*
* Created on Dec 21, 2004
*/
package impl.owls.grounding;
import impl.owl.WrappedIndividual;
import java.net.URI;
import org.mindswap.owl.OWLIndividual;
import org.mindswap.owls.grounding.WSDLOperationRef;
import org.mindswap.owls.vocabulary.OWLS;
/**
* @author evren
*
*/
public class WSDLOperationRefImpl extends WrappedIndividual implements WSDLOperationRef {
public WSDLOperationRefImpl(OWLIndividual ind) {
super(ind);
}
public void setOperation(URI op) {
setProperty(OWLS.Grounding.operation, op);
}
public URI getOperation() {
return getPropertyAsURI(OWLS.Grounding.operation);
}
public void setPortType(URI port) {
/*******************************************
** modified by guang huang @2005-4-8**
********************************************/
setProperty(OWLS.Grounding.portType, port);
/*******************************************
** end by guang huang **
********************************************/
}
public URI getPortType() {
return getPropertyAsURI(OWLS.Grounding.portType);
}
}