number, id });
number});
    public String getParkingAcceptedRegulationMessage() {        ResourceBundle bundle = ResourceBundle.getBundle("resources.ParkingResources");        String name = getParty().getName();        String number = "";        if (getParty().isPerson()) {            Person person = (Person) getParty();            // ((Person)getParty()).            Teacher teacher = person.getTeacher();            if (teacher == null) {                Employee employee = person.getEmployee();                if (employee == null) {                    Student student = person.getStudent();                    if (student != null) {                        number = student.getNumber().toString();                    }                } else {                    number = employee.getEmployeeNumber().toString();                }            } else {                number = teacher.getTeacherNumber().toString();            }        }        String id = "";        if (getParty().isPerson()) {            id = ((Person) getParty()).getDocumentIdNumber();        }        return MessageFormat.format(bundle.getString("message.acceptedRegulation"), new Object[] { name,                number, id });    }