Class QuotaRuleType
- java.lang.Object
-
- com.vidispine.generated.QuotaRuleType
-
- 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 QuotaRuleType 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 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuotaRuleType.PropInfo
static class
QuotaRuleType.Resource
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description QuotaRuleType()
-
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)
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.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
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
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
QuotaRuleType
withCollection(String value)
QuotaRuleType
withDescription(String value)
QuotaRuleType
withExternalId(ExternalIdentifierType... values)
QuotaRuleType
withExternalId(Collection<ExternalIdentifierType> values)
QuotaRuleType
withGroup(String value)
QuotaRuleType
withId(String value)
QuotaRuleType
withLastUpdate(XMLGregorianCalendar value)
QuotaRuleType
withLibrary(String value)
QuotaRuleType
withResource(QuotaRuleType.Resource... values)
QuotaRuleType
withResource(Collection<QuotaRuleType.Resource> values)
QuotaRuleType
withStorage(String value)
QuotaRuleType
withStorageGroup(String value)
QuotaRuleType
withTag(String value)
QuotaRuleType
withUpdateFrequency(Integer value)
QuotaRuleType
withUser(String value)
-
-
-
Field Detail
-
id
protected String id
-
description
protected String description
-
user
protected String user
-
group
protected String group
-
collection
protected String collection
-
library
protected String library
-
storage
protected String storage
-
storageGroup
protected String storageGroup
-
tag
protected String tag
-
resource
protected List<QuotaRuleType.Resource> resource
-
updateFrequency
protected Integer updateFrequency
-
lastUpdate
protected XMLGregorianCalendar lastUpdate
-
externalId
protected List<ExternalIdentifierType> externalId
-
-
Method Detail
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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
-
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 isInteger
-
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 isXMLGregorianCalendar
-
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
-
isSetExternalId
public boolean isSetExternalId()
-
unsetExternalId
public void unsetExternalId()
-
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
-
withId
public QuotaRuleType withId(String value)
-
withDescription
public QuotaRuleType withDescription(String value)
-
withUser
public QuotaRuleType withUser(String value)
-
withGroup
public QuotaRuleType withGroup(String value)
-
withCollection
public QuotaRuleType withCollection(String value)
-
withLibrary
public QuotaRuleType withLibrary(String value)
-
withStorage
public QuotaRuleType withStorage(String value)
-
withStorageGroup
public QuotaRuleType withStorageGroup(String value)
-
withTag
public QuotaRuleType withTag(String value)
-
withResource
public QuotaRuleType withResource(QuotaRuleType.Resource... values)
-
withResource
public QuotaRuleType withResource(Collection<QuotaRuleType.Resource> values)
-
withUpdateFrequency
public QuotaRuleType withUpdateFrequency(Integer value)
-
withLastUpdate
public QuotaRuleType withLastUpdate(XMLGregorianCalendar value)
-
withExternalId
public QuotaRuleType withExternalId(ExternalIdentifierType... values)
-
withExternalId
public QuotaRuleType withExternalId(Collection<ExternalIdentifierType> values)
-
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 QuotaRuleType 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
-
-