HHH-10715 Make IdentifierProperty immutable

This commit is contained in:
Sanne Grinovero 2020-10-10 20:23:00 +01:00
parent 55eba6320b
commit 2358692797
1 changed files with 7 additions and 6 deletions

View File

@ -18,12 +18,13 @@ import org.hibernate.type.Type;
* @author Steve Ebersole
*/
public class IdentifierProperty extends AbstractAttribute implements IdentifierAttribute {
private boolean virtual;
private boolean embedded;
private IdentifierValue unsavedValue;
private IdentifierGenerator identifierGenerator;
private boolean identifierAssignedByInsert;
private boolean hasIdentifierMapper;
private final boolean virtual;
private final boolean embedded;
private final IdentifierValue unsavedValue;
private final IdentifierGenerator identifierGenerator;
private final boolean identifierAssignedByInsert;
private final boolean hasIdentifierMapper;
/**
* Construct a non-virtual identifier property.