org.jboss.shrinkwrap.descriptor.api.j2ee14.ResourceEnvRefType 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.j2ee14;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.j2ee.*;
/**
* This interface defines the contract for the resource-env-refType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ResourceEnvRefType extends Child,
JeeResourceEnvRefCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ResourceEnvRefType 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 ResourceEnvRefType
*/
public ResourceEnvRefType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ResourceEnvRefType ElementName: xsd:token ElementType : resource-env-ref-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the resource-env-ref-name
element
* @param resourceEnvRefName the value for the element resource-env-ref-name
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType resourceEnvRefName(String resourceEnvRefName);
/**
* Returns the resource-env-ref-name
element
* @return the node defined for the element resource-env-ref-name
*/
public String getResourceEnvRefName();
/**
* Removes the resource-env-ref-name
element
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType removeResourceEnvRefName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ResourceEnvRefType ElementName: xsd:token ElementType : resource-env-ref-type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the resource-env-ref-type
element
* @param resourceEnvRefType the value for the element resource-env-ref-type
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType resourceEnvRefType(String resourceEnvRefType);
/**
* Returns the resource-env-ref-type
element
* @return the node defined for the element resource-env-ref-type
*/
public String getResourceEnvRefType();
/**
* Removes the resource-env-ref-type
element
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType removeResourceEnvRefType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ResourceEnvRefType 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 ResourceEnvRefType
*/
public ResourceEnvRefType 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 ResourceEnvRefType
*/
public ResourceEnvRefType removeId();
}