ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface RelationshipsType<T>

All Superinterfaces:
Child<T>

public interface RelationshipsType<T>
extends Child<T>

This interface defines the contract for the relationshipsType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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
 EjbRelationType<RelationshipsType<T>> getOrCreateEjbRelation()
          If not already created, a new ejb-relation element will be created and returned.
 RelationshipsType<T> removeAllDescription()
          Removes the description element
 RelationshipsType<T> removeAllEjbRelation()
          Removes all ejb-relation elements
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

RelationshipsType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of RelationshipsType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

RelationshipsType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of RelationshipsType

getOrCreateEjbRelation

EjbRelationType<RelationshipsType<T>> getOrCreateEjbRelation()
If not already created, a new ejb-relation element will be created and returned. Otherwise, the first existing ejb-relation element will be returned.

Returns:
the instance defined for the element ejb-relation

createEjbRelation

EjbRelationType<RelationshipsType<T>> createEjbRelation()
Creates a new ejb-relation element

Returns:
the new created instance of EjbRelationType>

getAllEjbRelation

List<EjbRelationType<RelationshipsType<T>>> getAllEjbRelation()
Returns all ejb-relation elements

Returns:
list of ejb-relation

removeAllEjbRelation

RelationshipsType<T> removeAllEjbRelation()
Removes all ejb-relation elements

Returns:
the current instance of EjbRelationType>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.