org.jboss.shrinkwrap.descriptor.api.validationMapping10.PayloadType Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.validationMapping10;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.*;
import org.jboss.shrinkwrap.descriptor.api.validationMapping.MapPayloadCommonType;
/**
* This interface defines the contract for the payloadType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface PayloadType extends Child,
MapPayloadCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: PayloadType ElementName: xsd: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 PayloadType
*/
public PayloadType value(String ... values);
/**
* Returns all value
elements
* @return list of value
*/
public List getAllValue();
/**
* Removes the value
element
* @return the current instance of PayloadType
*/
public PayloadType removeAllValue();
}