Created
October 3, 2014 14:38
-
-
Save amischler/2e62a8feb5f9d4da992d to your computer and use it in GitHub Desktop.
This file contains 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
public class Contact extends AbstractJcrEntity { | |
@JcrProperty | |
private StringProperty name = new SimpleStringProperty(); | |
@JcrProperty | |
private DoubleProperty height = new SimpleDoubleProperty(); | |
@JcrProperty | |
private ObjectProperty<Date> birthday = new SimpleObjectProperty<Date>(); | |
@JcrChildNode(createContainerNode = false) | |
private ObjectProperty<Address> address = new SimpleObjectProperty(); | |
@JcrProperty | |
private ObjectProperty<Role> role = new SimpleObjectProperty<Role>(); | |
@JcrProperty | |
private ListProperty<String> hobbies = new SimpleListProperty<String>(FXCollections.<String>observableArrayList()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment