summaryrefslogtreecommitdiff
path: root/java-plan2/src/org/msgpack/schema/PrimitiveSchema.java
blob: 023d81ba9a6165be4e33528884f39ef28e6a413b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.msgpack.schema;

public abstract class PrimitiveSchema extends Schema {
	public static enum PrimitiveType {
		BYTE,
		SHORT,
		INT,
		LONG,
		FLOAT,
		DOUBLE,
	}

	public final PrimitiveType type;

	protected PrimitiveSchema(String name, PrimitiveType type)
	{
		super(name);
		this.type = type;
	}
}