public interface AttributeContainer extends Type
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
attributes()
Retrieve the attributes contained in this container.
|
PluralAttribute |
createBag(String name) |
SingularAttribute |
createComponentAttribute(String name,
Component component) |
IndexedPluralAttribute |
createList(String name) |
IndexedPluralAttribute |
createMap(String name) |
PluralAttribute |
createSet(String name) |
SingularAttribute |
createSingularAttribute(String name) |
SingularAttribute |
createVirtualSingularAttribute(String name) |
String |
getRoleBaseName()
Obtain the name of this container in terms of creating attribute role names.
|
Attribute |
locateAttribute(String name)
Retrieve an attribute by name.
|
PluralAttribute |
locateBag(String name) |
SingularAttribute |
locateComponentAttribute(String name) |
IndexedPluralAttribute |
locateList(String name) |
IndexedPluralAttribute |
locateMap(String name) |
PluralAttribute |
locatePluralAttribute(String name) |
PluralAttribute |
locateSet(String name) |
SingularAttribute |
locateSingularAttribute(String name) |
getClassName, getClassReference, getClassReferenceUnresolved, getName, isAssociation, isComponent
String getRoleBaseName()
Attribute locateAttribute(String name)
name
- The name of the attribute to retrieve.Set<Attribute> attributes()
SingularAttribute locateSingularAttribute(String name)
SingularAttribute createSingularAttribute(String name)
SingularAttribute createVirtualSingularAttribute(String name)
SingularAttribute locateComponentAttribute(String name)
SingularAttribute createComponentAttribute(String name, Component component)
PluralAttribute locatePluralAttribute(String name)
PluralAttribute locateBag(String name)
PluralAttribute createBag(String name)
PluralAttribute locateSet(String name)
PluralAttribute createSet(String name)
IndexedPluralAttribute locateList(String name)
IndexedPluralAttribute createList(String name)
IndexedPluralAttribute locateMap(String name)
IndexedPluralAttribute createMap(String name)
Copyright © 2018 JBoss by Red Hat. All rights reserved.