public Object newDataObject(final EdmEntitySet entitySet) throws ODataNotImplementedException, EdmException {
if (ENTITYSET_1_1.equals(entitySet.getName())) {
Employee employee = dataContainer.createEmployee();
employee.setAge(0);
employee.setLocation(new Location(null, null, null));
return employee;
} else if (ENTITYSET_1_2.equals(entitySet.getName())) {
return dataContainer.createTeam();
} else if (ENTITYSET_1_3.equals(entitySet.getName())) {
Room room = dataContainer.createRoom();
room.setSeats(0);
room.setVersion(0);
return room;
} else if (ENTITYSET_1_4.equals(entitySet.getName())) {
Manager manager = dataContainer.createManager();
manager.setAge(0);
manager.setLocation(new Location(null, null, null));
return manager;
} else if (ENTITYSET_1_5.equals(entitySet.getName())) {
return dataContainer.createBuilding();
} else if (ENTITYSET_2_1.equals(entitySet.getName())) {
return dataContainer.createPhoto(HttpContentType.APPLICATION_OCTET_STREAM);