public class ComponentType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for ComponentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ComponentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="file" type="{http://xml.vidispine.com/schema/vidispine}FileType" maxOccurs="unbounded" minOccurs="0"/>
<element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/>
<element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}KeyValuePairType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<FileType> |
file |
protected String |
id |
protected List<KeyValuePairType> |
metadata |
| Constructor and Description |
|---|
ComponentType() |
| 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<FileType> |
getFile()
Gets the value of the file property.
|
String |
getId()
Gets the value of the id property.
|
List<KeyValuePairType> |
getMetadata()
Gets the value of the metadata property.
|
boolean |
isSetFile() |
boolean |
isSetId() |
boolean |
isSetMetadata() |
void |
setId(String value)
Sets the value of the id property.
|
void |
unsetFile() |
void |
unsetMetadata() |
ComponentType |
withFile(Collection<FileType> values) |
ComponentType |
withFile(FileType... values) |
ComponentType |
withId(String value) |
ComponentType |
withMetadata(Collection<KeyValuePairType> values) |
ComponentType |
withMetadata(KeyValuePairType... values) |
protected String id
protected List<KeyValuePairType> metadata
public List<FileType> getFile()
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 file property.
For example, to add a new item, do as follows:
getFile().add(newItem);
Objects of the following type(s) are allowed in the list
FileType
public boolean isSetFile()
public void unsetFile()
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
public List<KeyValuePairType> getMetadata()
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 metadata property.
For example, to add a new item, do as follows:
getMetadata().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValuePairType
public boolean isSetMetadata()
public void unsetMetadata()
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 ComponentType withFile(FileType... values)
public ComponentType withFile(Collection<FileType> values)
public ComponentType withId(String value)
public ComponentType withMetadata(KeyValuePairType... values)
public ComponentType withMetadata(Collection<KeyValuePairType> values)
Copyright © 2015. All rights reserved.