001package jmri;
002
003/**
004 * Leaf of a CatalogTree.
005 * <p>
006 * Name for the leaf Path to lead.
007 *
008 * @author Pete Cressman Copyright 2009
009 *
010 */
011public class CatalogTreeLeaf {
012
013    private String _name; // non-localized
014    private String _path;
015    private int _size;
016
017    public CatalogTreeLeaf(String name, String path, int size) {
018        _name = name;
019        _path = path;
020        _size = size;
021    }
022
023    public String getName() {
024        return _name;
025    }
026
027    public void setName(String name) {
028        _name = name;
029    }
030
031    public String getPath() {
032        return _path;
033    }
034
035    public int getSize() {
036        return _size;
037    }
038
039}