ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar30
Interface SecurityIdentityType<T>

All Superinterfaces:
Child<T>

public interface SecurityIdentityType<T>
extends Child<T>

This interface defines the contract for the security-identityType xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 SecurityIdentityType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 RunAsType<SecurityIdentityType<T>> getOrCreateRunAs()
          If not already created, a new run-as element with the given value will be created.
 Boolean isUseCallerIdentity()
          Removes the use-caller-identity element
 SecurityIdentityType<T> removeAllDescription()
          Removes the description element
 SecurityIdentityType<T> removeRunAs()
          Removes the run-as element
 SecurityIdentityType<T> removeUseCallerIdentity()
          Removes the use-caller-identity element
 SecurityIdentityType<T> useCallerIdentity()
          Sets the use-caller-identity element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

SecurityIdentityType<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 SecurityIdentityType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

SecurityIdentityType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of SecurityIdentityType

useCallerIdentity

SecurityIdentityType<T> useCallerIdentity()
Sets the use-caller-identity element

Returns:
the current instance of SecurityIdentityType

isUseCallerIdentity

Boolean isUseCallerIdentity()
Removes the use-caller-identity element

Returns:
the current instance of SecurityIdentityType

removeUseCallerIdentity

SecurityIdentityType<T> removeUseCallerIdentity()
Removes the use-caller-identity element

Returns:
the current instance of SecurityIdentityType

getOrCreateRunAs

RunAsType<SecurityIdentityType<T>> getOrCreateRunAs()
If not already created, a new run-as element with the given value will be created. Otherwise, the existing run-as element will be returned.

Returns:
a new or existing instance of RunAsType>

removeRunAs

SecurityIdentityType<T> removeRunAs()
Removes the run-as element

Returns:
the current instance of SecurityIdentityType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.