package com.example.listviewcustom02;

public class ListCell //implements Comparable
{
    private String name;
    private String category;
    private boolean isSectionHeader;
    
    private String ID = "id";
    private String CODE = "code";
    private String NAME = "name";
    private String CONTINENT = "continent";
    private String REGION = "region";
    
    public ListCell(String ID, String CODE, String NAME, String CONTINENT, String REGION , String category)
    {
        this.ID = ID;
        this.CODE = CODE;
        this.NAME = NAME;
        this.CONTINENT = CONTINENT;
        this.REGION = REGION;
        this.category = category;

        isSectionHeader = false;
    }
    
    /*public String getName()
    {
        return name;
    }*/
    
    public String getCategory()
    {
        return category;
    }
    
    public void setToSectionHeader()
    {
        isSectionHeader = true;
    }
    
    public boolean isSectionHeader()
    {
        return isSectionHeader;
    }
/*
	@Override
	public int compareTo(Object arg0) {
		// TODO Auto-generated method stub
		return 0;
	}
   
    /*
    @Override
    public int compareTo(ListCell other) {
        return this.category.compareTo(other.category);
    }*/

} 