Class StorageRuleType
- java.lang.Object
-
- com.vidispine.generated.StorageRuleType
-
- 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 StorageRuleType 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 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StorageRuleType.AppliesTo
Java class for anonymous complex type.static class
StorageRuleType.Not
Java class for anonymous complex type.static class
StorageRuleType.Pool
Java class for anonymous complex type.static class
StorageRuleType.Priority
Java class for anonymous complex type.static class
StorageRuleType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected StorageRuleType.AppliesTo
appliesTo
protected List<String>
group
protected String
id
protected Boolean
inherited
protected StorageRuleType.Not
not
protected StorageRuleType.Pool
pool
protected String
precedence
protected List<StorageRuleType.Priority>
priority
protected List<String>
storage
protected BigInteger
storageCount
-
Constructor Summary
Constructors Constructor Description StorageRuleType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Object
createNewInstance()
boolean
equals(Object object)
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)
StorageRuleType.AppliesTo
getAppliesTo()
Gets the value of the appliesTo property.List<String>
getGroup()
Gets the value of the group property.String
getId()
Gets the value of the id property.StorageRuleType.Not
getNot()
Gets the value of the not property.StorageRuleType.Pool
getPool()
Gets the value of the pool property.String
getPrecedence()
Gets the value of the precedence property.List<StorageRuleType.Priority>
getPriority()
Gets the value of the priority property.List<String>
getStorage()
Gets the value of the storage property.BigInteger
getStorageCount()
Gets the value of the storageCount property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
Boolean
isInherited()
Gets the value of the inherited property.boolean
isSetAppliesTo()
boolean
isSetGroup()
boolean
isSetId()
boolean
isSetInherited()
boolean
isSetNot()
boolean
isSetPool()
boolean
isSetPrecedence()
boolean
isSetPriority()
boolean
isSetStorage()
boolean
isSetStorageCount()
void
setAppliesTo(StorageRuleType.AppliesTo value)
Sets the value of the appliesTo property.void
setId(String value)
Sets the value of the id property.void
setInherited(Boolean value)
Sets the value of the inherited property.void
setNot(StorageRuleType.Not value)
Sets the value of the not property.void
setPool(StorageRuleType.Pool value)
Sets the value of the pool property.void
setPrecedence(String value)
Sets the value of the precedence property.void
setStorageCount(BigInteger value)
Sets the value of the storageCount property.void
unsetGroup()
void
unsetPriority()
void
unsetStorage()
StorageRuleType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
StorageRuleType
withAppliesTo(StorageRuleType.AppliesTo value)
StorageRuleType
withGroup(String... values)
StorageRuleType
withGroup(Collection<String> values)
StorageRuleType
withId(String value)
StorageRuleType
withInherited(Boolean value)
StorageRuleType
withNot(StorageRuleType.Not value)
StorageRuleType
withPool(StorageRuleType.Pool value)
StorageRuleType
withPrecedence(String value)
StorageRuleType
withPriority(StorageRuleType.Priority... values)
StorageRuleType
withPriority(Collection<StorageRuleType.Priority> values)
StorageRuleType
withStorage(String... values)
StorageRuleType
withStorage(Collection<String> values)
StorageRuleType
withStorageCount(BigInteger value)
-
-
-
Field Detail
-
storageCount
protected BigInteger storageCount
-
priority
protected List<StorageRuleType.Priority> priority
-
inherited
protected Boolean inherited
-
not
protected StorageRuleType.Not not
-
pool
protected StorageRuleType.Pool pool
-
appliesTo
protected StorageRuleType.AppliesTo appliesTo
-
precedence
protected String precedence
-
id
protected String id
-
-
Method Detail
-
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 isBigInteger
-
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
-
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 isBoolean
-
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
-
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
-
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 isStorageRuleType.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 isStorageRuleType.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 isStorageRuleType.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 isString
-
isSetPrecedence
public boolean isSetPrecedence()
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
isSetId
public boolean isSetId()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyTo
in interfaceorg.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 interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withStorageCount
public StorageRuleType withStorageCount(BigInteger value)
-
withPriority
public StorageRuleType withPriority(StorageRuleType.Priority... values)
-
withPriority
public StorageRuleType withPriority(Collection<StorageRuleType.Priority> values)
-
withInherited
public StorageRuleType withInherited(Boolean value)
-
withStorage
public StorageRuleType withStorage(String... values)
-
withStorage
public StorageRuleType withStorage(Collection<String> values)
-
withGroup
public StorageRuleType withGroup(String... values)
-
withGroup
public StorageRuleType withGroup(Collection<String> values)
-
withNot
public StorageRuleType withNot(StorageRuleType.Not value)
-
withPool
public StorageRuleType withPool(StorageRuleType.Pool value)
-
withAppliesTo
public StorageRuleType withAppliesTo(StorageRuleType.AppliesTo value)
-
withPrecedence
public StorageRuleType withPrecedence(String value)
-
withId
public StorageRuleType withId(String value)
-
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 interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public StorageRuleType 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 interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-