org.jboss.security.config.jaxb
Class TrustModule

java.lang.Object
  extended by org.jboss.security.config.jaxb.TrustModule

public class TrustModule
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:jboss:security-config:5.0}module-option" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="flag" use="required" type="{urn:jboss:security-config:5.0}module-option-flag" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String code
           
protected  ModuleOptionFlag flag
           
protected  List<ModuleOption> moduleOption
           
 
Constructor Summary
TrustModule()
           
 
Method Summary
 String getCode()
          Gets the value of the code property.
 ModuleOptionFlag getFlag()
          Gets the value of the flag property.
 List<ModuleOption> getModuleOption()
          Gets the value of the moduleOption property.
 void setCode(String value)
          Sets the value of the code property.
 void setFlag(ModuleOptionFlag value)
          Sets the value of the flag property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moduleOption

protected List<ModuleOption> moduleOption

code

protected String code

flag

protected ModuleOptionFlag flag
Constructor Detail

TrustModule

public TrustModule()
Method Detail

getModuleOption

public List<ModuleOption> getModuleOption()
Gets the value of the moduleOption property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the moduleOption property.

For example, to add a new item, do as follows:

    getModuleOption().add(newItem);
 

Objects of the following type(s) are allowed in the list ModuleOption


getCode

public String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

getFlag

public ModuleOptionFlag getFlag()
Gets the value of the flag property.

Returns:
possible object is ModuleOptionFlag

setFlag

public void setFlag(ModuleOptionFlag value)
Sets the value of the flag property.

Parameters:
value - allowed object is ModuleOptionFlag


Copyright © 2009 JBoss Inc.. All Rights Reserved.