001 /*
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements. See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache License, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License. You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017 package org.apache.servicemix.common.packaging;
018
019 import javax.xml.namespace.QName;
020
021 /**
022 * Provides a value object for gathering information on a provides element from
023 * a ServiceUnitAnalyzer
024 *
025 * @author Philip Dodds
026 * @version $Revision: 426415 $
027 * @since 3.0
028 * @see ServiceUnitAnalyzer
029 */
030 public class Provides {
031
032 private QName interfaceName;
033
034 private QName serviceName;
035
036 private String endpointName;
037
038 public String getEndpointName() {
039 return endpointName;
040 }
041
042 public void setEndpointName(String endpointName) {
043 this.endpointName = endpointName;
044 }
045
046 public QName getInterfaceName() {
047 return interfaceName;
048 }
049
050 public void setInterfaceName(QName interfaceName) {
051 this.interfaceName = interfaceName;
052 }
053
054 public QName getServiceName() {
055 return serviceName;
056 }
057
058 public void setServiceName(QName serviceName) {
059 this.serviceName = serviceName;
060 }
061 }