Class StorageRuleType

java.lang.Object
com.vidispine.generated.StorageRuleType
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 StorageRuleType 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 StorageRuleType complex type

.

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


 <complexType name="StorageRuleType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="storageCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
         <element name="priority" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://xml.vidispine.com/schema/vidispine>StorageCriteriaType">
                 <attribute name="level" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="inherited" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="storage" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="not" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="storage" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="any" type="{http://xml.vidispine.com/schema/vidispine}EmptyString" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="pool" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="storage" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="group" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="appliesTo" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="precedence" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • StorageRuleType

      public StorageRuleType()
  • Method Details

    • getStorageCount

      public BigInteger getStorageCount()
      Gets the value of the storageCount property.
      Returns:
      possible object is BigInteger
    • setStorageCount

      public void setStorageCount(BigInteger value)
      Sets the value of the storageCount property.
      Parameters:
      value - allowed object is BigInteger
    • isSetStorageCount

      public boolean isSetStorageCount()
    • getPriority

      public List<StorageRuleType.Priority> getPriority()
      Gets the value of the priority 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 priority property.

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

       getPriority().add(newItem);
       

      Objects of the following type(s) are allowed in the list StorageRuleType.Priority

      Returns:
      The value of the priority property.
    • isSetPriority

      public boolean isSetPriority()
    • unsetPriority

      public void unsetPriority()
    • isInherited

      public Boolean isInherited()
      Gets the value of the inherited property.
      Returns:
      possible object is Boolean
    • setInherited

      public void setInherited(Boolean value)
      Sets the value of the inherited property.
      Parameters:
      value - allowed object is Boolean
    • isSetInherited

      public boolean isSetInherited()
    • getStorage

      public List<String> getStorage()
      Gets the value of the storage 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 storage property.

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

       getStorage().add(newItem);
       

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

      Returns:
      The value of the storage property.
    • isSetStorage

      public boolean isSetStorage()
    • unsetStorage

      public void unsetStorage()
    • getGroup

      public List<String> getGroup()
      Gets the value of the group 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 group property.

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

       getGroup().add(newItem);
       

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

      Returns:
      The value of the group property.
    • isSetGroup

      public boolean isSetGroup()
    • unsetGroup

      public void unsetGroup()
    • getNot

      public StorageRuleType.Not getNot()
      Gets the value of the not property.
      Returns:
      possible object is StorageRuleType.Not
    • setNot

      public void setNot(StorageRuleType.Not value)
      Sets the value of the not property.
      Parameters:
      value - allowed object is StorageRuleType.Not
    • isSetNot

      public boolean isSetNot()
    • getPool

      public StorageRuleType.Pool getPool()
      Gets the value of the pool property.
      Returns:
      possible object is StorageRuleType.Pool
    • setPool

      public void setPool(StorageRuleType.Pool value)
      Sets the value of the pool property.
      Parameters:
      value - allowed object is StorageRuleType.Pool
    • isSetPool

      public boolean isSetPool()
    • getAppliesTo

      public StorageRuleType.AppliesTo getAppliesTo()
      Gets the value of the appliesTo property.
      Returns:
      possible object is StorageRuleType.AppliesTo
    • setAppliesTo

      public void setAppliesTo(StorageRuleType.AppliesTo value)
      Sets the value of the appliesTo property.
      Parameters:
      value - allowed object is StorageRuleType.AppliesTo
    • isSetAppliesTo

      public boolean isSetAppliesTo()
    • getPrecedence

      public String getPrecedence()
      Gets the value of the precedence property.
      Returns:
      possible object is String
    • setPrecedence

      public void setPrecedence(String value)
      Sets the value of the precedence property.
      Parameters:
      value - allowed object is String
    • isSetPrecedence

      public boolean isSetPrecedence()
    • 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
    • withStorageCount

      public StorageRuleType withStorageCount(BigInteger value)
      Sets the value of the storageCount property.
      Parameters:
      value - allowed object is BigInteger
      Returns:
      The class instance
    • withPriority

      public StorageRuleType withPriority(StorageRuleType.Priority... values)
      Adds objects to the list of Priority using add method
      Parameters:
      values - objects to add to the list Priority
      Returns:
      The class instance
    • withPriority

      public StorageRuleType withPriority(Collection<StorageRuleType.Priority> values)
      Adds objects to the list of Priority using addAll method
      Parameters:
      values - objects to add to the list Priority
      Returns:
      The class instance
    • withInherited

      public StorageRuleType withInherited(Boolean value)
      Sets the value of the inherited property.
      Parameters:
      value - allowed object is Boolean
      Returns:
      The class instance
    • withStorage

      public StorageRuleType withStorage(String... values)
      Adds objects to the list of Storage using add method
      Parameters:
      values - objects to add to the list Storage
      Returns:
      The class instance
    • withStorage

      public StorageRuleType withStorage(Collection<String> values)
      Adds objects to the list of Storage using addAll method
      Parameters:
      values - objects to add to the list Storage
      Returns:
      The class instance
    • withGroup

      public StorageRuleType withGroup(String... values)
      Adds objects to the list of Group using add method
      Parameters:
      values - objects to add to the list Group
      Returns:
      The class instance
    • withGroup

      public StorageRuleType withGroup(Collection<String> values)
      Adds objects to the list of Group using addAll method
      Parameters:
      values - objects to add to the list Group
      Returns:
      The class instance
    • withNot

      public StorageRuleType withNot(StorageRuleType.Not value)
      Sets the value of the not property.
      Parameters:
      value - allowed object is StorageRuleType.Not
      Returns:
      The class instance
    • withPool

      public StorageRuleType withPool(StorageRuleType.Pool value)
      Sets the value of the pool property.
      Parameters:
      value - allowed object is StorageRuleType.Pool
      Returns:
      The class instance
    • withAppliesTo

      public StorageRuleType withAppliesTo(StorageRuleType.AppliesTo value)
      Sets the value of the appliesTo property.
      Parameters:
      value - allowed object is StorageRuleType.AppliesTo
      Returns:
      The class instance
    • withPrecedence

      public StorageRuleType withPrecedence(String value)
      Sets the value of the precedence property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withId

      public StorageRuleType 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 StorageRuleType 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