Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.security » [javadoc | source]
org.apache.geronimo.jee.security
public class: RoleMappings [javadoc | source]
java.lang.Object
   org.apache.geronimo.jee.security.RoleMappings

All Implemented Interfaces:
    Serializable

Java class for role-mappingsType complex type.

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

<complexType name="role-mappingsType">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="role" type="{http://geronimo.apache.org/xml/ns/security-2.0}roleType" maxOccurs="unbounded"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>
Field Summary
protected  List<Role> role     
Method from org.apache.geronimo.jee.security.RoleMappings Summary:
getRole
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.jee.security.RoleMappings Detail:
 public List<Role> getRole() 
    Gets the value of the role 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 role property.

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

       getRole().add(newItem);
    

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