Interface SingularPersistentAttribute<D,J>
-
- All Superinterfaces:
Attribute<D,J>
,Bindable<J>
,PersistentAttribute<D,J>
,PersistentAttributeDescriptor<D,J>
,SingularAttribute<D,J>
public interface SingularPersistentAttribute<D,J> extends SingularAttribute<D,J>, PersistentAttributeDescriptor<D,J>
Hibernate extension to the JPASingularAttribute
descriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Attribute
Attribute.PersistentAttributeType
-
Nested classes/interfaces inherited from interface javax.persistence.metamodel.Bindable
Bindable.BindableType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ManagedTypeDescriptor<D>
getDeclaringType()
default java.lang.Class<J>
getJavaType()
SimpleTypeDescriptor<J>
getType()
default SimpleTypeDescriptor<?>
getValueGraphType()
For a singular attribute, the value type is defined as the attribute type-
Methods inherited from interface javax.persistence.metamodel.Attribute
getJavaMember, getName, getPersistentAttributeType, isAssociation, isCollection
-
Methods inherited from interface javax.persistence.metamodel.Bindable
getBindableJavaType, getBindableType
-
Methods inherited from interface org.hibernate.metamodel.model.domain.spi.PersistentAttributeDescriptor
getKeyGraphType
-
Methods inherited from interface javax.persistence.metamodel.SingularAttribute
isId, isOptional, isVersion
-
-
-
-
Method Detail
-
getType
SimpleTypeDescriptor<J> getType()
- Specified by:
getType
in interfaceSingularAttribute<D,J>
-
getDeclaringType
ManagedTypeDescriptor<D> getDeclaringType()
- Specified by:
getDeclaringType
in interfaceAttribute<D,J>
- Specified by:
getDeclaringType
in interfacePersistentAttribute<D,J>
- Specified by:
getDeclaringType
in interfacePersistentAttributeDescriptor<D,J>
-
getValueGraphType
default SimpleTypeDescriptor<?> getValueGraphType()
For a singular attribute, the value type is defined as the attribute type- Specified by:
getValueGraphType
in interfacePersistentAttribute<D,J>
- Specified by:
getValueGraphType
in interfacePersistentAttributeDescriptor<D,J>
-
getJavaType
default java.lang.Class<J> getJavaType()
- Specified by:
getJavaType
in interfaceAttribute<D,J>
-
-