All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.connector16.ActivationspecType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.connector16; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.connector16.RequiredConfigPropertyType;
import org.jboss.shrinkwrap.descriptor.api.connector16.ConfigPropertyType;
import org.jboss.shrinkwrap.descriptor.api.connector.*;
import org.jboss.shrinkwrap.descriptor.api.connector.JeeActivationspecCommonType;

import org.jboss.shrinkwrap.descriptor.api.connector16.RequiredConfigPropertyType;/**
 * This interface defines the contract for the  activationspecType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface ActivationspecType extends Child, 
    JeeActivationspecCommonType,
    RequiredConfigPropertyType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ActivationspecType ElementName: xsd:token ElementType : activationspec-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the activationspec-class element
    * @param activationspecClass the value for the element activationspec-class 
    * @return the current instance of ActivationspecType 
    */
   public ActivationspecType activationspecClass(String activationspecClass);

   /**
    * Returns the activationspec-class element
    * @return the node defined for the element activationspec-class 
    */
   public String getActivationspecClass();

   /**
    * Removes the activationspec-class element 
    * @return the current instance of ActivationspecType 
    */
   public ActivationspecType removeActivationspecClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ActivationspecType ElementName: javaee:required-config-propertyType ElementType : required-config-property
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new required-config-property element will be created and returned.
    * Otherwise, the first existing required-config-property element will be returned.
    * @return the instance defined for the element required-config-property 
    */
   public RequiredConfigPropertyType> getOrCreateRequiredConfigProperty();

   /**
    * Creates a new required-config-property element 
    * @return the new created instance of RequiredConfigPropertyType> 
    */
   public RequiredConfigPropertyType> createRequiredConfigProperty();

   /**
    * Returns all required-config-property elements
    * @return list of required-config-property 
    */
   public List>> getAllRequiredConfigProperty();

   /**
    * Removes all required-config-property elements 
    * @return the current instance of RequiredConfigPropertyType> 
    */
   public ActivationspecType removeAllRequiredConfigProperty();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ActivationspecType ElementName: javaee:config-propertyType ElementType : config-property
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new config-property element will be created and returned.
    * Otherwise, the first existing config-property element will be returned.
    * @return the instance defined for the element config-property 
    */
   public ConfigPropertyType> getOrCreateConfigProperty();

   /**
    * Creates a new config-property element 
    * @return the new created instance of ConfigPropertyType> 
    */
   public ConfigPropertyType> createConfigProperty();

   /**
    * Returns all config-property elements
    * @return list of config-property 
    */
   public List>> getAllConfigProperty();

   /**
    * Removes all config-property elements 
    * @return the current instance of ConfigPropertyType> 
    */
   public ActivationspecType removeAllConfigProperty();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: ActivationspecType 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 ActivationspecType 
    */
   public ActivationspecType 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 ActivationspecType 
    */
   public ActivationspecType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy