Class SecurityRoleAssignment


  • public class SecurityRoleAssignment
    extends Object

    Java class for security-role-assignment complex type.

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

     <complexType name="security-role-assignment">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="role-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <choice>
               <element name="principal-name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" maxOccurs="unbounded"/>
               <element name="externally-defined" type="{http://www.bea.com/ns/weblogic/90}empty"/>
             </choice>
           </sequence>
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • roleName

        protected String roleName
      • principalName

        protected List<jakarta.xml.bind.JAXBElement<String>> principalName
      • externallyDefined

        protected Empty externallyDefined
    • Constructor Detail

      • SecurityRoleAssignment

        public SecurityRoleAssignment()
    • Method Detail

      • getRoleName

        public String getRoleName()
        Gets the value of the roleName property.
        Returns:
        possible object is String
      • setRoleName

        public void setRoleName​(String value)
        Sets the value of the roleName property.
        Parameters:
        value - allowed object is String
      • getPrincipalName

        public List<jakarta.xml.bind.JAXBElement<String>> getPrincipalName()
        Gets the value of the principalName 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 principalName property. For example, to add a new item, do as follows:
            getPrincipalName().add(newItem);
         
        Objects of the following type(s) are allowed in the list JAXBElement<String>
      • getExternallyDefined

        public Empty getExternallyDefined()
        Gets the value of the externallyDefined property.
        Returns:
        possible object is Empty
      • setExternallyDefined

        public void setExternallyDefined​(Empty value)
        Sets the value of the externallyDefined property.
        Parameters:
        value - allowed object is Empty
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String