org.jboss.shrinkwrap.descriptor.api.javaee5
Interface RunAsType<T>

All Superinterfaces:
Child<T>

public interface RunAsType<T>
extends Child<T>

This interface defines the contract for the run-asType xsd type

Since:
Generation date :2013-01-26T19:26:58.657+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 RunAsType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 String getRoleName()
          Returns the role-name element
 RunAsType<T> id(String id)
          Sets the id attribute
 RunAsType<T> removeAllDescription()
          Removes the description element
 RunAsType<T> removeId()
          Removes the id attribute
 RunAsType<T> removeRoleName()
          Removes the role-name element
 RunAsType<T> roleName(String roleName)
          Sets the role-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

RunAsType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of RunAsType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

RunAsType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of RunAsType

roleName

RunAsType<T> roleName(String roleName)
Sets the role-name element

Parameters:
roleName - the value for the element role-name
Returns:
the current instance of RunAsType

getRoleName

String getRoleName()
Returns the role-name element

Returns:
the node defined for the element role-name

removeRoleName

RunAsType<T> removeRoleName()
Removes the role-name element

Returns:
the current instance of RunAsType

id

RunAsType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of RunAsType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

RunAsType<T> removeId()
Removes the id attribute

Returns:
the current instance of RunAsType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.