@XmlElement
    public List<Specialty> getSpecialties() {
        List<Specialty> sortedSpecs = new ArrayList<>(getSpecialtiesInternal());
        PropertyComparator.sort(sortedSpecs, new MutableSortDefinition("name", true, true));
        return Collections.unmodifiableList(sortedSpecs);
    }
Simple JavaBean domain object representing a veterinarian.

@author Ken Krebs
@author Juergen Hoeller
@author Sam Brannen
@author Arjen Poutsma
src/main/java/org/springframework/samples/petclinic/model/Vet.java