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

org.jboss.shrinkwrap.descriptor.api.ejbjar31.MethodPermissionType Maven / Gradle / Ivy

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

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar31.MethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeMethodPermissionCommonType;

import org.jboss.shrinkwrap.descriptor.api.ejbjar31.MethodType;/**
 * This interface defines the contract for the  method-permissionType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 * @author George Gastaldi
 */
public interface MethodPermissionType extends Child, 
    JavaeeMethodPermissionCommonType,
    MethodType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MethodPermissionType ElementName: xsd: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 MethodPermissionType 
    */
   public MethodPermissionType description(String ... values);

   /**
    * Returns all description elements
    * @return list of description 
    */
   public List getAllDescription();

   /**
    * Removes the description element 
    * @return the current instance of MethodPermissionType 
    */
   public MethodPermissionType removeAllDescription();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MethodPermissionType ElementName: xsd:token ElementType : role-name
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing role-name elements, 
    * a new role-name element 
    * @param values list of role-name objects 
    * @return the current instance of MethodPermissionType 
    */
   public MethodPermissionType roleName(String ... values);

   /**
    * Returns all role-name elements
    * @return list of role-name 
    */
   public List getAllRoleName();

   /**
    * Removes the role-name element 
    * @return the current instance of MethodPermissionType 
    */
   public MethodPermissionType removeAllRoleName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MethodPermissionType ElementName: javaee:emptyType ElementType : unchecked
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the unchecked element 
    * @return the current instance of MethodPermissionType 
    */
   public MethodPermissionType unchecked();

   /**
    * Removes the unchecked element 
    * @return the current instance of MethodPermissionType 
    */
   public Boolean isUnchecked();

   /**
    * Removes the unchecked element 
    * @return the current instance of MethodPermissionType 
    */
   public MethodPermissionType removeUnchecked();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MethodPermissionType ElementName: javaee:methodType ElementType : method
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new method element will be created and returned.
    * Otherwise, the first existing method element will be returned.
    * @return the instance defined for the element method 
    */
   public MethodType> getOrCreateMethod();

   /**
    * Creates a new method element 
    * @return the new created instance of MethodType> 
    */
   public MethodType> createMethod();

   /**
    * Returns all method elements
    * @return list of method 
    */
   public List>> getAllMethod();

   /**
    * Removes all method elements 
    * @return the current instance of MethodType> 
    */
   public MethodPermissionType removeAllMethod();

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy