public static class QuotaRuleType.Resource extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<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>
| Modifier and Type | Field and Description |
|---|---|
protected long |
limit |
protected QuotaResourceType |
name |
protected Long |
usage |
| Constructor and Description |
|---|
QuotaRuleType.Resource() |
| 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() |
long |
getLimit()
Gets the value of the limit property.
|
QuotaResourceType |
getName()
Gets the value of the name property.
|
Long |
getUsage()
Gets the value of the usage property.
|
boolean |
isSetLimit() |
boolean |
isSetName() |
boolean |
isSetUsage() |
void |
setLimit(long value)
Sets the value of the limit property.
|
void |
setName(QuotaResourceType value)
Sets the value of the name property.
|
void |
setUsage(Long value)
Sets the value of the usage property.
|
QuotaRuleType.Resource |
withLimit(long value) |
QuotaRuleType.Resource |
withName(QuotaResourceType value) |
QuotaRuleType.Resource |
withUsage(Long value) |
protected QuotaResourceType name
protected long limit
protected Long usage
public QuotaResourceType getName()
QuotaResourceTypepublic void setName(QuotaResourceType value)
value - allowed object is
QuotaResourceTypepublic boolean isSetName()
public long getLimit()
public void setLimit(long value)
public boolean isSetLimit()
public Long getUsage()
Longpublic void setUsage(Long value)
value - allowed object is
Longpublic boolean isSetUsage()
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.Resource withName(QuotaResourceType value)
public QuotaRuleType.Resource withLimit(long value)
public QuotaRuleType.Resource withUsage(Long value)
Copyright © 2015. All rights reserved.