All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fabric3.xquery.provision.XQueryComponentDefinition Maven / Gradle / Ivy

/*
 * Fabric3
 * Copyright ? 2008 Metaform Systems Limited
 *
 * This proprietary software may be used only connection with the Fabric3 license
 * (the ?License?), a copy of which is included in the software or may be
 * obtained at: http://www.metaformsystems.com/licenses/license.html.

 * Software distributed under the License is distributed on an ?as is? basis,
 * without warranties or conditions of any kind.  See the License for the
 * specific language governing permissions and limitations of use of the software.
 * This software is distributed in conjunction with other software licensed under
 * different terms.  See the separate licenses for those programs included in the
 * distribution for the permitted and restricted uses of such software.
 *
 */
package org.fabric3.xquery.provision;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;

import org.w3c.dom.Document;

import org.fabric3.spi.model.physical.PhysicalComponentDefinition;

/**
 * @version $Rev: 6016 $ $Date: 2008-11-22 12:46:38 -0800 (Sat, 22 Nov 2008) $
 */
public class XQueryComponentDefinition extends PhysicalComponentDefinition {
    private static final long serialVersionUID = -2176668190738465467L;

    private String location;
    private String context;
    private Map propertyValues = new HashMap();
    private Map> serviceFunctions;
    private Map> referenceFunctions;
    private Map> callbackFunctions;
    //private Map> serviceCallbackFunctions;
    //private Map> referenceCallbackFunctions;
    private Map properties;

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Map getPropertyValues() {
        return propertyValues;
    }

    public void setPropertyValue(String name, Document value) {
        propertyValues.put(name, value);
    }

    public Map> getServiceFunctions() {
        return serviceFunctions;
    }

    public Map> getReferenceFunctions() {
        return referenceFunctions;
    }


    public Map getProperties() {
        return properties;
    }

    public void setServiceFunctions(Map> serviceFunctions) {
        this.serviceFunctions = serviceFunctions;
    }

    public void setReferenceFunctions(Map> referenceFunctions) {
        this.referenceFunctions = referenceFunctions;
    }


    public void setCallbackFunctions(Map> callbackFunctions) {
        this.callbackFunctions = callbackFunctions;
    }

    public Map> getCallbackFunctions() {
        return callbackFunctions;
    }

    /*
     public void setReferenceCallbackFunctions(Map> callbackFunctions) {
        this.referenceCallbackFunctions = callbackFunctions;
    }

    public Map> getReferenceCallbackFunctions() {
        return referenceCallbackFunctions;
    }
    */
    public void setProperties(Map properties) {
        this.properties = properties;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy