|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar31.EjbRelationTypeImpl<T>
public class EjbRelationTypeImpl<T>
This class implements 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.
Constructor Summary | |
---|---|
EjbRelationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
EjbRelationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EjbRelationTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public EjbRelationTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public EjbRelationType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface EjbRelationType<T>
EjbRelationType
public EjbRelationType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface EjbRelationType<T>
list
- of description
objects
EjbRelationType
public EjbRelationType<T> removeAllDescription()
description
element
removeAllDescription
in interface EjbRelationType<T>
EjbRelationType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface EjbRelationType<T>
description
public EjbRelationType<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.
setEjbRelationName
in interface EjbRelationType<T>
EjbRelationType
public EjbRelationType<T> removeEjbRelationName()
ejb-relation-name
element
removeEjbRelationName
in interface EjbRelationType<T>
EjbRelationType
public java.lang.String getEjbRelationName()
ejb-relation-name
element
getEjbRelationName
in interface EjbRelationType<T>
ejb-relation-name
public EjbRelationType<T> removeEjbRelationshipRole()
ejb-relationship-role
element
removeEjbRelationshipRole
in interface EjbRelationType<T>
EjbRelationType
public EjbRelationshipRoleType<EjbRelationType<T>> ejbRelationshipRole()
ejb-relationship-role
element will be created and returned.
Otherwise, the existing ejb-relationship-role
element will be returned.
ejbRelationshipRole
in interface EjbRelationType<T>
ejb-relationship-role
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |