Class AccessControlEntry

  • All Implemented Interfaces:
    java.io.Serializable

    public class AccessControlEntry
    extends java.lang.Object
    implements java.io.Serializable
    An access control entry <p>Java class for AccessControlEntry complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="AccessControlEntry"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="principal" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt; &lt;element name="permission" type="{http://flower.com/docs/domain/acl}Permission" maxOccurs="unbounded"/&gt; &lt;element name="grant" type="{http://flower.com/docs/domain/acl}GrantType"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • principal

        protected java.util.List<java.lang.String> principal
        User Principal
      • permission

        protected java.util.List<Permission> permission
        Permission
      • grant

        protected GrantType grant
        Grant Type : Allow or Deny
    • Constructor Detail

      • AccessControlEntry

        public AccessControlEntry()
        Default no-arg constructor abc
      • AccessControlEntry

        public AccessControlEntry​(java.util.List<java.lang.String> principal,
                                  java.util.List<Permission> permission,
                                  GrantType grant)
        Fully-initialising value constructor
    • Method Detail

      • getPrincipal

        public java.util.List<java.lang.String> getPrincipal()
        Gets the value of the principal property. <p> 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 <CODE>set</CODE> method for the principal property. <p> For example, to add a new item, do as follows: <pre> getPrincipal().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String <p> User Principal
      • getPermission

        public java.util.List<Permission> getPermission()
        Gets the value of the permission property. <p> 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 <CODE>set</CODE> method for the permission property. <p> For example, to add a new item, do as follows: <pre> getPermission().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Permission <p> Permission
      • getGrant

        public GrantType getGrant()
        Gets the value of the grant property. <p> Grant Type : Allow or Deny
        Returns:
        possible object is GrantType
      • setGrant

        public void setGrant​(GrantType value)
        Sets the value of the grant property.
        Parameters:
        value - allowed object is GrantType
        See Also:
        getGrant()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • setPrincipal

        public void setPrincipal​(java.util.List<java.lang.String> value)
        See Also:
        getPrincipal()