Class PluralAttributeBuilder<D,C,E,K>
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.PluralAttributeBuilder<D,C,E,K>
-
public class PluralAttributeBuilder<D,C,E,K> extends Object
A "parameter object" for creating a plural attribute
-
-
Constructor Summary
Constructors Constructor Description PluralAttributeBuilder(JavaType<C> collectionJtd, boolean isGeneric, AttributeClassification attributeClassification, CollectionClassification collectionClassification, DomainType<E> elementType, DomainType<K> listIndexOrMapKeyType, ManagedDomainType<D> declaringType, Property property, Member member)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <Y,X>
PersistentAttribute<X,Y>build(PluralAttributeMetadata<?,Y,?> attributeMetadata, boolean isGeneric, MetadataContext metadataContext)
AttributeClassification
getAttributeClassification()
CollectionClassification
getCollectionClassification()
JavaType<C>
getCollectionJavaType()
ManagedDomainType<D>
getDeclaringType()
DomainType<K>
getListIndexOrMapKeyType()
Member
getMember()
Property
getProperty()
DomainType<E>
getValueType()
boolean
isGeneric()
-
-
-
Constructor Detail
-
PluralAttributeBuilder
public PluralAttributeBuilder(JavaType<C> collectionJtd, boolean isGeneric, AttributeClassification attributeClassification, CollectionClassification collectionClassification, DomainType<E> elementType, DomainType<K> listIndexOrMapKeyType, ManagedDomainType<D> declaringType, Property property, Member member)
-
-
Method Detail
-
build
public static <Y,X> PersistentAttribute<X,Y> build(PluralAttributeMetadata<?,Y,?> attributeMetadata, boolean isGeneric, MetadataContext metadataContext)
-
getDeclaringType
public ManagedDomainType<D> getDeclaringType()
-
getAttributeClassification
public AttributeClassification getAttributeClassification()
-
getCollectionClassification
public CollectionClassification getCollectionClassification()
-
getListIndexOrMapKeyType
public DomainType<K> getListIndexOrMapKeyType()
-
isGeneric
public boolean isGeneric()
-
getValueType
public DomainType<E> getValueType()
-
getProperty
public Property getProperty()
-
getMember
public Member getMember()
-
-