X
- The type of the declaring entity viewY
- The type of attributeCollectionAttribute<X,E>
, CorrelatedAttribute<X,Y>
, ListAttribute<X,E>
, MapAttribute<X,K,V>
, MappingAttribute<X,Y>
, MethodAttribute<X,Y>
, ParameterAttribute<X,Y>
, PluralAttribute<X,C,E>
, SetAttribute<X,E>
, SingularAttribute<X,Y>
, SubqueryAttribute<X,Y>
public interface Attribute<X,Y>
Modifier and Type | Interface | Description |
---|---|---|
static class |
Attribute.AttributeType |
The different attribute types.
|
static class |
Attribute.MappingType |
The different attribute mapping types.
|
static class |
Attribute.MemberType |
The different attribute types.
|
Modifier and Type | Method | Description |
---|---|---|
Attribute.AttributeType |
getAttributeType() |
Returns the type of the attribute.
|
int |
getBatchSize() |
Returns the default batch size of the attribute.
|
java.lang.Class<?> |
getConvertedJavaType() |
Returns the java type of the converted attribute type or the attribute type.
|
ManagedViewType<X> |
getDeclaringType() |
Returns the declaring view type.
|
java.lang.String[] |
getFetches() |
The associations that should be fetched along with the entity mapped by this attribute.
|
FetchStrategy |
getFetchStrategy() |
Returns the fetch strategy of the attribute.
|
java.lang.Class<Y> |
getJavaType() |
Returns the java type of the attribute.
|
Attribute.MappingType |
getMappingType() |
Returns the type of the attribute mapping.
|
Attribute.MemberType |
getMemberType() |
Returns the type of the attribute member.
|
boolean |
isCollection() |
Returns true if this attribute is a collection, otherwise false.
|
boolean |
isCorrelated() |
Returns true if this attribute is correlated, otherwise false.
|
boolean |
isSubquery() |
Returns true if this attribute maps to a subquery provider, otherwise false.
|
boolean |
isSubview() |
Returns true if this attribute is a subview, otherwise false.
|
ManagedViewType<X> getDeclaringType()
java.lang.Class<Y> getJavaType()
java.lang.Class<?> getConvertedJavaType()
Attribute.MemberType getMemberType()
Attribute.AttributeType getAttributeType()
Attribute.MappingType getMappingType()
boolean isSubquery()
boolean isCollection()
boolean isSubview()
boolean isCorrelated()
java.lang.String[] getFetches()
FetchStrategy getFetchStrategy()
int getBatchSize()
Copyright © 2014–2018 Blazebit. All rights reserved.