org.jboss.shrinkwrap.descriptor.api.javaee7.ResourceEnvRefType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.javaee7;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee7.InjectionTargetType;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
/**
* This interface defines the contract for the resource-env-refType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface ResourceEnvRefType extends Child,
JavaeeResourceEnvRefCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ResourceEnvRefType ElementName: xsd:string ElementType : lookup-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the lookup-name
element
* @param lookupName the value for the element lookup-name
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType lookupName(String lookupName);
/**
* Returns the lookup-name
element
* @return the node defined for the element lookup-name
*/
public String getLookupName();
/**
* Removes the lookup-name
element
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType removeLookupName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ResourceEnvRefType ElementName: xsd:string ElementType : mapped-name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the mapped-name
element
* @param mappedName the value for the element mapped-name
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType mappedName(String mappedName);
/**
* Returns the mapped-name
element
* @return the node defined for the element mapped-name
*/
public String getMappedName();
/**
* Removes the mapped-name
element
* @return the current instance of ResourceEnvRefType
*/
public ResourceEnvRefType removeMappedName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ResourceEnvRefType ElementName: javaee:injection-targetType ElementType : injection-target
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new injection-target
element will be created and returned.
* Otherwise, the first existing injection-target
element will be returned.
* @return the instance defined for the element injection-target
*/
public InjectionTargetType> getOrCreateInjectionTarget();
/**
* Creates a new injection-target
element
* @return the new created instance of InjectionTargetType>
*/
public InjectionTargetType> createInjectionTarget();
/**
* Returns all injection-target
elements
* @return list of injection-target
*/
public List>> getAllInjectionTarget();
/**
* Removes all injection-target
elements
* @return the current instance of InjectionTargetType>
*/
public ResourceEnvRefType removeAllInjectionTarget();
// --------------------------------------------------------------------------------------------------------||
// 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();
}