/*
 * RHQ Management Platform
 * Copyright (C) 2005-2008 Red Hat, Inc.
 * All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation version 2 of the License.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
package org.rhq.core.domain.resource.composite;

import org.rhq.core.domain.resource.ResourceCategory;

import java.io.Serializable;

/**
 * @author Greg Hinkle
 */
public class ResourceInstallCount implements Serializable {

    private long count;
    private String typeName;
    private String typePlugin;
    private ResourceCategory category;
    private int typeId;
    private String version;

    public ResourceInstallCount() {
    }

    public ResourceInstallCount(String typeName, String typePlugin, ResourceCategory category, int typeId, long count, String version) {
        this.count = count;
        this.typeName = typeName;
        this.typePlugin = typePlugin;
        this.category = category;
        this.typeId = typeId;
        this.version = version;

    }


    public ResourceInstallCount(String typeName, String typePlugin, ResourceCategory category, int typeId, long count) {
        this.count = count;
        this.typeName = typeName;
        this.typePlugin = typePlugin;
        this.category = category;
        this.typeId = typeId;
    }


    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypePlugin() {
        return typePlugin;
    }

    public void setTypePlugin(String typePlugin) {
        this.typePlugin = typePlugin;
    }

    public ResourceCategory getCategory() {
        return category;
    }

    public void setCategory(ResourceCategory category) {
        this.category = category;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
