Package com.flower.docs.domain.acl
Class AccessControlEntry
- java.lang.Object
-
- com.flower.docs.domain.acl.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> <complexType name="AccessControlEntry"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="principal" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> <element name="permission" type="{http://flower.com/docs/domain/acl}Permission" maxOccurs="unbounded"/> <element name="grant" type="{http://flower.com/docs/domain/acl}GrantType"/> </sequence> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected GrantType
grant
Grant Type : Allow or Denyprotected java.util.List<Permission>
permission
Permissionprotected java.util.List<java.lang.String>
principal
User Principal
-
Constructor Summary
Constructors Constructor Description AccessControlEntry()
Default no-arg constructor abcAccessControlEntry(java.util.List<java.lang.String> principal, java.util.List<Permission> permission, GrantType grant)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
GrantType
getGrant()
Gets the value of the grant property.java.util.List<Permission>
getPermission()
Gets the value of the permission property.java.util.List<java.lang.String>
getPrincipal()
Gets the value of the principal property.int
hashCode()
void
setGrant(GrantType value)
Sets the value of the grant property.void
setPermission(java.util.List<Permission> value)
void
setPrincipal(java.util.List<java.lang.String> value)
java.lang.String
toString()
-
-
-
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 listString
<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 listPermission
<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 isGrantType
- See Also:
getGrant()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
setPrincipal
public void setPrincipal(java.util.List<java.lang.String> value)
- See Also:
getPrincipal()
-
setPermission
public void setPermission(java.util.List<Permission> value)
- See Also:
getPermission()
-
-