org.jboss.shrinkwrap.descriptor.api.portletapp20.ContainerRuntimeOptionType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.portletapp20;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.portletapp.*;
import org.jboss.shrinkwrap.descriptor.api.portletapp.PortletContainerRuntimeOptionCommonType;
/**
* This interface defines the contract for the container-runtime-optionType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface ContainerRuntimeOptionType extends Child,
PortletContainerRuntimeOptionCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: ContainerRuntimeOptionType ElementName: string ElementType : name
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the name
element
* @param name the value for the element name
* @return the current instance of ContainerRuntimeOptionType
*/
public ContainerRuntimeOptionType name(String name);
/**
* Returns the name
element
* @return the node defined for the element name
*/
public String getName();
/**
* Removes the name
element
* @return the current instance of ContainerRuntimeOptionType
*/
public ContainerRuntimeOptionType removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: ContainerRuntimeOptionType ElementName: string ElementType : value
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing value
elements,
* a new value
element
* @param values list of value
objects
* @return the current instance of ContainerRuntimeOptionType
*/
public ContainerRuntimeOptionType value(String ... values);
/**
* Returns all value
elements
* @return list of value
*/
public List getAllValue();
/**
* Removes the value
element
* @return the current instance of ContainerRuntimeOptionType
*/
public ContainerRuntimeOptionType removeAllValue();
}