public class ResultAttributeBuilder<T,V extends Iterable<E>,E> extends AttributeBuilder<T,V>
Constructor and Description |
---|
ResultAttributeBuilder(String name,
Class<? extends Iterable> type,
Class<E> elementType) |
build, setBuilderProperty, setCardinality, setCascadeAction, setCollate, setConverter, setDefaultValue, setDefinition, setDeleteAction, setForeignKey, setGenerated, setIndexed, setIndexNames, setInitializer, setKey, setLazy, setLength, setMappedAttribute, setNullable, setOrderByAttribute, setOrderByDirection, setProperty, setPropertyName, setPropertyState, setReferencedAttribute, setReferencedClass, setUnique, setUpdateAction, setVersion
abs, as, asc, avg, between, desc, eq, eq, equal, equal, function, getAlias, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, gt, gt, gte, gte, in, in, isNull, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, like, lower, lt, lt, lte, lte, max, min, ne, ne, notEqual, notEqual, notIn, notIn, notLike, notNull, round, round, substr, sum, trim, trim, upper
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
abs, asc, avg, desc, function, lower, max, min, round, round, substr, sum, trim, trim, upper
between, eq, eq, equal, equal, greaterThan, greaterThan, greaterThanOrEqual, greaterThanOrEqual, gt, gt, gte, gte, in, in, isNull, lessThan, lessThan, lessThanOrEqual, lessThanOrEqual, like, lt, lt, lte, lte, ne, ne, notEqual, notEqual, notIn, notIn, notLike, notNull
public Property<?,V> getBuilderProperty()
getBuilderProperty
in interface Attribute<T,V>
Property
used to apply the attribute a builder instance for the type.public Class<V> getClassType()
getClassType
in interface Attribute<T,V>
getClassType
in interface Expression<V>
getClassType
in class FieldExpression<V>
Class
that results when the expression is evaluatedpublic Cardinality getCardinality()
getCardinality
in interface Attribute<T,V>
Attribute.isAssociation()
true attribute the type of relation being represented.public Set<CascadeAction> getCascadeActions()
getCascadeActions
in interface Attribute<T,V>
public String getCollate()
getCollate
in interface Attribute<T,V>
public Converter<V,?> getConverter()
getConverter
in interface Attribute<T,V>
Attribute.getClassType()
to a persisted value
and vice versa.public Type<T> getDeclaringType()
getDeclaringType
in interface Attribute<T,V>
Type
that contains this attribute.public String getDefaultValue()
getDefaultValue
in interface Attribute<T,V>
public String getDefinition()
getDefinition
in interface Attribute<T,V>
Column.definition()
public ReferentialAction getDeleteAction()
getDeleteAction
in interface Attribute<T,V>
Attribute.isForeignKey()
attribute the action to take when the referenced entity
is deleted, otherwise null.public Class<?> getElementClass()
getElementClass
in interface Attribute<T,V>
public ExpressionType getExpressionType()
getExpressionType
in interface Expression<V>
getExpressionType
in class FieldExpression<V>
public Set<String> getIndexNames()
getIndexNames
in interface Attribute<T,V>
Attribute.isIndexed()
true attribute the index name(s), defaults to empty
(auto created).public Initializer<T,V> getInitializer()
getInitializer
in interface Attribute<T,V>
Initializer
for defining the default value for the property representing the
attribute.public Integer getLength()
public Class<?> getMapKeyClass()
getMapKeyClass
in interface Attribute<T,V>
public Supplier<Attribute> getMappedAttribute()
getMappedAttribute
in interface Attribute<T,V>
public String getName()
getName
in interface Attribute<T,V>
getName
in interface Expression<V>
getName
in class FieldExpression<V>
public Supplier<Attribute> getOrderByAttribute()
getOrderByAttribute
in interface Attribute<T,V>
public Order getOrderByDirection()
getOrderByDirection
in interface Attribute<T,V>
Attribute.getOrderByAttribute()
is specified the order direction to use in the
generated query.public PrimitiveKind getPrimitiveKind()
getPrimitiveKind
in interface Attribute<T,V>
PrimitiveKind
of this attribute if this attribute is representing a
primitive field, returns null otherwise if the field is not primitive (including boxed
versions of types)public Property<T,V> getProperty()
getProperty
in interface Attribute<T,V>
Property
representing access to the field of the entity.public String getPropertyName()
getPropertyName
in interface Attribute<T,V>
public Property<T,PropertyState> getPropertyState()
getPropertyState
in interface Attribute<T,V>
Property
representing access to the state of the held property.public Supplier<Attribute> getReferencedAttribute()
getReferencedAttribute
in interface Attribute<T,V>
public Class<?> getReferencedClass()
getReferencedClass
in interface Attribute<T,V>
public ReferentialAction getUpdateAction()
getUpdateAction
in interface Attribute<T,V>
Attribute.isForeignKey()
attribute the action to take when the referenced entity
is updated, otherwise null.public boolean isAssociation()
isAssociation
in interface Attribute<T,V>
public boolean isForeignKey()
isForeignKey
in interface Attribute<T,V>
public boolean isGenerated()
isGenerated
in interface Attribute<T,V>
public boolean isIndexed()
public boolean isKey()
public boolean isLazy()
public boolean isNullable()
isNullable
in interface Attribute<T,V>
public boolean isUnique()
public boolean isVersion()
public boolean equals(Object obj)
equals
in class FieldExpression<V>
public int hashCode()
hashCode
in class FieldExpression<V>
public void setDeclaringType(Type<T> type)