public class StorageRulesType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for StorageRulesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StorageRulesType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="default" type="{http://xml.vidispine.com/schema/vidispine}StorageRuleType" minOccurs="0"/>
<element name="tag" type="{http://xml.vidispine.com/schema/vidispine}StorageRuleType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected StorageRuleType |
_default |
protected List<StorageRuleType> |
tag |
| Constructor and Description |
|---|
StorageRulesType() |
| 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() |
StorageRuleType |
getDefault()
Gets the value of the default property.
|
List<StorageRuleType> |
getTag()
Gets the value of the tag property.
|
boolean |
isSetDefault() |
boolean |
isSetTag() |
void |
setDefault(StorageRuleType value)
Sets the value of the default property.
|
void |
unsetTag() |
StorageRulesType |
withDefault(StorageRuleType value) |
StorageRulesType |
withTag(Collection<StorageRuleType> values) |
StorageRulesType |
withTag(StorageRuleType... values) |
protected StorageRuleType _default
protected List<StorageRuleType> tag
public StorageRuleType getDefault()
StorageRuleTypepublic void setDefault(StorageRuleType value)
value - allowed object is
StorageRuleTypepublic boolean isSetDefault()
public List<StorageRuleType> getTag()
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 tag property.
For example, to add a new item, do as follows:
getTag().add(newItem);
Objects of the following type(s) are allowed in the list
StorageRuleType
public boolean isSetTag()
public void unsetTag()
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 StorageRulesType withDefault(StorageRuleType value)
public StorageRulesType withTag(StorageRuleType... values)
public StorageRulesType withTag(Collection<StorageRuleType> values)
Copyright © 2015. All rights reserved.