protected void readInternal(ObjectDataInput in) throws IOException {
int size = in.readInt();
migrationData = new HashMap<String, Permit>(size);
for (int i = 0; i < size; i++) {
String name = in.readUTF();
Permit permit = new Permit();
permit.readData(in);
migrationData.put(name, permit);
}
}