|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EjbRelationType<T>
This interface defines the contract for the ejb-relationType xsd type
Original Documentation:
The ejb-relationType describes a relationship between two
entity beans with container-managed persistence. It is used
by ejb-relation elements. It contains a description; an
optional ejb-relation-name element; and exactly two
relationship role declarations, defined by the
ejb-relationship-role elements. The name of the
relationship, if specified, is unique within the ejb-jar
file.
| Method Summary | |
|---|---|
EjbRelationshipRoleType<EjbRelationType<T>> |
ejbRelationshipRole()
If not already created, a new ejb-relationship-role element will be created and returned. |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getEjbRelationName()
Returns the ejb-relation-name element |
EjbRelationType<T> |
removeAllDescription()
Removes the description element |
EjbRelationType<T> |
removeEjbRelationName()
Removes the ejb-relation-name element |
EjbRelationType<T> |
removeEjbRelationshipRole()
Removes the ejb-relationship-role element |
EjbRelationType<T> |
setDescription(java.lang.String description)
Creates a new description element |
EjbRelationType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
EjbRelationType<T> |
setEjbRelationName(java.lang.String ejbRelationName)
If not already created, a new ejb-relation-name element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
EjbRelationType<T> setDescription(java.lang.String description)
description element
EjbRelationTypeEjbRelationType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
list - of description objects
EjbRelationTypeEjbRelationType<T> removeAllDescription()
description element
EjbRelationTypejava.util.List<java.lang.String> getDescriptionList()
description elements
descriptionEjbRelationType<T> setEjbRelationName(java.lang.String ejbRelationName)
ejb-relation-name element with the given value will be created.
Otherwise, the existing ejb-relation-name element will be updated with the given value.
EjbRelationTypeEjbRelationType<T> removeEjbRelationName()
ejb-relation-name element
EjbRelationTypejava.lang.String getEjbRelationName()
ejb-relation-name element
ejb-relation-nameEjbRelationType<T> removeEjbRelationshipRole()
ejb-relationship-role element
EjbRelationTypeEjbRelationshipRoleType<EjbRelationType<T>> ejbRelationshipRole()
ejb-relationship-role element will be created and returned.
Otherwise, the existing ejb-relationship-role element will be returned.
ejb-relationship-role
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||