K
- The type of the map keypublic static class MapKeyHelpers.MapKeyAttribute<K> extends Object implements SingularAttribute<Map<K,?>,K>, Bindable<K>, Serializable
Attribute
modelling of a map-key.Attribute.PersistentAttributeType
Bindable.BindableType
Constructor and Description |
---|
MapKeyAttribute(CriteriaBuilderImpl criteriaBuilder,
MapAttribute<?,K,?> attribute) |
Modifier and Type | Method and Description |
---|---|
Class<K> |
getBindableJavaType() |
Bindable.BindableType |
getBindableType() |
ManagedType<Map<K,?>> |
getDeclaringType() |
Member |
getJavaMember() |
Class<K> |
getJavaType() |
String |
getName() |
Attribute.PersistentAttributeType |
getPersistentAttributeType() |
Type<K> |
getType() |
boolean |
isAssociation() |
boolean |
isCollection() |
boolean |
isId() |
boolean |
isOptional() |
boolean |
isVersion() |
public MapKeyAttribute(CriteriaBuilderImpl criteriaBuilder, MapAttribute<?,K,?> attribute)
public Attribute.PersistentAttributeType getPersistentAttributeType()
getPersistentAttributeType
in interface Attribute<Map<K,?>,K>
public ManagedType<Map<K,?>> getDeclaringType()
getDeclaringType
in interface Attribute<Map<K,?>,K>
public Class<K> getJavaType()
getJavaType
in interface Attribute<Map<K,?>,K>
public Member getJavaMember()
getJavaMember
in interface Attribute<Map<K,?>,K>
public boolean isAssociation()
isAssociation
in interface Attribute<Map<K,?>,K>
public boolean isCollection()
isCollection
in interface Attribute<Map<K,?>,K>
public boolean isId()
isId
in interface SingularAttribute<Map<K,?>,K>
public boolean isVersion()
isVersion
in interface SingularAttribute<Map<K,?>,K>
public boolean isOptional()
isOptional
in interface SingularAttribute<Map<K,?>,K>
public Bindable.BindableType getBindableType()
getBindableType
in interface Bindable<K>
public Class<K> getBindableJavaType()
getBindableJavaType
in interface Bindable<K>
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.