| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| public static final VersionValue | NEGATIVE
Assume the transient instance is newly instantiated if the version is negative, otherwise assume it is a detached instance. |
| public static final VersionValue | NULL
Assume the transient instance is newly instantiated if the version is null, otherwise assume it is a detached instance. |
| public static final VersionValue | UNDEFINED
Assume the transient instance is newly instantiated if the version is null, otherwise defer to the identifier unsaved-value. |
| private final Object |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VersionValue(Object
value to compare to value)Assume the transient instance is newly instantiated if its version is null or equal to value |
| log | back to summary |
|---|---|
| private static final Logger log | |
| NEGATIVE | back to summary |
|---|---|
| public static final VersionValue NEGATIVE Assume the transient instance is newly instantiated if the version is negative, otherwise assume it is a detached instance. | |
| NULL | back to summary |
|---|---|
| public static final VersionValue NULL Assume the transient instance is newly instantiated if the version is null, otherwise assume it is a detached instance. | |
| UNDEFINED | back to summary |
|---|---|
| public static final VersionValue UNDEFINED Assume the transient instance is newly instantiated if the version is null, otherwise defer to the identifier unsaved-value. | |
| value | back to summary |
|---|---|
| private final Object value | |
| VersionValue | back to summary |
|---|---|
| protected VersionValue() | |
| VersionValue | back to summary |
|---|---|
| public VersionValue(Object value) Assume the transient instance is newly instantiated if its version is null or equal to value
| |
| getDefaultValue | back to summary |
|---|---|
| public Object getDefaultValue(Object currentValue) | |
| isUnsaved | back to summary |
|---|---|
| public Boolean isUnsaved(Object version) throws MappingException Does the given version belong to a new instance? | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |