Created
December 24, 2012 11:58
-
-
Save dankilman/4368995 to your computer and use it in GitHub Desktop.
Person and Address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// implementation omitted for brevity | |
@SpaceClass | |
public class Person { | |
@SpaceId | |
public Long getId() ... | |
public String getName() ... | |
public Address getAddress() ... | |
... | |
} | |
public class Address { | |
public String getStreetName() ... | |
public Long getStreetNumber() ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment