Class 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
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Java class for anonymous complex typestatic class
Java class for anonymous complex typestatic class
Java class for anonymous complex typestatic class
Java class for anonymous complex typestatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StorageRuleType.AppliesTo
protected String
protected Boolean
protected StorageRuleType.Not
protected StorageRuleType.Pool
protected String
protected List<StorageRuleType.Priority>
protected BigInteger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields
(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()
copyTo
(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) boolean
boolean
equals
(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) Gets the value of the appliesTo property.getGroup()
Gets the value of the group property.getId()
Gets the value of the id property.getNot()
Gets the value of the not property.getPool()
Gets the value of the pool property.Gets the value of the precedence property.Gets the value of the priority property.Gets the value of the storage property.Gets the value of the storageCount property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) Gets the value of the inherited property.boolean
boolean
boolean
isSetId()
boolean
boolean
isSetNot()
boolean
boolean
boolean
boolean
boolean
void
Sets the value of the appliesTo property.void
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.toString()
void
void
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) Sets the value of the appliesTo property.Adds objects to the list of Group using add methodwithGroup
(Collection<String> values) Adds objects to the list of Group using addAll methodSets the value of the id property.withInherited
(Boolean value) Sets the value of the inherited property.withNot
(StorageRuleType.Not value) Sets the value of the not property.withPool
(StorageRuleType.Pool value) Sets the value of the pool property.withPrecedence
(String value) Sets the value of the precedence property.withPriority
(StorageRuleType.Priority... values) Adds objects to the list of Priority using add methodAdds objects to the list of Priority using addAll methodwithStorage
(String... values) Adds objects to the list of Storage using add methodwithStorage
(Collection<String> values) Adds objects to the list of Storage using addAll methodwithStorageCount
(BigInteger value) Sets the value of the storageCount property.
-
Field Details
-
storageCount
-
priority
-
inherited
-
storage
-
group
-
not
-
pool
-
appliesTo
-
precedence
-
id
-
-
Constructor Details
-
StorageRuleType
public StorageRuleType()
-
-
Method Details
-
getStorageCount
Gets the value of the storageCount property.- Returns:
- possible object is
BigInteger
-
setStorageCount
Sets the value of the storageCount property.- Parameters:
value
- allowed object isBigInteger
-
isSetStorageCount
public boolean isSetStorageCount() -
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
Gets the value of the inherited property.- Returns:
- possible object is
Boolean
-
setInherited
Sets the value of the inherited property.- Parameters:
value
- allowed object isBoolean
-
isSetInherited
public boolean isSetInherited() -
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
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
Gets the value of the not property.- Returns:
- possible object is
StorageRuleType.Not
-
setNot
Sets the value of the not property.- Parameters:
value
- allowed object isStorageRuleType.Not
-
isSetNot
public boolean isSetNot() -
getPool
Gets the value of the pool property.- Returns:
- possible object is
StorageRuleType.Pool
-
setPool
Sets the value of the pool property.- Parameters:
value
- allowed object isStorageRuleType.Pool
-
isSetPool
public boolean isSetPool() -
getAppliesTo
Gets the value of the appliesTo property.- Returns:
- possible object is
StorageRuleType.AppliesTo
-
setAppliesTo
Sets the value of the appliesTo property.- Parameters:
value
- allowed object isStorageRuleType.AppliesTo
-
isSetAppliesTo
public boolean isSetAppliesTo() -
getPrecedence
Gets the value of the precedence property.- Returns:
- possible object is
String
-
setPrecedence
Sets the value of the precedence property.- Parameters:
value
- allowed object isString
-
isSetPrecedence
public boolean isSetPrecedence() -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
isSetId
public boolean isSetId() -
clone
-
copyTo
- Specified by:
copyTo
in interfaceorg.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 interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
withStorageCount
Sets the value of the storageCount property.- Parameters:
value
- allowed object isBigInteger
- Returns:
- The class instance
-
withPriority
Adds objects to the list of Priority using add method- Parameters:
values
- objects to add to the list Priority- Returns:
- The class instance
-
withPriority
Adds objects to the list of Priority using addAll method- Parameters:
values
- objects to add to the list Priority- Returns:
- The class instance
-
withInherited
Sets the value of the inherited property.- Parameters:
value
- allowed object isBoolean
- Returns:
- The class instance
-
withStorage
Adds objects to the list of Storage using add method- Parameters:
values
- objects to add to the list Storage- Returns:
- The class instance
-
withStorage
Adds objects to the list of Storage using addAll method- Parameters:
values
- objects to add to the list Storage- Returns:
- The class instance
-
withGroup
Adds objects to the list of Group using add method- Parameters:
values
- objects to add to the list Group- Returns:
- The class instance
-
withGroup
Adds objects to the list of Group using addAll method- Parameters:
values
- objects to add to the list Group- Returns:
- The class instance
-
withNot
Sets the value of the not property.- Parameters:
value
- allowed object isStorageRuleType.Not
- Returns:
- The class instance
-
withPool
Sets the value of the pool property.- Parameters:
value
- allowed object isStorageRuleType.Pool
- Returns:
- The class instance
-
withAppliesTo
Sets the value of the appliesTo property.- Parameters:
value
- allowed object isStorageRuleType.AppliesTo
- Returns:
- The class instance
-
withPrecedence
Sets the value of the precedence property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withId
Sets the value of the id property.- Parameters:
value
- allowed object isString
- 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 interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCode
in interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
append
in interfaceorg.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 interfaceorg.jvnet.jaxb.lang.ToString
-