public class StorageGroupType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for StorageGroupType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StorageGroupType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="data" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="storage" type="{http://xml.vidispine.com/schema/vidispine}StorageType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
StorageGroupType.Data
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<StorageGroupType.Data> |
data |
protected String |
name |
protected List<StorageType> |
storage |
| Constructor and Description |
|---|
StorageGroupType() |
| 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() |
List<StorageGroupType.Data> |
getData()
Gets the value of the data property.
|
String |
getName()
Gets the value of the name property.
|
List<StorageType> |
getStorage()
Gets the value of the storage property.
|
boolean |
isSetData() |
boolean |
isSetName() |
boolean |
isSetStorage() |
void |
setName(String value)
Sets the value of the name property.
|
void |
unsetData() |
void |
unsetStorage() |
StorageGroupType |
withData(Collection<StorageGroupType.Data> values) |
StorageGroupType |
withData(StorageGroupType.Data... values) |
StorageGroupType |
withName(String value) |
StorageGroupType |
withStorage(Collection<StorageType> values) |
StorageGroupType |
withStorage(StorageType... values) |
protected String name
protected List<StorageGroupType.Data> data
protected List<StorageType> storage
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public List<StorageGroupType.Data> getData()
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 data property.
For example, to add a new item, do as follows:
getData().add(newItem);
Objects of the following type(s) are allowed in the list
StorageGroupType.Data
public boolean isSetData()
public void unsetData()
public List<StorageType> getStorage()
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 storage property.
For example, to add a new item, do as follows:
getStorage().add(newItem);
Objects of the following type(s) are allowed in the list
StorageType
public boolean isSetStorage()
public void unsetStorage()
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 StorageGroupType withName(String value)
public StorageGroupType withData(StorageGroupType.Data... values)
public StorageGroupType withData(Collection<StorageGroupType.Data> values)
public StorageGroupType withStorage(StorageType... values)
public StorageGroupType withStorage(Collection<StorageType> values)
Copyright © 2015. All rights reserved.