Class QuotaRuleType

java.lang.Object
com.vidispine.generated.QuotaRuleType
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 QuotaRuleType 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 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:
  • Field Details

  • Constructor Details

    • QuotaRuleType

      public QuotaRuleType()
  • Method Details

    • 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

      Returns:
      The value of the resource property.
    • 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()
    • getLastUpdate

      public XMLGregorianCalendar getLastUpdate()
      Gets the value of the lastUpdate property.
      Returns:
      possible object is XMLGregorianCalendar
    • setLastUpdate

      public void setLastUpdate(XMLGregorianCalendar value)
      Sets the value of the lastUpdate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • 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

      Returns:
      The value of the externalId property.
    • isSetExternalId

      public boolean isSetExternalId()
    • unsetExternalId

      public void unsetExternalId()
    • 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
    • withId

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

      public QuotaRuleType withDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withUser

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

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

      public QuotaRuleType withCollection(String value)
      Sets the value of the collection property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withLibrary

      public QuotaRuleType withLibrary(String value)
      Sets the value of the library property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withStorage

      public QuotaRuleType withStorage(String value)
      Sets the value of the storage property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withStorageGroup

      public QuotaRuleType withStorageGroup(String value)
      Sets the value of the storageGroup property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withTag

      public QuotaRuleType withTag(String value)
      Sets the value of the tag property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withResource

      public QuotaRuleType withResource(QuotaRuleType.Resource... values)
      Adds objects to the list of Resource using add method
      Parameters:
      values - objects to add to the list Resource
      Returns:
      The class instance
    • withResource

      public QuotaRuleType withResource(Collection<QuotaRuleType.Resource> values)
      Adds objects to the list of Resource using addAll method
      Parameters:
      values - objects to add to the list Resource
      Returns:
      The class instance
    • withUpdateFrequency

      public QuotaRuleType withUpdateFrequency(Integer value)
      Sets the value of the updateFrequency property.
      Parameters:
      value - allowed object is Integer
      Returns:
      The class instance
    • withLastUpdate

      public QuotaRuleType withLastUpdate(XMLGregorianCalendar value)
      Sets the value of the lastUpdate property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      Returns:
      The class instance
    • withExternalId

      public QuotaRuleType withExternalId(ExternalIdentifierType... values)
      Adds objects to the list of ExternalId using add method
      Parameters:
      values - objects to add to the list ExternalId
      Returns:
      The class instance
    • withExternalId

      public QuotaRuleType withExternalId(Collection<ExternalIdentifierType> values)
      Adds objects to the list of ExternalId using addAll method
      Parameters:
      values - objects to add to the list ExternalId
      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 QuotaRuleType 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