package graph;

public class MIME_Type implements java.io.Serializable
    {
//***** Variables *****

    private int type;
    private int subtype;

//***** Constants *****

    public static final int GRAPH = 0;
        public static final int NET = 0;
        public static final int TREE = 1;
        public static final int LIST = 2;
    public static final int TEXT = 1;
        public static final int HTML = 0;
        public static final int PLAIN = 1;
    public static final int IMAGE = 2;
        public static final int JPEG = 0;
        public static final int GIF = 1;

//***** Constructors *****

    public MIME_Type ()  {
        super();
    }  // end MIME_Type

    public MIME_Type ( int t, int s )  {
        super();
        type = t;
        subtype = s;
    }  // end MIME_Type

//***** methods *****

	public int getType ()  {
		return type;
	}  // end setType ()

	public void setType( int t ) {
	    type = t;
	}  // end setType

	public int getSubtype ()  {
		return subtype;
	}  // end getSubtype

	public void setSubtype( int s ) {
	    subtype = s;
	}  // end setSubtype

	public void setBoth( int t, int s ) {
	    type = t;
	    subtype = s;
	}  // end setBoth

    }  // end MIME_Type

