Class QuotaRuleType

  • All Implemented Interfaces:
    Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class QuotaRuleType
    extends Object
    implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for QuotaRuleType complex type.

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

     <complexType name="QuotaRuleType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
             <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <choice minOccurs="0">
               <element name="user" type="{http://www.w3.org/2001/XMLSchema}string"/>
               <element name="group" type="{http://www.w3.org/2001/XMLSchema}string"/>
             </choice>
             <choice minOccurs="0">
               <element name="collection" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType"/>
               <element name="library" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType"/>
             </choice>
             <choice minOccurs="0">
               <element name="storage" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType"/>
               <element name="storageGroup" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType"/>
             </choice>
             <element name="tag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="resource" maxOccurs="unbounded">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="name" type="{http://xml.vidispine.com/schema/vidispine}QuotaResourceType"/>
                       <element name="limit" type="{http://www.w3.org/2001/XMLSchema}long"/>
                       <element name="usage" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="updateFrequency" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
             <element name="lastUpdate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
             <element name="externalId" type="{http://xml.vidispine.com/schema/vidispine}ExternalIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • QuotaRuleType

        public QuotaRuleType()
    • Method Detail

      • 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()
      • getDescription

        public String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • isSetDescription

        public boolean isSetDescription()
      • 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()
      • 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()
      • getCollection

        public String getCollection()
        Gets the value of the collection property.
        Returns:
        possible object is String
      • setCollection

        public void setCollection​(String value)
        Sets the value of the collection property.
        Parameters:
        value - allowed object is String
      • isSetCollection

        public boolean isSetCollection()
      • getLibrary

        public String getLibrary()
        Gets the value of the library property.
        Returns:
        possible object is String
      • setLibrary

        public void setLibrary​(String value)
        Sets the value of the library property.
        Parameters:
        value - allowed object is String
      • isSetLibrary

        public boolean isSetLibrary()
      • getStorage

        public String getStorage()
        Gets the value of the storage property.
        Returns:
        possible object is String
      • setStorage

        public void setStorage​(String value)
        Sets the value of the storage property.
        Parameters:
        value - allowed object is String
      • isSetStorage

        public boolean isSetStorage()
      • getStorageGroup

        public String getStorageGroup()
        Gets the value of the storageGroup property.
        Returns:
        possible object is String
      • setStorageGroup

        public void setStorageGroup​(String value)
        Sets the value of the storageGroup property.
        Parameters:
        value - allowed object is String
      • isSetStorageGroup

        public boolean isSetStorageGroup()
      • getTag

        public String getTag()
        Gets the value of the tag property.
        Returns:
        possible object is String
      • setTag

        public void setTag​(String value)
        Sets the value of the tag property.
        Parameters:
        value - allowed object is String
      • isSetTag

        public boolean isSetTag()
      • getResource

        public List<QuotaRuleType.Resource> getResource()
        Gets the value of the resource 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 resource property.

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

            getResource().add(newItem);
         

        Objects of the following type(s) are allowed in the list QuotaRuleType.Resource

      • isSetResource

        public boolean isSetResource()
      • unsetResource

        public void unsetResource()
      • getUpdateFrequency

        public Integer getUpdateFrequency()
        Gets the value of the updateFrequency property.
        Returns:
        possible object is Integer
      • setUpdateFrequency

        public void setUpdateFrequency​(Integer value)
        Sets the value of the updateFrequency property.
        Parameters:
        value - allowed object is Integer
      • isSetUpdateFrequency

        public boolean isSetUpdateFrequency()
      • isSetLastUpdate

        public boolean isSetLastUpdate()
      • getExternalId

        public List<ExternalIdentifierType> getExternalId()
        Gets the value of the externalId 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 externalId property.

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

            getExternalId().add(newItem);
         

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

      • isSetExternalId

        public boolean isSetExternalId()
      • unsetExternalId

        public void unsetExternalId()
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • copyTo

        public Object copyTo​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • visit

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

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object