Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.security_1 » [javadoc | source]
org.apache.geronimo.xml.ns.security_1
public class: RoleType [javadoc | source]
java.lang.Object
   org.apache.geronimo.xml.ns.security_1.RoleType

Java class for roleType complex type.

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

<complexType name="roleType">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="description" type="{http://geronimo.apache.org/xml/ns/security-1.1}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="realm-principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}realmPrincipalType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="login-domain-principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}loginDomainPrincipalType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}principalType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="distinguished-name" type="{http://geronimo.apache.org/xml/ns/security-1.1}distinguishedNameType" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="role-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
    </restriction>
  </complexContent>
</complexType>
Field Summary
protected  List<DescriptionType> description     
protected  List<RealmPrincipalType> realmPrincipal     
protected  List<LoginDomainPrincipalType> loginDomainPrincipal     
protected  List<PrincipalType> principal     
protected  List<DistinguishedNameType> distinguishedName     
protected  String roleName     
Method from org.apache.geronimo.xml.ns.security_1.RoleType Summary:
getDescription,   getDistinguishedName,   getLoginDomainPrincipal,   getPrincipal,   getRealmPrincipal,   getRoleName,   setRoleName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.xml.ns.security_1.RoleType Detail:
 public List<DescriptionType> getDescription() 
    Gets the value of the description 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 description property.

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

       getDescription().add(newItem);
    

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

 public List<DistinguishedNameType> getDistinguishedName() 
    Gets the value of the distinguishedName 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 distinguishedName property.

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

       getDistinguishedName().add(newItem);
    

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

 public List<LoginDomainPrincipalType> getLoginDomainPrincipal() 
    Gets the value of the loginDomainPrincipal 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 loginDomainPrincipal property.

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

       getLoginDomainPrincipal().add(newItem);
    

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

 public List<PrincipalType> getPrincipal() 
    Gets the value of the principal 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 principal property.

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

       getPrincipal().add(newItem);
    

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

 public List<RealmPrincipalType> getRealmPrincipal() 
    Gets the value of the realmPrincipal 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 realmPrincipal property.

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

       getRealmPrincipal().add(newItem);
    

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

 public String getRoleName() 
    Gets the value of the roleName property.
 public  void setRoleName(String value) 
    Sets the value of the roleName property.