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() |
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
String
public 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.CopyTo
public 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.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
Copyright © 2015. All rights reserved.