blob: 3343fca8e5a92638d4dced06d1cee28698743a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
package org.msgpack.schema;
import java.util.List;
public abstract class ClassSchema extends Schema {
protected String namespace;
protected List<String> imports;
public ClassSchema(String name, String namespace, List<String> imports)
{
super(name);
this.namespace = namespace;
this.imports = imports;
}
public String getNamespace()
{
return namespace;
}
public List<String> getImports()
{
return imports;
}
void setNamespace(String namespace)
{
this.namespace = namespace;
}
void setImports(List<String> imports)
{
this.imports = imports;
}
public abstract List<? extends FieldSchema> getFields();
public abstract Object newInstance();
}
|