Class AbstractPropertyMetamodel
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.metamodel.AbstractPropertyMetamodel
- All Implemented Interfaces:
PropertyMetamodel
- Direct Known Subclasses:
NiceFieldMetamodel
Base implementation of
PropertyMetamodel
which is purely based on the JPA model.-
Field Summary
Modifier and TypeFieldDescriptionprotected final jakarta.persistence.metamodel.EntityType
<?> protected final jakarta.persistence.metamodel.Attribute
<?, ?> -
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractPropertyMetamodel
(jakarta.persistence.metamodel.EntityType<?> entityType, jakarta.persistence.metamodel.Attribute<?, ?> property) -
Method Summary
-
Field Details
-
entityType
protected final jakarta.persistence.metamodel.EntityType<?> entityType -
property
protected final jakarta.persistence.metamodel.Attribute<?,?> property
-
-
Constructor Details
-
AbstractPropertyMetamodel
protected AbstractPropertyMetamodel(jakarta.persistence.metamodel.EntityType<?> entityType, jakarta.persistence.metamodel.Attribute<?, ?> property)
-
-
Method Details
-
getName
- Specified by:
getName
in interfacePropertyMetamodel
- Returns:
- name of the property
-
getType
- Specified by:
getType
in interfacePropertyMetamodel
- Returns:
- java type of the property
-