Class AccessControlType

java.lang.Object
com.vidispine.generated.AccessControlType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

public class AccessControlType extends Object implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

Java class for AccessControlType complex type

.

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


 <complexType name="AccessControlType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="loc" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="grantor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="recursive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="appliesTo" type="{http://xml.vidispine.com/schema/vidispine}AppliesToType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="priority" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="operation" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice>
                   <element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}AccessControlMetadataType"/>
                   <element name="shape" type="{http://xml.vidispine.com/schema/vidispine}AccessControlShapeType"/>
                   <element name="uri" type="{http://xml.vidispine.com/schema/vidispine}AccessControlUriType"/>
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <choice>
           <element name="group" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="groupType" type="{http://xml.vidispine.com/schema/vidispine}GroupType"/>
           <element name="user" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="userType" type="{http://xml.vidispine.com/schema/vidispine}UserType"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • AccessControlType

      public AccessControlType()
  • Method Details

    • getLoc

      public String getLoc()
      Gets the value of the loc property.
      Returns:
      possible object is String
    • setLoc

      public void setLoc(String value)
      Sets the value of the loc property.
      Parameters:
      value - allowed object is String
    • isSetLoc

      public boolean isSetLoc()
    • getGrantor

      public String getGrantor()
      Gets the value of the grantor property.
      Returns:
      possible object is String
    • setGrantor

      public void setGrantor(String value)
      Sets the value of the grantor property.
      Parameters:
      value - allowed object is String
    • isSetGrantor

      public boolean isSetGrantor()
    • isRecursive

      public Boolean isRecursive()
      Gets the value of the recursive property.
      Returns:
      possible object is Boolean
    • setRecursive

      public void setRecursive(Boolean value)
      Sets the value of the recursive property.
      Parameters:
      value - allowed object is Boolean
    • isSetRecursive

      public boolean isSetRecursive()
    • getAppliesTo

      public List<AppliesToType> getAppliesTo()
      Gets the value of the appliesTo 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 appliesTo property.

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

       getAppliesTo().add(newItem);
       

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

      Returns:
      The value of the appliesTo property.
    • isSetAppliesTo

      public boolean isSetAppliesTo()
    • unsetAppliesTo

      public void unsetAppliesTo()
    • getPermission

      public String getPermission()
      Gets the value of the permission property.
      Returns:
      possible object is String
    • setPermission

      public void setPermission(String value)
      Sets the value of the permission property.
      Parameters:
      value - allowed object is String
    • isSetPermission

      public boolean isSetPermission()
    • getPriority

      public Integer getPriority()
      Gets the value of the priority property.
      Returns:
      possible object is Integer
    • setPriority

      public void setPriority(Integer value)
      Sets the value of the priority property.
      Parameters:
      value - allowed object is Integer
    • isSetPriority

      public boolean isSetPriority()
    • getOperation

      public AccessControlType.Operation getOperation()
      Gets the value of the operation property.
      Returns:
      possible object is AccessControlType.Operation
    • setOperation

      public void setOperation(AccessControlType.Operation value)
      Sets the value of the operation property.
      Parameters:
      value - allowed object is AccessControlType.Operation
    • isSetOperation

      public boolean isSetOperation()
    • getGroup

      public String getGroup()
      Gets the value of the group property.
      Returns:
      possible object is String
    • setGroup

      public void setGroup(String value)
      Sets the value of the group property.
      Parameters:
      value - allowed object is String
    • isSetGroup

      public boolean isSetGroup()
    • getGroupType

      public GroupType getGroupType()
      Gets the value of the groupType property.
      Returns:
      possible object is GroupType
    • setGroupType

      public void setGroupType(GroupType value)
      Sets the value of the groupType property.
      Parameters:
      value - allowed object is GroupType
    • isSetGroupType

      public boolean isSetGroupType()
    • getUser

      public String getUser()
      Gets the value of the user property.
      Returns:
      possible object is String
    • setUser

      public void setUser(String value)
      Sets the value of the user property.
      Parameters:
      value - allowed object is String
    • isSetUser

      public boolean isSetUser()
    • getUserType

      public UserType getUserType()
      Gets the value of the userType property.
      Returns:
      possible object is UserType
    • setUserType

      public void setUserType(UserType value)
      Sets the value of the userType property.
      Parameters:
      value - allowed object is UserType
    • isSetUserType

      public boolean isSetUserType()
    • 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
    • isSetId

      public boolean isSetId()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withLoc

      public AccessControlType withLoc(String value)
      Sets the value of the loc property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withGrantor

      public AccessControlType withGrantor(String value)
      Sets the value of the grantor property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withRecursive

      public AccessControlType withRecursive(Boolean value)
      Sets the value of the recursive property.
      Parameters:
      value - allowed object is Boolean
      Returns:
      The class instance
    • withAppliesTo

      public AccessControlType withAppliesTo(AppliesToType... values)
      Adds objects to the list of AppliesTo using add method
      Parameters:
      values - objects to add to the list AppliesTo
      Returns:
      The class instance
    • withAppliesTo

      public AccessControlType withAppliesTo(Collection<AppliesToType> values)
      Adds objects to the list of AppliesTo using addAll method
      Parameters:
      values - objects to add to the list AppliesTo
      Returns:
      The class instance
    • withPermission

      public AccessControlType withPermission(String value)
      Sets the value of the permission property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withPriority

      public AccessControlType withPriority(Integer value)
      Sets the value of the priority property.
      Parameters:
      value - allowed object is Integer
      Returns:
      The class instance
    • withOperation

      public AccessControlType withOperation(AccessControlType.Operation value)
      Sets the value of the operation property.
      Parameters:
      value - allowed object is AccessControlType.Operation
      Returns:
      The class instance
    • withGroup

      public AccessControlType withGroup(String value)
      Sets the value of the group property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withGroupType

      public AccessControlType withGroupType(GroupType value)
      Sets the value of the groupType property.
      Parameters:
      value - allowed object is GroupType
      Returns:
      The class instance
    • withUser

      public AccessControlType withUser(String value)
      Sets the value of the user property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withUserType

      public AccessControlType withUserType(UserType value)
      Sets the value of the userType property.
      Parameters:
      value - allowed object is UserType
      Returns:
      The class instance
    • withId

      public AccessControlType withId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • equals

      public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)
      Specified by:
      equals in interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public AccessControlType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString