public class UnsavedValueFactory extends Object
Modifier and Type | Method and Description |
---|---|
static IdentifierValue |
getUnsavedIdentifierValue(String unsavedValue,
Getter identifierGetter,
Type identifierType,
Constructor constructor)
Return an IdentifierValue for the specified unsaved-value.
|
static VersionValue |
getUnsavedVersionValue(String versionUnsavedValue,
Getter versionGetter,
VersionType versionType,
Constructor constructor)
Return an IdentifierValue for the specified unsaved-value.
|
public static IdentifierValue getUnsavedIdentifierValue(String unsavedValue, Getter identifierGetter, Type identifierType, Constructor constructor)
unsavedValue
- The mapping defined unsaved valueidentifierGetter
- The getter for the entity identifier attributeidentifierType
- The mapping type for the identifierconstructor
- The constructor for the entitypublic static VersionValue getUnsavedVersionValue(String versionUnsavedValue, Getter versionGetter, VersionType versionType, Constructor constructor)
versionUnsavedValue
- The mapping defined unsaved valueversionGetter
- The version attribute getterversionType
- The mapping type for the versionconstructor
- The constructor for the entityCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.