/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package net.java.sip.communicator.impl.gui.main;

import net.java.sip.communicator.service.protocol.ProtocolProviderService;

/**
 * @author Yana Stamcheva
 */
public class Account {

    private String identifier;

    private ProtocolProviderService protocolProvider;

    private String protocolName;

    public Account(String identifier, 
                ProtocolProviderService protocolProvider) {

        this.identifier = identifier;
        this.protocolProvider = protocolProvider;
        this.protocolName = protocolProvider.getProtocolName();
    }

    public String getProtocolName() {
        return protocolName;
    }

    public void setProtocolProvider(ProtocolProviderService protocolProvider) {
        this.protocolProvider = protocolProvider;
    }

    public ProtocolProviderService getProtocolProvider() {
        return this.protocolProvider;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }
}
