Skip to content

Instantly share code, notes, and snippets.

/Pet.java Secret

Created July 10, 2015 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/992ce7f8dcffc1182aa6 to your computer and use it in GitHub Desktop.
Save anonymous/992ce7f8dcffc1182aa6 to your computer and use it in GitHub Desktop.
public class Pet implements Serializable {
// ...
@Group(order = 100, displayName = "Species")
public Species getSpecies() {
return species;
}
@AggregatedValue
@Group(order = 200, displayName = "Age")
public BigDecimal getAge() {
return age;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment