|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeContainer
Basic contract for any container holding attributes. This allows polymorphic handling of both components and entities in terms of the attributes they hold.
Method Summary | |
---|---|
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)
|
Methods inherited from interface org.hibernate.metamodel.domain.Type |
---|
getClassName, getClassReference, getClassReferenceUnresolved, getName, isAssociation, isComponent |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |