public class QuotaRuleType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
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>
| Modifier and Type | Class and Description |
|---|---|
static class |
QuotaRuleType.Resource
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
collection |
protected String |
description |
protected List<ExternalIdentifierType> |
externalId |
protected String |
group |
protected String |
id |
protected XMLGregorianCalendar |
lastUpdate |
protected String |
library |
protected List<QuotaRuleType.Resource> |
resource |
protected String |
storage |
protected String |
storageGroup |
protected String |
tag |
protected Integer |
updateFrequency |
protected String |
user |
| Constructor and Description |
|---|
QuotaRuleType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
String |
getCollection()
Gets the value of the collection property.
|
String |
getDescription()
Gets the value of the description property.
|
List<ExternalIdentifierType> |
getExternalId()
Gets the value of the externalId property.
|
String |
getGroup()
Gets the value of the group property.
|
String |
getId()
Gets the value of the id property.
|
XMLGregorianCalendar |
getLastUpdate()
Gets the value of the lastUpdate property.
|
String |
getLibrary()
Gets the value of the library property.
|
List<QuotaRuleType.Resource> |
getResource()
Gets the value of the resource property.
|
String |
getStorage()
Gets the value of the storage property.
|
String |
getStorageGroup()
Gets the value of the storageGroup property.
|
String |
getTag()
Gets the value of the tag property.
|
Integer |
getUpdateFrequency()
Gets the value of the updateFrequency property.
|
String |
getUser()
Gets the value of the user property.
|
boolean |
isSetCollection() |
boolean |
isSetDescription() |
boolean |
isSetExternalId() |
boolean |
isSetGroup() |
boolean |
isSetId() |
boolean |
isSetLastUpdate() |
boolean |
isSetLibrary() |
boolean |
isSetResource() |
boolean |
isSetStorage() |
boolean |
isSetStorageGroup() |
boolean |
isSetTag() |
boolean |
isSetUpdateFrequency() |
boolean |
isSetUser() |
void |
setCollection(String value)
Sets the value of the collection property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setGroup(String value)
Sets the value of the group property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLastUpdate(XMLGregorianCalendar value)
Sets the value of the lastUpdate property.
|
void |
setLibrary(String value)
Sets the value of the library property.
|
void |
setStorage(String value)
Sets the value of the storage property.
|
void |
setStorageGroup(String value)
Sets the value of the storageGroup property.
|
void |
setTag(String value)
Sets the value of the tag property.
|
void |
setUpdateFrequency(Integer value)
Sets the value of the updateFrequency property.
|
void |
setUser(String value)
Sets the value of the user property.
|
void |
unsetExternalId() |
void |
unsetResource() |
QuotaRuleType |
withCollection(String value) |
QuotaRuleType |
withDescription(String value) |
QuotaRuleType |
withExternalId(Collection<ExternalIdentifierType> values) |
QuotaRuleType |
withExternalId(ExternalIdentifierType... values) |
QuotaRuleType |
withGroup(String value) |
QuotaRuleType |
withId(String value) |
QuotaRuleType |
withLastUpdate(XMLGregorianCalendar value) |
QuotaRuleType |
withLibrary(String value) |
QuotaRuleType |
withResource(Collection<QuotaRuleType.Resource> values) |
QuotaRuleType |
withResource(QuotaRuleType.Resource... values) |
QuotaRuleType |
withStorage(String value) |
QuotaRuleType |
withStorageGroup(String value) |
QuotaRuleType |
withTag(String value) |
QuotaRuleType |
withUpdateFrequency(Integer value) |
QuotaRuleType |
withUser(String value) |
protected String id
protected String description
protected String user
protected String group
protected String collection
protected String library
protected String storage
protected String storageGroup
protected String tag
protected List<QuotaRuleType.Resource> resource
protected Integer updateFrequency
protected XMLGregorianCalendar lastUpdate
protected List<ExternalIdentifierType> externalId
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic boolean isSetDescription()
public String getUser()
Stringpublic void setUser(String value)
value - allowed object is
Stringpublic boolean isSetUser()
public String getGroup()
Stringpublic void setGroup(String value)
value - allowed object is
Stringpublic boolean isSetGroup()
public String getCollection()
Stringpublic void setCollection(String value)
value - allowed object is
Stringpublic boolean isSetCollection()
public String getLibrary()
Stringpublic void setLibrary(String value)
value - allowed object is
Stringpublic boolean isSetLibrary()
public String getStorage()
Stringpublic void setStorage(String value)
value - allowed object is
Stringpublic boolean isSetStorage()
public String getStorageGroup()
Stringpublic void setStorageGroup(String value)
value - allowed object is
Stringpublic boolean isSetStorageGroup()
public void setTag(String value)
value - allowed object is
Stringpublic boolean isSetTag()
public List<QuotaRuleType.Resource> getResource()
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
public boolean isSetResource()
public void unsetResource()
public Integer getUpdateFrequency()
Integerpublic void setUpdateFrequency(Integer value)
value - allowed object is
Integerpublic boolean isSetUpdateFrequency()
public XMLGregorianCalendar getLastUpdate()
XMLGregorianCalendarpublic void setLastUpdate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic boolean isSetLastUpdate()
public List<ExternalIdentifierType> getExternalId()
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
public boolean isSetExternalId()
public void unsetExternalId()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic QuotaRuleType withId(String value)
public QuotaRuleType withDescription(String value)
public QuotaRuleType withUser(String value)
public QuotaRuleType withGroup(String value)
public QuotaRuleType withCollection(String value)
public QuotaRuleType withLibrary(String value)
public QuotaRuleType withStorage(String value)
public QuotaRuleType withStorageGroup(String value)
public QuotaRuleType withTag(String value)
public QuotaRuleType withResource(QuotaRuleType.Resource... values)
public QuotaRuleType withResource(Collection<QuotaRuleType.Resource> values)
public QuotaRuleType withUpdateFrequency(Integer value)
public QuotaRuleType withLastUpdate(XMLGregorianCalendar value)
public QuotaRuleType withExternalId(ExternalIdentifierType... values)
public QuotaRuleType withExternalId(Collection<ExternalIdentifierType> values)
Copyright © 2015. All rights reserved.