Class QuotaRuleType
- 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 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Java class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected List<ExternalIdentifierType>
protected String
protected String
protected XMLGregorianCalendar
protected String
protected List<QuotaRuleType.Resource>
protected String
protected String
protected String
protected Integer
protected String
-
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 collection property.Gets the value of the description property.Gets the value of the externalId property.getGroup()
Gets the value of the group property.getId()
Gets the value of the id property.Gets the value of the lastUpdate property.Gets the value of the library property.Gets the value of the resource property.Gets the value of the storage property.Gets the value of the storageGroup property.getTag()
Gets the value of the tag property.Gets the value of the updateFrequency property.getUser()
Gets the value of the user property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
boolean
boolean
boolean
isSetId()
boolean
boolean
boolean
boolean
boolean
boolean
isSetTag()
boolean
boolean
void
setCollection
(String value) Sets the value of the collection property.void
setDescription
(String value) Sets the value of the description property.void
Sets the value of the group property.void
Sets the value of the id property.void
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
Sets the value of the tag property.void
setUpdateFrequency
(Integer value) Sets the value of the updateFrequency property.void
Sets the value of the user property.toString()
void
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) withCollection
(String value) Sets the value of the collection property.withDescription
(String value) Sets the value of the description property.withExternalId
(ExternalIdentifierType... values) Adds objects to the list of ExternalId using add methodAdds objects to the list of ExternalId using addAll methodSets the value of the group property.Sets the value of the id property.Sets the value of the lastUpdate property.withLibrary
(String value) Sets the value of the library property.withResource
(QuotaRuleType.Resource... values) Adds objects to the list of Resource using add methodwithResource
(Collection<QuotaRuleType.Resource> values) Adds objects to the list of Resource using addAll methodwithStorage
(String value) Sets the value of the storage property.withStorageGroup
(String value) Sets the value of the storageGroup property.Sets the value of the tag property.withUpdateFrequency
(Integer value) Sets the value of the updateFrequency property.Sets the value of the user property.
-
Field Details
-
id
-
description
-
user
-
group
-
collection
-
library
-
storage
-
storageGroup
-
tag
-
resource
-
updateFrequency
-
lastUpdate
-
externalId
-
-
Constructor Details
-
QuotaRuleType
public QuotaRuleType()
-
-
Method Details
-
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() -
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value
- allowed object isString
-
isSetDescription
public boolean isSetDescription() -
getUser
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
Sets the value of the user property.- Parameters:
value
- allowed object isString
-
isSetUser
public boolean isSetUser() -
getGroup
Gets the value of the group property.- Returns:
- possible object is
String
-
setGroup
Sets the value of the group property.- Parameters:
value
- allowed object isString
-
isSetGroup
public boolean isSetGroup() -
getCollection
Gets the value of the collection property.- Returns:
- possible object is
String
-
setCollection
Sets the value of the collection property.- Parameters:
value
- allowed object isString
-
isSetCollection
public boolean isSetCollection() -
getLibrary
Gets the value of the library property.- Returns:
- possible object is
String
-
setLibrary
Sets the value of the library property.- Parameters:
value
- allowed object isString
-
isSetLibrary
public boolean isSetLibrary() -
getStorage
Gets the value of the storage property.- Returns:
- possible object is
String
-
setStorage
Sets the value of the storage property.- Parameters:
value
- allowed object isString
-
isSetStorage
public boolean isSetStorage() -
getStorageGroup
Gets the value of the storageGroup property.- Returns:
- possible object is
String
-
setStorageGroup
Sets the value of the storageGroup property.- Parameters:
value
- allowed object isString
-
isSetStorageGroup
public boolean isSetStorageGroup() -
getTag
Gets the value of the tag property.- Returns:
- possible object is
String
-
setTag
Sets the value of the tag property.- Parameters:
value
- allowed object isString
-
isSetTag
public boolean isSetTag() -
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
- Returns:
- The value of the resource property.
-
isSetResource
public boolean isSetResource() -
unsetResource
public void unsetResource() -
getUpdateFrequency
Gets the value of the updateFrequency property.- Returns:
- possible object is
Integer
-
setUpdateFrequency
Sets the value of the updateFrequency property.- Parameters:
value
- allowed object isInteger
-
isSetUpdateFrequency
public boolean isSetUpdateFrequency() -
getLastUpdate
Gets the value of the lastUpdate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setLastUpdate
Sets the value of the lastUpdate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
isSetLastUpdate
public boolean isSetLastUpdate() -
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
- Returns:
- The value of the externalId property.
-
isSetExternalId
public boolean isSetExternalId() -
unsetExternalId
public void unsetExternalId() -
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
-
withId
Sets the value of the id property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withDescription
Sets the value of the description property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withUser
Sets the value of the user property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withGroup
Sets the value of the group property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withCollection
Sets the value of the collection property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withLibrary
Sets the value of the library property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withStorage
Sets the value of the storage property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withStorageGroup
Sets the value of the storageGroup property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withTag
Sets the value of the tag property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withResource
Adds objects to the list of Resource using add method- Parameters:
values
- objects to add to the list Resource- Returns:
- The class instance
-
withResource
Adds objects to the list of Resource using addAll method- Parameters:
values
- objects to add to the list Resource- Returns:
- The class instance
-
withUpdateFrequency
Sets the value of the updateFrequency property.- Parameters:
value
- allowed object isInteger
- Returns:
- The class instance
-
withLastUpdate
Sets the value of the lastUpdate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
- Returns:
- The class instance
-
withExternalId
Adds objects to the list of ExternalId using add method- Parameters:
values
- objects to add to the list ExternalId- Returns:
- The class instance
-
withExternalId
Adds objects to the list of ExternalId using addAll method- Parameters:
values
- objects to add to the list ExternalId- 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
-