|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingularAttributeBinding
Specialized binding contract for singular (non-collection) attributes
Method Summary | |
---|---|
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)
|
Methods inherited from interface org.hibernate.metamodel.binding.AttributeBinding |
---|
addEntityReferencingAttributeBinding, getAttribute, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getMetaAttributeContext, getPropertyAccessorName, isAlternateUniqueKey, isAssociation, isBasicPropertyAccessor, isIncludedInOptimisticLocking, isLazy, setIncludedInOptimisticLocking, setPropertyAccessorName, validate |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |