| Modifier and Type | Field and Description |
|---|---|
| public static final IdentifierValue | ANY
Always assume the transient instance is newly instantiated |
| private static final Logger | |
| public static final IdentifierValue | NONE
Never assume the transient instance is newly instantiated |
| public static final IdentifierValue | NULL
Assume the transient instance is newly instantiated if the identifier is null. |
| public static final IdentifierValue | UNDEFINED
Assume nothing. |
| private final Serializable |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | IdentifierValue(Serializable value)
Assume the transient instance is newly instantiated if its identifier is null or equal to value |
| Modifier and Type | Method and Description |
|---|---|
| public Serializable | getDefaultValue(Object
The current state value. currentValue)Implements org. |
| public Boolean | isUnsaved(Object
The value to be tested id)Implements org. |
| public String |
| ANY | back to summary |
|---|---|
| public static final IdentifierValue ANY Always assume the transient instance is newly instantiated | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| NONE | back to summary |
|---|---|
| public static final IdentifierValue NONE Never assume the transient instance is newly instantiated | |
| NULL | back to summary |
|---|---|
| public static final IdentifierValue NULL Assume the transient instance is newly instantiated if the identifier is null. | |
| UNDEFINED | back to summary |
|---|---|
| public static final IdentifierValue UNDEFINED Assume nothing. | |
| value | back to summary |
|---|---|
| private final Serializable value | |
| IdentifierValue | back to summary |
|---|---|
| protected IdentifierValue() | |
| IdentifierValue | back to summary |
|---|---|
| public IdentifierValue(Serializable value) Assume the transient instance is newly instantiated if its identifier is null or equal to value | |
| getDefaultValue | back to summary |
|---|---|
| public Serializable getDefaultValue(Object currentValue) Implements org. Doc from org. Get a default value meant to indicate transience.
| |
| isUnsaved | back to summary |
|---|---|
| public Boolean isUnsaved(Object id) Implements org. Does the given identifier belong to a new instance?
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |