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

org.jboss.shrinkwrap.descriptor.api.javaee7.RunAsType Maven / Gradle / Ivy

The newest version!
package org.jboss.shrinkwrap.descriptor.api.javaee7; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
/**
 * This interface defines the contract for the  run-asType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface RunAsType extends Child, 
    JavaeeRunAsCommonType> { 

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

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

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

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

   /**
    * Sets the role-name element
    * @param roleName the value for the element role-name 
    * @return the current instance of RunAsType 
    */
   public RunAsType roleName(String roleName);

   /**
    * Returns the role-name element
    * @return the node defined for the element role-name 
    */
   public String getRoleName();

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy