| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static IdentifierValue | Returns: The appropriate IdentifierValueThe mapping defined unsaved value unsavedValue, Getter The getter for the entity identifier attribute identifierGetter, Type The mapping type for the identifier identifierType, Constructor<T> The constructor for the entity constructor)Return an IdentifierValue for the specified unsaved-value. |
| public static VersionValue | Returns: The appropriate VersionValueThe mapping defined unsaved value versionUnsavedValue, Getter The version attribute getter versionGetter, VersionType<T> The mapping type for the version versionType, Constructor<T> The constructor for the entity constructor)Return an IdentifierValue for the specified unsaved-value. |
| private static Object | Returns: The instantiated objectThe constructor constructor)Instantiate a class using the provided Constructor |
| UnsavedValueFactory | back to summary |
|---|---|
| private UnsavedValueFactory() | |
| getUnsavedIdentifierValue | back to summary |
|---|---|
| public static IdentifierValue getUnsavedIdentifierValue(String unsavedValue, Getter identifierGetter, Type identifierType, Constructor<T> constructor) Return an IdentifierValue for the specified unsaved-value. If none is specified, guess the unsaved value by instantiating a test instance of the class and reading it's id property, or if that is not possible, using the java default value for the type
| |
| getUnsavedVersionValue | back to summary |
|---|---|
| public static VersionValue getUnsavedVersionValue(String versionUnsavedValue, Getter versionGetter, VersionType<T> versionType, Constructor<T> constructor) Return an IdentifierValue for the specified unsaved-value. If none is specified, guess the unsaved value by instantiating a test instance of the class and reading it's version property value, or if that is not possible, using the java default value for the type
| |
| instantiate | back to summary |
|---|---|
| private static Object instantiate(Constructor<T> constructor) Instantiate a class using the provided Constructor
| |