org.jboss.shrinkwrap.descriptor.api.ejbjar30.RelationshipRoleSourceType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.ejbjar30;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeRelationshipRoleSourceCommonType;
/**
* This interface defines the contract for the relationship-role-sourceType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface RelationshipRoleSourceType extends Child,
JavaeeRelationshipRoleSourceCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: RelationshipRoleSourceType 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 RelationshipRoleSourceType
*/
public RelationshipRoleSourceType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of RelationshipRoleSourceType
*/
public RelationshipRoleSourceType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: RelationshipRoleSourceType ElementName: javaee:xsdNMTOKENType ElementType : ejb-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the ejb-name
element
* @param ejbName the value for the element ejb-name
* @return the current instance of RelationshipRoleSourceType
*/
public RelationshipRoleSourceType ejbName(String ejbName);
/**
* Returns the ejb-name
element
* @return the node defined for the element ejb-name
*/
public String getEjbName();
/**
* Removes the ejb-name
element
* @return the current instance of RelationshipRoleSourceType
*/
public RelationshipRoleSourceType removeEjbName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: RelationshipRoleSourceType 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 RelationshipRoleSourceType
*/
public RelationshipRoleSourceType 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 RelationshipRoleSourceType
*/
public RelationshipRoleSourceType removeId();
}