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

com.hi3project.broccoli.bsdf.impl.deployment.ServiceLocatorsVO Maven / Gradle / Ivy

Go to download

Specification for BSDL, BSDM and basic BSDF. Interfaces and XML descriptors. XML Schema for BSDL.

The newest version!
/*******************************************************************************
 *
 * Copyright (C) 2015 Mytech Ingenieria Aplicada 
 * Copyright (C) 2015 Alejandro Paz 
 *
 * This file is part of Broccoli.
 *
 * Broccoli is free software: you can redistribute it and/or modify it under the
 * terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option) any
 * later version.
 *
 * Broccoli 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 GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Broccoli. If not, see .
 *
 ******************************************************************************/

package com.hi3project.broccoli.bsdf.impl.deployment;

import com.hi3project.broccoli.bsdl.api.ISemanticLocator;
import java.util.ArrayList;
import java.util.Collection;

/**
 *
 * 
 */
public class ServiceLocatorsVO
{

    private ISemanticLocator serviceDescriptorLocator;
    private ISemanticLocator serviceImplementationLocator;
    private Collection ontologiesDescriptorLocators;
    private Collection ontologiesImplementationLocators;
    private Collection librariesLocators;

    public ServiceLocatorsVO()
    {
        this.ontologiesDescriptorLocators = new ArrayList();
        this.ontologiesImplementationLocators = new ArrayList();
        this.librariesLocators = new ArrayList();
    }

    public ISemanticLocator getServiceDescriptorLocator()
    {
        return this.serviceDescriptorLocator;
    }

    public void setServiceDescriptorLocator(ISemanticLocator serviceDescriptorLocator)
    {
        this.serviceDescriptorLocator = serviceDescriptorLocator;
    }

    public ISemanticLocator getServiceImplementationLocator()
    {
        return this.serviceImplementationLocator;
    }

    public void setServiceImplementationLocator(ISemanticLocator serviceImplementationLocator)
    {
        this.serviceImplementationLocator = serviceImplementationLocator;
    }

    public Collection getOntologiesDescriptorLocators()
    {
        return this.ontologiesDescriptorLocators;
    }

    public Collection addOntologyDescriptorLocator(ISemanticLocator ontologyDescriptorLocator)
    {
        this.ontologiesDescriptorLocators.add(ontologyDescriptorLocator);
        return this.ontologiesDescriptorLocators;
    }
    
    public Collection getOntologiesImplementationLocators()
    {
        return this.ontologiesImplementationLocators;
    }

    public Collection addOntologyImplementationLocator(ISemanticLocator ontologyImplementationLocator)
    {
        this.ontologiesImplementationLocators.add(ontologyImplementationLocator);
        return this.ontologiesImplementationLocators;
    }
    
    public Collection getLibrariesLocators()
    {
        return this.librariesLocators;
    }
    
    public Collection addLibraryLocator(ISemanticLocator libraryLocator)
    {
        this.librariesLocators.add(libraryLocator);
        return this.librariesLocators;
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy