Class DocumentWithPermissions


  • public class DocumentWithPermissions
    extends java.lang.Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://flower.com/docs/domain/document}Document"/>
             <element name="permissions" type="{http://flower.com/docs/domain/acl}Permission" maxOccurs="unbounded" minOccurs="0"/>
             <element name="obfuscationHashCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.flower.docs.domain.document.Document document  
      protected int obfuscationHashCode  
      protected java.util.List<com.flower.docs.domain.acl.Permission> permissions  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.flower.docs.domain.document.Document getDocument()
      Gets the value of the document property.
      int getObfuscationHashCode()
      Gets the value of the obfuscationHashCode property.
      java.util.List<com.flower.docs.domain.acl.Permission> getPermissions()
      Gets the value of the permissions property.
      void setDocument​(com.flower.docs.domain.document.Document value)
      Sets the value of the document property.
      void setObfuscationHashCode​(int value)
      Sets the value of the obfuscationHashCode property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • document

        protected com.flower.docs.domain.document.Document document
      • permissions

        protected java.util.List<com.flower.docs.domain.acl.Permission> permissions
      • obfuscationHashCode

        protected int obfuscationHashCode
    • Constructor Detail

      • DocumentWithPermissions

        public DocumentWithPermissions()
    • Method Detail

      • getDocument

        public com.flower.docs.domain.document.Document getDocument()
        Gets the value of the document property.
        Returns:
        possible object is Document
      • setDocument

        public void setDocument​(com.flower.docs.domain.document.Document value)
        Sets the value of the document property.
        Parameters:
        value - allowed object is Document
      • getPermissions

        public java.util.List<com.flower.docs.domain.acl.Permission> getPermissions()
        Gets the value of the permissions 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 permissions property.

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

            getPermissions().add(newItem);
         

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

      • getObfuscationHashCode

        public int getObfuscationHashCode()
        Gets the value of the obfuscationHashCode property.
      • setObfuscationHashCode

        public void setObfuscationHashCode​(int value)
        Sets the value of the obfuscationHashCode property.