org.jboss.shrinkwrap.descriptor.api.ejbjar32.RelationshipsType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.ejbjar32;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.EjbRelationType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeRelationshipsCommonType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.EjbRelationType;/**
* This interface defines the contract for the relationshipsType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface RelationshipsType extends Child,
JavaeeRelationshipsCommonType,
EjbRelationType>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: RelationshipsType ElementName: xsd:string ElementType : description
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing description
elements,
* a new description
element
* @param values list of description
objects
* @return the current instance of RelationshipsType
*/
public RelationshipsType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of RelationshipsType
*/
public RelationshipsType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: RelationshipsType ElementName: javaee:ejb-relationType ElementType : ejb-relation
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new ejb-relation
element will be created and returned.
* Otherwise, the first existing ejb-relation
element will be returned.
* @return the instance defined for the element ejb-relation
*/
public EjbRelationType> getOrCreateEjbRelation();
/**
* Creates a new ejb-relation
element
* @return the new created instance of EjbRelationType>
*/
public EjbRelationType> createEjbRelation();
/**
* Returns all ejb-relation
elements
* @return list of ejb-relation
*/
public List>> getAllEjbRelation();
/**
* Removes all ejb-relation
elements
* @return the current instance of EjbRelationType>
*/
public RelationshipsType removeAllEjbRelation();
// --------------------------------------------------------------------------------------------------------||
// ClassName: RelationshipsType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of RelationshipsType
*/
public RelationshipsType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of RelationshipsType
*/
public RelationshipsType removeId();
}