org.jboss.shrinkwrap.descriptor.api.portletapp20.PortletCollectionType 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.PortletPortletCollectionCommonType;
/**
* This interface defines the contract for the portlet-collectionType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface PortletCollectionType extends Child,
PortletPortletCollectionCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: PortletCollectionType ElementName: string ElementType : portlet-name
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing portlet-name
elements,
* a new portlet-name
element
* @param values list of portlet-name
objects
* @return the current instance of PortletCollectionType
*/
public PortletCollectionType portletName(String ... values);
/**
* Returns all portlet-name
elements
* @return list of portlet-name
*/
public List getAllPortletName();
/**
* Removes the portlet-name
element
* @return the current instance of PortletCollectionType
*/
public PortletCollectionType removeAllPortletName();
}