org.jboss.shrinkwrap.descriptor.api.portletapp20.EventDefinitionType 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.PortletEventDefinitionCommonType;
/**
* This interface defines the contract for the event-definitionType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface EventDefinitionType extends Child,
PortletEventDefinitionCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: EventDefinitionType ElementName: 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 EventDefinitionType
*/
public EventDefinitionType description(String ... values);
/**
* Returns all description
elements
* @return list of description
*/
public List getAllDescription();
/**
* Removes the description
element
* @return the current instance of EventDefinitionType
*/
public EventDefinitionType removeAllDescription();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EventDefinitionType ElementName: xsd:QName ElementType : qname
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the qname
element
* @param qname the value for the element qname
* @return the current instance of EventDefinitionType
*/
public EventDefinitionType qname(String qname);
/**
* Returns the qname
element
* @return the node defined for the element qname
*/
public String getQname();
/**
* Removes the qname
element
* @return the current instance of EventDefinitionType
*/
public EventDefinitionType removeQname();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EventDefinitionType ElementName: xsd:NCName 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 EventDefinitionType
*/
public EventDefinitionType 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 EventDefinitionType
*/
public EventDefinitionType removeName();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EventDefinitionType ElementName: xsd:QName ElementType : alias
// MaxOccurs: -unbounded isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Creates for all String objects representing alias
elements,
* a new alias
element
* @param values list of alias
objects
* @return the current instance of EventDefinitionType
*/
public EventDefinitionType alias(String ... values);
/**
* Returns all alias
elements
* @return list of alias
*/
public List getAllAlias();
/**
* Removes the alias
element
* @return the current instance of EventDefinitionType
*/
public EventDefinitionType removeAllAlias();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EventDefinitionType ElementName: string ElementType : value-type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the value-type
element
* @param valueType the value for the element value-type
* @return the current instance of EventDefinitionType
*/
public EventDefinitionType valueType(String valueType);
/**
* Returns the value-type
element
* @return the node defined for the element value-type
*/
public String getValueType();
/**
* Removes the value-type
element
* @return the current instance of EventDefinitionType
*/
public EventDefinitionType removeValueType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: EventDefinitionType ElementName: string 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 EventDefinitionType
*/
public EventDefinitionType 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 EventDefinitionType
*/
public EventDefinitionType removeId();
}