|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SecurityIdentityType
public class SecurityIdentityType
The security-identityType specifies whether the caller's security identity is to be used for the execution of the methods of the enterprise bean or whether a specific run-as identity is to be used. It contains an optional description and a specification of the security identity to be used.
Java class for security-identityType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="security-identityType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element name="use-caller-identity" type="{http://java.sun.com/xml/ns/javaee}emptyType"/>
<element name="run-as" type="{http://java.sun.com/xml/ns/javaee}run-asType"/>
</choice>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected DescriptionType[] |
description
|
protected String |
id
|
protected RunAsType |
runAs
|
protected EmptyType |
useCallerIdentity
|
| Constructor Summary | |
|---|---|
SecurityIdentityType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SecurityIdentityType instance. |
|
SecurityIdentityType(SecurityIdentityType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SecurityIdentityType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
SecurityIdentityType |
clone()
Creates and returns a copy of this object. |
protected void |
copyDescription(DescriptionType[] source)
Copies all values of property Description. |
DescriptionType[] |
getDescription()
|
DescriptionType |
getDescription(int idx)
|
int |
getDescriptionLength()
|
String |
getId()
Gets the value of the id property. |
RunAsType |
getRunAs()
Gets the value of the runAs property. |
EmptyType |
getUseCallerIdentity()
Gets the value of the useCallerIdentity property. |
void |
setDescription(DescriptionType[] values)
|
DescriptionType |
setDescription(int idx,
DescriptionType value)
|
void |
setId(String value)
Sets the value of the id property. |
void |
setRunAs(RunAsType value)
Sets the value of the runAs property. |
void |
setUseCallerIdentity(EmptyType value)
Sets the value of the useCallerIdentity property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DescriptionType[] description
protected EmptyType useCallerIdentity
protected RunAsType runAs
protected String id
| Constructor Detail |
|---|
public SecurityIdentityType()
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SecurityIdentityType instance.
public SecurityIdentityType(SecurityIdentityType o)
net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.javaee.SecurityIdentityType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public DescriptionType[] getDescription()
DescriptionTypepublic DescriptionType getDescription(int idx)
DescriptionTypepublic int getDescriptionLength()
public void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
public DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypepublic EmptyType getUseCallerIdentity()
EmptyTypepublic void setUseCallerIdentity(EmptyType value)
value - allowed object is
EmptyTypepublic RunAsType getRunAs()
RunAsTypepublic void setRunAs(RunAsType value)
value - allowed object is
RunAsTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringprotected void copyDescription(DescriptionType[] source)
Description.
source - The source to copy from.
NullPointerException - if source is null.public SecurityIdentityType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||