001// Copyright 2004, 2005 The Apache Software Foundation
002//
003// Licensed under the Apache License, Version 2.0 (the "License");
004// you may not use this file except in compliance with the License.
005// You may obtain a copy of the License at
006//
007//     http://www.apache.org/licenses/LICENSE-2.0
008//
009// Unless required by applicable law or agreed to in writing, software
010// distributed under the License is distributed on an "AS IS" BASIS,
011// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
012// See the License for the specific language governing permissions and
013// limitations under the License.
014
015package org.apache.hivemind;
016
017/**
018 * Contribution to the <code>org.apache.hivemind.SymbolSource</code>
019 * configuration extension point; used to provide
020 * a {@link org.apache.hivemind.SymbolSource} implementation
021 * (often, as a service defined in HiveMind itself), and
022 * advice on ordering the service.
023 *
024 * @author Howard Lewis Ship
025 */
026public class SymbolSourceContribution implements Orderable
027{
028    private String _name;
029    private String _precedingNames;
030    private String _followingNames;
031
032    private SymbolSource _source;
033
034    public SymbolSource getSource()
035    {
036        return _source;
037    }
038
039    public void setSource(SymbolSource source)
040    {
041        _source = source;
042    }
043
044    public String getFollowingNames()
045    {
046        return _followingNames;
047    }
048
049    public String getName()
050    {
051        return _name;
052    }
053
054    public String getPrecedingNames()
055    {
056        return _precedingNames;
057    }
058
059    public void setFollowingNames(String string)
060    {
061        _followingNames = string;
062    }
063
064    public void setName(String string)
065    {
066        _name = string;
067    }
068
069    public void setPrecedingNames(String string)
070    {
071        _precedingNames = string;
072    }
073
074}