public interface AttributeBindingContainer
EntityBinding
and ComponentAttributeBinding
in so far as they are both
containers for AttributeBinding
descriptorsModifier and Type | Method and Description |
---|---|
Iterable<AttributeBinding> |
attributeBindings()
Obtain all attribute bindings
|
AttributeContainer |
getAttributeContainer()
Obtain the underlying domain attribute container.
|
Class<?> |
getClassReference()
Obtain the
Class reference for this attribute container. |
MetaAttributeContext |
getMetaAttributeContext()
Obtain the meta-attribute context for this container.
|
String |
getPathBase()
Obtain the path base of this container.
|
AttributeBinding |
locateAttributeBinding(String name)
Locate a specific attribute binding, by its local name.
|
BagBinding |
makeBagAttributeBinding(PluralAttribute attribute,
CollectionElementNature nature)
Factory method for bag attribute bindings.
|
BasicAttributeBinding |
makeBasicAttributeBinding(SingularAttribute attribute)
Factory method for basic attribute bindings.
|
ComponentAttributeBinding |
makeComponentAttributeBinding(SingularAttribute attribute)
Factory method for component attribute bindings.
|
ManyToOneAttributeBinding |
makeManyToOneAttributeBinding(SingularAttribute attribute)
Factory method for many-to-one attribute bindings.
|
SetBinding |
makeSetAttributeBinding(PluralAttribute attribute,
CollectionElementNature nature)
Factory method for bag attribute bindings.
|
EntityBinding |
seekEntityBinding()
Seeks out the entity binding that is the root of this component path.
|
String getPathBase()
AttributeContainer getAttributeContainer()
Iterable<AttributeBinding> attributeBindings()
AttributeBinding locateAttributeBinding(String name)
name
- The name of the attribute, local to this container.BasicAttributeBinding makeBasicAttributeBinding(SingularAttribute attribute)
attribute
- The attribute for which to make a binding.ComponentAttributeBinding makeComponentAttributeBinding(SingularAttribute attribute)
attribute
- The attribute for which to make a binding.ManyToOneAttributeBinding makeManyToOneAttributeBinding(SingularAttribute attribute)
attribute
- The attribute for which to make a binding.BagBinding makeBagAttributeBinding(PluralAttribute attribute, CollectionElementNature nature)
attribute
- The attribute for which to make a binding.nature
- The nature of the collection elements.SetBinding makeSetAttributeBinding(PluralAttribute attribute, CollectionElementNature nature)
attribute
- The attribute for which to make a binding.nature
- The nature of the collection elements.EntityBinding seekEntityBinding()
Class<?> getClassReference()
Class
reference for this attribute container. Generally this is used to perform reflection
on the attributes.Class
referenceMetaAttributeContext getMetaAttributeContext()
Copyright © 2018 JBoss by Red Hat. All rights reserved.