public interface SingularAttributeBinding extends AttributeBinding
Modifier and Type | Method and Description |
---|---|
PropertyGeneration |
getGeneration()
Obtain the generation strategy for this attribute/value.
|
Iterable<SimpleValueBinding> |
getSimpleValueBindings() |
int |
getSimpleValueSpan()
Returns the number of
SimpleValueBinding objects that will be returned by
getSimpleValueBindings() |
Value |
getValue()
Obtain the value bound here.
|
boolean |
hasDerivedValue()
Convenience method to determine if any
simple value bindings are derived values
(formula mappings). |
boolean |
isNullable()
Convenience method to determine if all
simple value bindings allow nulls. |
void |
setSimpleValueBindings(Iterable<SimpleValueBinding> simpleValueBindings) |
addEntityReferencingAttributeBinding, getAttribute, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getMetaAttributeContext, getPropertyAccessorName, isAlternateUniqueKey, isAssociation, isBasicPropertyAccessor, isIncludedInOptimisticLocking, isLazy, setIncludedInOptimisticLocking, setPropertyAccessorName, validate
Value getValue()
Tuple
indicating multiple database values are bound, in which case access to the individual values can be achieved by
either casting this return to Tuple
and using its
Tuple.values()
method or using the getSimpleValueBindings()
method here and accessing each bindings simple value
int getSimpleValueSpan()
SimpleValueBinding
objects that will be returned by
getSimpleValueBindings()
simple value bindings
getSimpleValueBindings()
Iterable<SimpleValueBinding> getSimpleValueBindings()
void setSimpleValueBindings(Iterable<SimpleValueBinding> simpleValueBindings)
boolean hasDerivedValue()
simple value bindings
are derived values
(formula mappings).true
indicates that the binding contains a derived value; false
indicates it does not.boolean isNullable()
simple value bindings
allow nulls.true
indicates that all values allow null
; false
indicates one or more do notPropertyGeneration getGeneration()
Copyright © 2018 JBoss by Red Hat. All rights reserved.