public interface RelationshipsType<T> extends Child<T>, JavaeeRelationshipsCommonType<T,RelationshipsType<T>,EjbRelationType<RelationshipsType<T>>>
relationshipsType
xsd typeModifier and Type | Method and Description |
---|---|
EjbRelationType<RelationshipsType<T>> |
createEjbRelation()
Creates a new
ejb-relation element |
RelationshipsType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
List<EjbRelationType<RelationshipsType<T>>> |
getAllEjbRelation()
Returns all
ejb-relation elements |
String |
getId()
Returns the
id attribute |
EjbRelationType<RelationshipsType<T>> |
getOrCreateEjbRelation()
If not already created, a new
ejb-relation element will be created and returned. |
RelationshipsType<T> |
id(String id)
Sets the
id attribute |
RelationshipsType<T> |
removeAllDescription()
Removes the
description element |
RelationshipsType<T> |
removeAllEjbRelation()
Removes all
ejb-relation elements |
RelationshipsType<T> |
removeId()
Removes the
id attribute |
RelationshipsType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsRelationshipsType
List<String> getAllDescription()
description
elementsdescription
RelationshipsType<T> removeAllDescription()
description
elementRelationshipsType
EjbRelationType<RelationshipsType<T>> getOrCreateEjbRelation()
ejb-relation
element will be created and returned.
Otherwise, the first existing ejb-relation
element will be returned.ejb-relation
EjbRelationType<RelationshipsType<T>> createEjbRelation()
ejb-relation
elementEjbRelationType>
List<EjbRelationType<RelationshipsType<T>>> getAllEjbRelation()
ejb-relation
elementsejb-relation
RelationshipsType<T> removeAllEjbRelation()
ejb-relation
elementsEjbRelationType>
RelationshipsType<T> id(String id)
id
attributeid
- the value for the attribute id
RelationshipsType
String getId()
id
attributeid
RelationshipsType<T> removeId()
id
attributeRelationshipsType
Copyright © 2023 JBoss by Red Hat. All rights reserved.