1 /** 2 * PETALS - PETALS Services Platform. 3 * Copyright (c) 2005 EBM Websourcing, http://www.ebmwebsourcing.com/ 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2.1 of the License, or (at your option) any later version. 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 * 18 * ------------------------------------------------------------------------- 19 * $Id: ServiceAssemblyMock.java 12:14:20 ddesjardins $ 20 * ------------------------------------------------------------------------- 21 */ 22 package org.objectweb.petals.jbi.component.lifecycle.mock; 23 24 import java.util.List; 25 26 import org.objectweb.petals.tools.jbicommon.descriptor.Connection; 27 import org.objectweb.petals.tools.jbicommon.descriptor.Identification; 28 import org.objectweb.petals.tools.jbicommon.descriptor.ServiceAssembly; 29 import org.objectweb.petals.tools.jbicommon.descriptor.ServiceUnit; 30 31 /** 32 * Mock object of the ServiceAssembly 33 * 34 * @author ddesjardins - eBMWebsourcing 35 */ 36 public class ServiceAssemblyMock extends ServiceAssembly { 37 38 public ServiceAssemblyMock() { 39 } 40 41 private List<Connection> connections; 42 43 private List<ServiceUnit> serviceUnits; 44 45 private Identification identification; 46 47 public Identification getIdentification() { 48 return identification; 49 } 50 51 public void setIdentification(Identification identification) { 52 this.identification = identification; 53 } 54 55 public List<ServiceUnit> getServiceUnits() { 56 return serviceUnits; 57 } 58 59 public void setServiceUnits(List<ServiceUnit> serviceUnits) { 60 this.serviceUnits = serviceUnits; 61 } 62 63 public List<Connection> getConnections() { 64 return connections; 65 } 66 67 public void setConnections(List<Connection> connections) { 68 this.connections = connections; 69 } 70 71 } 72