IdentifierPropertypublic class IdentifierProperty extends Property Represents a defined entity identifier property within the Hibernate
runtime-metamodel. |
Fields Summary |
---|
private boolean | virtual | private boolean | embedded | private org.hibernate.engine.IdentifierValue | unsavedValue | private org.hibernate.id.IdentifierGenerator | identifierGenerator | private boolean | identifierAssignedByInsert | private boolean | hasIdentifierMapper |
Constructors Summary |
---|
public IdentifierProperty(String name, String node, org.hibernate.type.Type type, boolean embedded, org.hibernate.engine.IdentifierValue unsavedValue, org.hibernate.id.IdentifierGenerator identifierGenerator)Construct a non-virtual identifier property.
super(name, node, type);
this.virtual = false;
this.embedded = embedded;
this.hasIdentifierMapper = false;
this.unsavedValue = unsavedValue;
this.identifierGenerator = identifierGenerator;
this.identifierAssignedByInsert = identifierGenerator instanceof PostInsertIdentifierGenerator;
| public IdentifierProperty(org.hibernate.type.Type type, boolean embedded, boolean hasIdentifierMapper, org.hibernate.engine.IdentifierValue unsavedValue, org.hibernate.id.IdentifierGenerator identifierGenerator)Construct a virtual IdentifierProperty.
super(null, null, type);
this.virtual = true;
this.embedded = embedded;
this.hasIdentifierMapper = hasIdentifierMapper;
this.unsavedValue = unsavedValue;
this.identifierGenerator = identifierGenerator;
this.identifierAssignedByInsert = identifierGenerator instanceof PostInsertIdentifierGenerator;
|
|